mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
Added webdriverio integration tests
This commit is contained in:
committed by
Danny Coates
parent
bd02b7db8e
commit
23d629b80b
22
test/integration/pages/desktop/home_page.js
Normal file
22
test/integration/pages/desktop/home_page.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import Page from './page';
|
||||
|
||||
export default class HomePage extends Page {
|
||||
constructor() {
|
||||
super();
|
||||
this.legalSectionLinks = '.legalSection .legalSection__link';
|
||||
this.readyToSendLocator = 'div#page-one button.btn';
|
||||
this.socialLinksLocator = '.socialSection__link';
|
||||
}
|
||||
|
||||
get legalLinks() {
|
||||
return this.legalSectionLinks;
|
||||
}
|
||||
|
||||
get readyToSend() {
|
||||
return this.readyToSendLocator;
|
||||
}
|
||||
|
||||
get socialLinks() {
|
||||
return this.socialLinksLocator;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user