|
@@ -119,7 +119,7 @@ describe('Application life cycle test', function () {
|
|
|
}).then(function () {
|
|
|
return browser.findElement(by.xpath('//li[@id="nodebb-plugin-beep"]//button[@data-action="toggleActive"]')).click(); // activate the plugin
|
|
|
}).then(function () {
|
|
|
- return browser.wait(until.elementLocated(by.xpath('//button[text()="Confirm"]')), TEST_TIMEOUT);
|
|
|
+ return browser.sleep(5000);
|
|
|
}).then(function () {
|
|
|
var button = browser.findElement(by.xpath('//button[text()="Confirm"]'));
|
|
|
return browser.executeScript('arguments[0].scrollIntoView(false)', button);
|