Last active
January 11, 2021 03:46
-
-
Save Leming1488/42e9f2ac64dcb1145c0639c435e63e28 to your computer and use it in GitHub Desktop.
Revisions
-
Leming1488 revised this gist
Jan 11, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,8 +3,8 @@ describe('Authentication User', () => { cy.clearCookies(); cy.visit('/', { onBeforeLoad(window) { delete window.fetch; } }); -
Leming1488 revised this gist
Jan 11, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,5 +8,7 @@ describe('Authentication User', () => { } }); cy.url().should('include', 'login'); cy.get('[data-cy=login]').should('exist'); }); }); -
Leming1488 revised this gist
Jan 11, 2021 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,12 @@ describe('Authentication User', () => { before(() => { cy.clearCookies(); cy.visit('/', { onBeforeLoad(win) { delete win.fetch; } }); }); }); -
Leming1488 revised this gist
Jan 11, 2021 . 1 changed file with 1 addition and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,22 +1,10 @@ describe('Authentication User', () => { before(() => { cy.clearCookies(); cy.visit('/login', { onBeforeLoad(win) { delete win.fetch; } }); }); }); -
Leming1488 created this gist
Sep 23, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ describe('Authentication User', () => { before(() => { cy.server(); cy.route({ method: 'GET', url: '/api/users/info*', response: errors.error_401, status: 401 }).as('userInfo'); cy.clearCookies(); cy.visit('/dashboard', { onBeforeLoad(win) { delete win.fetch; } }); cy.wait(['@userInfo']); }); });