-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3766 from StanislavLiv/Stas_fix_WV_140
Code refactoring after WV-140 bug report was fixed
- Loading branch information
Showing
2 changed files
with
24 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ class PrivacyPage extends Page { | |
return $('#weVoteContactUsPage'); | ||
} | ||
|
||
get findYourPrivacyAndDataLink () { | ||
get deleteYourAccountLink () { | ||
return $('.u-link-color'); | ||
} | ||
|
||
|
@@ -56,6 +56,14 @@ class PrivacyPage extends Page { | |
return $$('//a[text() = "[email protected]"]'); | ||
} | ||
|
||
get deleteYourAccountButton () { | ||
return $('.DeleteYourAccountButtonInnerWrapper-sc-qu6md9-2'); | ||
} | ||
|
||
get cancelOfDeleteYourAccountButton () { | ||
return $('.DeleteYourAccountButtonInnerCancelWrapper-sc-qu6md9-1'); | ||
} | ||
|
||
async getTextFromEmailLinks() { | ||
const selectorToGetElements = '//a[text() = "[email protected]"]'; | ||
let arrOfElements = []; | ||
|
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