Fix test assertion
This commit is contained in:
@@ -37,7 +37,7 @@ describe('browser/settings.html', function desc() {
|
|||||||
loadSettingsPage().
|
loadSettingsPage().
|
||||||
click('#btnCancel').
|
click('#btnCancel').
|
||||||
pause(1000).
|
pause(1000).
|
||||||
getUrl().should.eventually.match(/\/index.html$/);
|
getUrl().should.eventually.match(/\/index.html(\?.+)?$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should show index.html when Save button is clicked', () => {
|
it('should show index.html when Save button is clicked', () => {
|
||||||
@@ -46,7 +46,7 @@ describe('browser/settings.html', function desc() {
|
|||||||
loadSettingsPage().
|
loadSettingsPage().
|
||||||
click('#btnSave').
|
click('#btnSave').
|
||||||
pause(1000).
|
pause(1000).
|
||||||
getUrl().should.eventually.match(/\/index.html$/);
|
getUrl().should.eventually.match(/\/index.html(\?.+)?$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should show NewServerModal after all servers are removed', () => {
|
it('should show NewServerModal after all servers are removed', () => {
|
||||||
|
Reference in New Issue
Block a user