-
Notifications
You must be signed in to change notification settings - Fork 310
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 #4209 from mythrienjam/develop
Updated TopisPage.js , topics.page.js and ready.page.js
- Loading branch information
Showing
4 changed files
with
1,971 additions
and
70 deletions.
There are no files selected for viewing
52 changes: 18 additions & 34 deletions
52
tests/browserstack_automation/page_objects/profile.page.js
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 |
---|---|---|
@@ -1,40 +1,24 @@ | ||
import { $, $$ } from '@wdio/globals'; | ||
import Page from './page'; | ||
|
||
|
||
class ProfilePage extends Page { | ||
constructor () { | ||
//super().title = 'Terms of Service - We Vote'; | ||
super().title = 'Profile Photo - WeVote'; | ||
} | ||
|
||
/* | ||
async load () { | ||
await super.open('/settings/profile'); | ||
await super.maximizeWindow(); | ||
await super.rerender(); | ||
} | ||
*/ | ||
|
||
get getProfilePhotoIconElement() { | ||
//return $('[data-testid="AccountCircleIcon"]'); | ||
//return $('.crPwjk'); | ||
return $('.bNnPNQ'); | ||
} | ||
|
||
get getSavePhotoButtonElement() { | ||
return $('#saveEditYourPhotoBottom'); | ||
} | ||
|
||
get getRemovePhotoElement() { | ||
return $('.kWfAfq'); | ||
} | ||
|
||
get getSignOutElement() { | ||
return $('=Sign Out') | ||
|
||
} | ||
|
||
|
||
constructor () { | ||
//super().title = 'Terms of Service - We Vote'; | ||
super().title = 'Profile Photo - WeVote'; | ||
} | ||
|
||
get getSignOutElement() { | ||
return $('#signOut_Settings') | ||
} | ||
|
||
} | ||
|
||
export default new ProfilePage(); | ||
export default new ProfilePage(); | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
Oops, something went wrong.