forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Behat] Add scenarios for securing access to account and dashboard af…
…ter logging out
- Loading branch information
Showing
12 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...omer_account/securing_access_to_account_after_using_back_button_after_logging_out.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@customer_account | ||
Feature: Securing access to the account after using the back button after logging out | ||
In order to have my personal information secured | ||
As a Customer | ||
I want to be unable to access to the account by using the back button after logging out | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And I am a logged in customer | ||
And I am browsing my orders | ||
|
||
@ui @javascript @no-api | ||
Scenario: Securing access to the account after using the back button after logging out | ||
When I log out | ||
And I go back one page in the browser | ||
Then I should not see my orders | ||
And I should be on the login page |
17 changes: 17 additions & 0 deletions
17
features/admin/securing_access_to_account_after_using_back_button_after_logging_out.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@admin_dashboard | ||
Feature: Securing access to the administration panel after using the back button after logging out | ||
In order to have administration panel secured | ||
As an Administrator | ||
I want to be unable to access to the administration panel by using the back button after logging out | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And I am logged in as an administrator | ||
And I am on the administration dashboard | ||
|
||
@ui @javascript @no-api | ||
Scenario: Securing access to administration dashboard after using the back button after logging out | ||
When I log out | ||
And I go back one page in the browser | ||
Then I should not see the administration dashboard | ||
And I should be on the login page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters