Added waitUntilVisibleAfterRefresh and textsToWaitFor - both discussed with @witzig.
Page objects refactored to exploit textsToWaitFor if relevant. Login tests refactored for the newer API. Some additional tests in subscription. The rest at least included as "pending".
This commit is contained in:
parent
ccd37ac792
commit
bb2b3da9dd
14 changed files with 446 additions and 393 deletions
|
@ -1,11 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const page = require('./web');
|
||||
const web = require('../lib/web');
|
||||
|
||||
module.exports = driver => Object.assign(page(driver), {
|
||||
url: '/',
|
||||
elementToWaitFor: 'body',
|
||||
elements: {
|
||||
body: 'body.page--home'
|
||||
}
|
||||
module.exports = web({
|
||||
url: '/'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue