2023-04-27 15:20:13 +05:45
|
|
|
Feature: get robots.txt
|
|
|
|
|
As a user
|
2023-05-03 10:35:48 +05:45
|
|
|
I want to get file robots.txt
|
2023-04-27 15:20:13 +05:45
|
|
|
So that I can check its content
|
2023-01-02 17:26:54 +05:45
|
|
|
|
2023-03-31 17:20:30 +05:45
|
|
|
@issue-1314
|
2023-01-02 17:26:54 +05:45
|
|
|
Scenario: robots.txt file should be accessible
|
|
|
|
|
When a user requests "/robots.txt" with "GET" and no authentication
|
|
|
|
|
Then the HTTP status code should be "200"
|
|
|
|
|
And the content in the response should match the following content:
|
|
|
|
|
"""
|
|
|
|
|
User-agent: *
|
|
|
|
|
Disallow: /
|
|
|
|
|
|
|
|
|
|
"""
|