We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e81ebe commit 7a0d228Copy full SHA for 7a0d228
1 file changed
cypress/support/commands.js
@@ -53,6 +53,7 @@ Cypress.Commands.add('login', (path) => {
53
cy.get('input[name="password"]').type('Abc12345678');
54
cy.get('button[type="submit"]').click();
55
cy.wait('@sessionCheck').its('response.statusCode').should('equal', 200);
56
+ cy.reload();
57
}
58
// Register
59
if ($body.text().includes('Credentials are only used to authenticate in Strapi')) {
@@ -64,8 +65,6 @@ Cypress.Commands.add('login', (path) => {
64
65
66
67
});
-
68
- cy.reload();
69
70
71
Cypress.Commands.add('navigateToInterface', (path) => {
0 commit comments