mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
15 lines
352 B
JavaScript
15 lines
352 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')
|
|
})
|
|
|
|
})
|