mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(): sync with main for beta 4
This commit is contained in:
@ -76,6 +76,12 @@ Cypress.Commands.add('routerReplace', (path) => {
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('routerGo', (n) => {
|
||||
cy.window().then(win => {
|
||||
win.debugRouter.go(n);
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('ionBackButtonHidden', (pageId) => {
|
||||
cy.get(`div.ion-page[data-pageid=${pageId}]`)
|
||||
.should('be.visible', true)
|
||||
|
Reference in New Issue
Block a user