Skip to content

Using at.exit to allow multiple scenario execution #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ Background:
Scenario: Search for a term
When I type in "BrowserStack"
Then I should see results

Scenario: Confirm if term still exists
Then I should see results
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
After do
at_exit do
$driver.quit if $driver
if $bs_local
$bs_local.stop
Expand Down
3 changes: 3 additions & 0 deletions ios/examples/run-parallel-tests/features/distinct.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ Background:
Scenario: Type a term
When I type in "hello@browserstack.com" in the Text Input field
Then I should get the entered text in the Text Output field

Scenario: Entered text should persist untill otherwise
Then I should get the entered text in the Text Output field
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
After do
at_exit do
$driver.quit if $driver
if $bs_local
$bs_local.stop
Expand Down