mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
Added webdriverio integration tests
This commit is contained in:
committed by
Danny Coates
parent
bd02b7db8e
commit
23d629b80b
15
test/integration/pages/desktop/page.js
Normal file
15
test/integration/pages/desktop/page.js
Normal file
@@ -0,0 +1,15 @@
|
||||
export default class Page {
|
||||
constructor() {}
|
||||
|
||||
open(path) {
|
||||
browser.url(path);
|
||||
this.waitForPageToLoad();
|
||||
}
|
||||
|
||||
/**
|
||||
* @function waitForPageToLoad
|
||||
* @returns {Object} An object representing the page.
|
||||
* @throws ElementNotFound
|
||||
*/
|
||||
waitForPageToLoad() {}
|
||||
}
|
||||
Reference in New Issue
Block a user