Skip to content

Commit

Permalink
debug on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
icelandld committed Jun 17, 2024
1 parent 1eacc99 commit 2135f0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Up Kong Manager
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
docker ps -a
- name: Run Cypresss tests
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
continue-on-error: true
env:
TESTS: ${{ inputs.tests }}
Expand Down
1 change: 1 addition & 0 deletions cypress/KongBase/KongElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default class KongElement {
return cy.wrap($el.find(`[data-testid="${uatId[i]}"]`));
} else {
console.warn(`Element with data-testid ${uatId[i]} not found`);
cy.log(`Element with data-testid ${uatId[i]} not found`);
}
}
// If element not found, log and return null
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/route.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('test for route creation', () => {
cy.visit(`${clientBase}/mock`);
cy.get('body').should('contain', 'httpbin.org');
} else {
throw new ERROR('route creation failed');
throw new Error('route creation failed');
}
})

Expand Down

0 comments on commit 2135f0a

Please sign in to comment.