e2e tests (draft)
This commit is contained in:
parent
408db13fd4
commit
6c35046ab2
26 changed files with 1659 additions and 29 deletions
12
test/e2e/page-objects/home.js
Normal file
12
test/e2e/page-objects/home.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
const Page = require('./page');
|
||||
let home;
|
||||
|
||||
module.exports = driver => home || new Page(driver, {
|
||||
url: '/',
|
||||
elementToWaitFor: 'body',
|
||||
elements: {
|
||||
body: 'body.page--home'
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue