Files
opencloud/tests/acceptance/features/coreApiMain/main.feature
Swikriti Tripathi 7a195eaf46 Address reviews
2023-05-03 10:36:31 +05:45

17 lines
420 B
Gherkin

@api
Feature: get robots.txt
As a user
I want to get file robots.txt
So that I can check its content
@issue-1314
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: /
"""