mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
14 lines
356 B
JavaScript
14 lines
356 B
JavaScript
const port = 3000;
|
|
|
|
describe('IonRouterOutlet Ref', () => {
|
|
/*
|
|
This spec tests that setting a ref on an IonRouterOutlet works
|
|
*/
|
|
|
|
it('/outlet-ref, page should contain the id of the ion-router-outlet', () => {
|
|
cy.visit(`http://localhost:${port}/outlet-ref`);
|
|
cy.get('div').contains('main-outlet');
|
|
cy.ionPageVisible('main');
|
|
});
|
|
});
|