drop.chapril.org-firefoxsend/test/integration/pages/desktop/home_page.js

24 lines
491 B
JavaScript
Raw Normal View History

2018-10-04 02:39:39 +02:00
const Page = require('./page');
2018-10-02 22:15:02 +02:00
2018-10-04 02:39:39 +02:00
class HomePage extends Page {
2018-10-02 22:15:02 +02:00
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;
}
}
2018-10-04 02:39:39 +02:00
module.exports = HomePage;