send/test/integration/pages/desktop/home_page.js

24 lines
491 B
JavaScript
Raw Normal View History

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