-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[plugin-web-app] Add step to close browser (#3825)
- Loading branch information
Showing
5 changed files
with
51 additions
and
9 deletions.
There are no files selected for viewing
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
12 changes: 12 additions & 0 deletions
12
vividus-tests/src/main/resources/story/integration/BrowserSteps.story
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,12 @@ | ||
Meta: | ||
@epic vividus-plugin-web-app | ||
|
||
Scenario: Step verification "When I close browser" | ||
Given I am on main application page | ||
Given I initialize scenario variable `item-key` with value `#{generate(regexify '[a-z]{10}')}` | ||
Given I initialize scenario variable `item-value` with value `#{generate(regexify '[a-z]{10}')}` | ||
When I set local storage item with key `${item-key}` and value `${item-value}` | ||
When I close browser | ||
Given I am on main application page | ||
When I save local storage item with key `${item-key}` to scenario variable `value-on-new-browser` | ||
Then `${value-on-new-browser:null}` is equal to `null` |