@@ -83,7 +83,9 @@ describe('application', function desc() {
|
||||
url: env.mattermostURL,
|
||||
}));
|
||||
return this.app.restart().then(() => {
|
||||
return this.app.client.waitUntilWindowLoaded().getUrl();
|
||||
return this.app.client.waitUntilWindowLoaded();
|
||||
}).then(() => {
|
||||
return this.app.client.getUrl();
|
||||
}).then((url) => {
|
||||
url.should.match(/\/index.html$/);
|
||||
});
|
||||
@@ -95,7 +97,9 @@ describe('application', function desc() {
|
||||
url: env.mattermostURL,
|
||||
}));
|
||||
return this.app.restart().then(() => {
|
||||
return this.app.client.waitUntilWindowLoaded().getUrl();
|
||||
return this.app.client.waitUntilWindowLoaded();
|
||||
}).then(() => {
|
||||
return this.app.client.getUrl();
|
||||
}).then((url) => {
|
||||
url.should.match(/\/index.html$/);
|
||||
}).then(() => {
|
||||
|
@@ -95,7 +95,7 @@ describe('browser/settings.html', function desc() {
|
||||
return this.app.client.
|
||||
loadSettingsPage().
|
||||
click('h4=example').
|
||||
pause(100).
|
||||
pause(1000).
|
||||
waitUntilWindowLoaded().
|
||||
getUrl().then((url) => {
|
||||
url.should.match(/\/index.html(\?.+)?$/);
|
||||
@@ -109,7 +109,7 @@ describe('browser/settings.html', function desc() {
|
||||
|
||||
loadSettingsPage().
|
||||
click('h4=github').
|
||||
pause(100).
|
||||
pause(1000).
|
||||
waitUntilWindowLoaded().
|
||||
getUrl().then((url) => {
|
||||
url.should.match(/\/index.html(\?.+)?$/);
|
||||
|
Reference in New Issue
Block a user