diff options
Diffstat (limited to 'vid-webpack-master/cypress/support/steps/login.step.ts')
-rw-r--r-- | vid-webpack-master/cypress/support/steps/login.step.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/support/steps/login.step.ts b/vid-webpack-master/cypress/support/steps/login.step.ts index a7ed0752e..99c80bcb7 100644 --- a/vid-webpack-master/cypress/support/steps/login.step.ts +++ b/vid-webpack-master/cypress/support/steps/login.step.ts @@ -34,8 +34,8 @@ function login(): void { } } -function openIframe(iframeUrl : string): void { - cy.visit(iframeUrl); +function openIframe(iframeUrl : string): Chainable<Window> { + return cy.visit(iframeUrl); } Cypress.Commands.add('login', login); |