-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…3678) * fix #3571; return correct status code for waitForElementNotPresent * --------- Co-authored-by: Harshit Agrawal <harshit.a@browserstack.com> Co-authored-by: Harshit Agrawal <94462364+harshit-bs@users.noreply.github.com> Co-authored-by: Binayak Ghosh <ghoshbinayak@gmail.com> * update tests * Revert "Feat/rerun (#3703)" This reverts commit 020601e. * revert and skip hasAttribute test * refactor tests --------- Co-authored-by: Prudhvi <prudhvi@browserstack.com> Co-authored-by: Harshit Agrawal <harshit.a@browserstack.com> Co-authored-by: Harshit Agrawal <94462364+harshit-bs@users.noreply.github.com>
- Loading branch information
1 parent
456af87
commit a928f65
Showing
6 changed files
with
65 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
before(client) { | ||
client.globals.calls++; | ||
}, | ||
|
||
demoTest(client) { | ||
client.url('http://localhost') | ||
.waitForElementNotPresent('#badElement') | ||
.waitForElementNotPresent('#weblogin') | ||
.end(); | ||
}, | ||
|
||
after(client, callback) { | ||
client.globals.calls++; | ||
callback(); | ||
} | ||
}; | ||
|
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