mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(travis): fix saucelabs unit tests
This commit is contained in:
@@ -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,6 +15,7 @@ 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');
|
||||
@@ -22,6 +23,7 @@ describe('tabs test page', function() {
|
||||
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');
|
||||
|
||||
Reference in New Issue
Block a user