Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe('tabs test page', function() {
var P;
beforeEach(function() {
browser.get('/test/e2e/tabs-test.html');
browser.get('http://localhost:8080/test/e2e/tabs-test.html');
P = protractor.getInstance();
});

@@ -15,13 +15,15 @@ describe('tabs test page', function() {
}

it('navbar with multiple histories', function() {
browser.sleep(1000);
expect(navTitle().getText()).toBe('Sign-In');
expect(navButtons('back').getAttribute('class')).toContain('hide');
expect(navButtons('left').getText()).toEqual('Home');
expect(navButtons('left').getAttribute('class')).toContain('ion-home');
expect(navButtons('right').getText()).toEqual('');
expect(navButtons('right').getAttribute('class')).toContain('ion-navicon');


element(by.id('sign-in-button')).click();

expect(navTitle().getText()).toBe('Auto List');

0 comments on commit 53aeacc

Please sign in to comment.