Skip to content

Commit

Permalink
[QOL-9252] use Australian spelling of 'authorised' in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Aug 22, 2022
1 parent e630682 commit fd7cf7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/features/datarequest.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ Feature: Data Request
Given "CKANUser" as the persona
When I log in
And I go to "/user/datarequest/admin"
Then I should see an element with xpath "//*[contains(string(), 'Not authorized to see this page')]"
Then I should see an element with xpath "//*[contains(string(), 'Not authorised to see this page')]"

@unauthenticated
Scenario: User's data request page is not accessible anonymously
Given "Unauthenticated" as the persona
When I go to "/user/datarequest/admin"
Then I should see an element with xpath "//*[contains(string(), 'Not authorized to see this page')]"
Then I should see an element with xpath "//*[contains(string(), 'Not authorised to see this page')]"

@unauthenticated
Scenario: When visiting the datarequests page as a non-logged in user, the 'Add data request' button is not visible
Expand Down

0 comments on commit fd7cf7b

Please sign in to comment.