|
|
@ -6,18 +6,22 @@ class VerifyLoad extends EventEmitter { |
|
|
|
browser.waitForElementPresent({ |
|
|
|
browser.waitForElementPresent({ |
|
|
|
selector: "//span[@data-id='typesloaded']", |
|
|
|
selector: "//span[@data-id='typesloaded']", |
|
|
|
locateStrategy: 'xpath', |
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
|
|
|
timeout: 60000 |
|
|
|
}) |
|
|
|
}) |
|
|
|
.waitForElementPresent({ |
|
|
|
.waitForElementPresent({ |
|
|
|
selector: "//span[@data-id='editorloaded']", |
|
|
|
selector: "//span[@data-id='editorloaded']", |
|
|
|
locateStrategy: 'xpath', |
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
|
|
|
timeout: 60000 |
|
|
|
}) |
|
|
|
}) |
|
|
|
.waitForElementPresent({ |
|
|
|
.waitForElementPresent({ |
|
|
|
selector: "//span[@data-id='workspaceloaded']", |
|
|
|
selector: "//span[@data-id='workspaceloaded']", |
|
|
|
locateStrategy: 'xpath', |
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
|
|
|
timeout: 60000 |
|
|
|
}) |
|
|
|
}) |
|
|
|
.waitForElementPresent({ |
|
|
|
.waitForElementPresent({ |
|
|
|
selector: "//span[@data-id='apploaded']", |
|
|
|
selector: "//span[@data-id='apploaded']", |
|
|
|
locateStrategy: 'xpath', |
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
|
|
|
timeout: 60000 |
|
|
|
}) |
|
|
|
}) |
|
|
|
.perform((done) => { |
|
|
|
.perform((done) => { |
|
|
|
done() |
|
|
|
done() |
|
|
|