Skip to content

Commit 10ef97a

Browse files
committed
fix: ci
1 parent cbe5ed9 commit 10ef97a

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
run: yarn playground:build
5353
# - name: Run unit tests
5454
# run: yarn test:unit
55-
# - name: Run integration tests
56-
# run: yarn run -s test:integration
55+
- name: Run integration tests
56+
run: yarn run -s test:integration
5757
- name: Run end-to-end tests
5858
uses: cypress-io/github-action@v6
5959
with:

cypress/support/commands.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,8 @@ Cypress.Commands.add('login', (path) => {
5353
cy.get('input[name="password"]').type('Abc12345678');
5454
cy.get('button[type="submit"]').click();
5555
cy.wait('@sessionCheck').its('response.statusCode').should('equal', 200);
56-
57-
// Sometimes the page hangs after logging in.
58-
// If this happens we reload the page and log in again.
59-
cy.reload();
60-
cy.get('body').then(($b) => {
61-
if ($b.text().includes('Log in to your Strapi account')) {
62-
cy.login();
63-
}
64-
});
6556
}
57+
6658
// Register
6759
if ($body.text().includes('Credentials are only used to authenticate in Strapi')) {
6860
cy.get('input[name="firstname"]').type('John');

0 commit comments

Comments
 (0)