fix(e2e): add id so test has something to wait for

This commit is contained in:
Ken Sodemann
2018-02-07 10:56:37 -06:00
parent 725830dbdc
commit b69bd04bb6
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ platforms.forEach(platform => {
describe('segment/basic', () => {
register('should init', driver => {
const page = new E2ETestPage(driver, platform);
return page.navigate('#dynamicAttrElem');
return page.navigate('#finalSegment');
});
});
});

View File

@ -108,7 +108,7 @@
</ion-segment-button>
</ion-segment>
<ion-segment name="dynamicAttrElem" color="secondary" value="active">
<ion-segment id="finalSegment" name="dynamicAttrElem" color="secondary" value="active">
<ion-segment-button value="active">
Active
</ion-segment-button>