Files

15 lines
415 B
Gherkin
Raw Permalink Normal View History

Feature: get robots.txt
As a user
2023-05-03 10:35:48 +05:45
I want to get file robots.txt
So that I can check its content
2023-01-02 17:26:54 +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: /
"""