File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ declare global {
5050 * @returns Chainable reference to allow CSRF token to also be sent in header.
5151 */
5252 createCSRFCookie ( ) : Chainable < any > ;
53-
54- /**
55- * Click accept in the Orejime cookie popup
56- * */
57- acceptOrejimePopup ( ) : typeof acceptOrejimePopup ;
5853 }
5954 }
6055}
@@ -111,9 +106,6 @@ function loginViaForm(email: string, password: string): void {
111106 cy . get ( '[data-test="password"]' ) . type ( password ) ;
112107 // Click login button
113108 cy . get ( '[data-test="login-button"]' ) . click ( ) ;
114-
115- // wait for the browse to redirect to the reload page, and back
116- cy . acceptOrejimePopup ( ) ;
117109}
118110// Add as a Cypress command (i.e. assign to 'cy.loginViaForm')
119111Cypress . Commands . add ( 'loginViaForm' , loginViaForm ) ;
@@ -181,13 +173,3 @@ function createCSRFCookie(): Cypress.Chainable {
181173}
182174// Add as a Cypress command (i.e. assign to 'cy.createCSRFCookie')
183175Cypress . Commands . add ( 'createCSRFCookie' , createCSRFCookie ) ;
184-
185- /**
186- * Click accept in te Orejime cookie popup
187- */
188- function acceptOrejimePopup ( ) : void {
189- cy . get ( '.orejime-Notice-saveButton' ) . click ( ) ;
190- }
191- Cypress . Commands . add ( 'acceptOrejimePopup' , acceptOrejimePopup ) ;
192-
193-
You can’t perform that action at this time.
0 commit comments