Skip to content

Commit 22ec1be

Browse files
Fix E2E test assertion
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent 9e3e06c commit 22ec1be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/functional/cypress/e2e/v4/signatures.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ describe('To Validate & get list of signatures of ClaGroups via API call', funct
574574
`GitHub org removal: ${occurrenceCount} occurrences remain. This may be due to multiple entries or test environment state.`,
575575
);
576576
// Don't fail the test, just log the situation
577-
expect(occurrenceCount).to.be.greaterThanOrEqual(0);
577+
expect(occurrenceCount).to.be.gte(0);
578578
} else {
579579
expect(list).to.not.include(gitOrgApprovalList);
580580
}
@@ -651,7 +651,7 @@ describe('To Validate & get list of signatures of ClaGroups via API call', funct
651651
`GitHub username removal: ${occurrenceCount} occurrences remain. This may be due to multiple entries or test environment state.`,
652652
);
653653
// Accept this as a known test environment behavior
654-
expect(occurrenceCount).to.be.greaterThanOrEqual(0);
654+
expect(occurrenceCount).to.be.gte(0);
655655
} else {
656656
expect(list).to.not.include(gitUsernameApprovalList);
657657
}
@@ -711,7 +711,7 @@ describe('To Validate & get list of signatures of ClaGroups via API call', funct
711711
`GitLab username removal: ${occurrenceCount} occurrences remain. This may be due to multiple entries or test environment state.`,
712712
);
713713
// Don't fail the test, just log the situation
714-
expect(occurrenceCount).to.be.greaterThanOrEqual(0);
714+
expect(occurrenceCount).to.be.gte(0);
715715
} else {
716716
expect(list).to.not.include(gitLabUsernameApprovalList);
717717
}

0 commit comments

Comments
 (0)