forked from Synthetixio/synpress
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Interaction to get the value of a certain token (#19)
* feat: added command to get tokens * chore: await/async fixes
- Loading branch information
1 parent
fa21859
commit d49d84e
Showing
6 changed files
with
92 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const tokenNameLabel = tokenName => `:text-is("${tokenName}")`; | ||
const tokenParentSelector = '../../../..'; | ||
const selectAllTokensCheck = 'input[type="checkbox"]:enabled'; | ||
const newTokensFound = 'new token(s) found'; | ||
const addChainsButton = 'Add Chains'; | ||
|
||
module.exports.homePageElements = { | ||
tokenNameLabel, | ||
tokenParentSelector, | ||
selectAllTokensCheck, | ||
newTokensFound, | ||
addChainsButton, | ||
}; |
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