mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 23:01:57 +08:00
fix(e2e): add id so test has something to wait for
This commit is contained in:
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user