updated integration tests for new ui
This commit is contained in:
parent
891ffc20af
commit
6ba3be8a0f
11 changed files with 65 additions and 153 deletions
|
@ -1,9 +1,11 @@
|
|||
/* global browser */
|
||||
class Page {
|
||||
constructor() {}
|
||||
constructor(path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
open(path) {
|
||||
browser.url(path);
|
||||
open() {
|
||||
browser.url(this.path);
|
||||
this.waitForPageToLoad();
|
||||
}
|
||||
|
||||
|
@ -12,6 +14,8 @@ class Page {
|
|||
* @returns {Object} An object representing the page.
|
||||
* @throws ElementNotFound
|
||||
*/
|
||||
waitForPageToLoad() {}
|
||||
waitForPageToLoad() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
module.exports = Page;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue