Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn Dirkse committed Jun 4, 2024
1 parent f5fd126 commit 5e123ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/no-console-warnings.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ jobs:
run: ./waitForUrl.sh http://localhost:8090 240
working-directory: frank-manual/.github/workflows
- name: Run the tests - really no warnings
if: ${{ steps.setExpectedBehaviorTag.outputs.expectedBehaviorTag }} === "NoWarnings"
if: ${{ steps.setExpectedBehaviorTag.outputs.expectedBehaviorTag == 'NoWarnings' }}
run: yarn run cypress run --spec cypress/e2e/no-warnings.cy.ts
working-directory: frank-manual/cypress
- name: Run the tests - allow warning about IAF_Util
if: ${{ steps.setExpectedBehaviorTag.outputs.expectedBehaviorTag }} === "AllowIafUtilWarning"
if: ${{ steps.setExpectedBehaviorTag.outputs.expectedBehaviorTag == 'AllowIafUtilWarning' }}
run: yarn run cypress run --spec cypress/e2e/warning-only-iaf-util.cy.ts
working-directory: frank-manual/cypress
- name: Try to access server directly with curl
Expand Down
2 changes: 1 addition & 1 deletion cypress/cypress/e2e/no-warnings.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('Tests of frank-manual config', () => {
describe('Tests of frank-manual config - no warnings', () => {
it('Test that there are no alerts in the status page', () => {
cy.visit('')
// cy.get('[data-cy-status-alert]').should('have.length', 0)
Expand Down
2 changes: 1 addition & 1 deletion cypress/cypress/e2e/warning-only-iaf-util.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('Tests of frank-manual config', () => {
describe('Tests of frank-manual config - only IAF_Util', () => {
it('Test that the only alert in the status page is about config IAF-Util', () => {
cy.visit('')
cy.get('.alert-warning').should('have.length', 1).within(() => {
Expand Down

0 comments on commit 5e123ca

Please sign in to comment.