Skip to content

Commit

Permalink
Fixed cypress tests.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
  • Loading branch information
AWSHurneyt committed Oct 13, 2023
1 parent e00d373 commit 984d9e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cypress/integration/3_alerts.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ describe('Alerts', () => {
cy.get('[data-test-subj="finding-details-flyout-rule-severity"]').contains('High');

// Confirm the rule category
cy.get('[data-test-subj="finding-details-flyout-rule-category"]').contains('Windows');
cy.get('[data-test-subj="finding-details-flyout-rule-category"]').contains(
'Microsoft Windows'
);

// Confirm the rule description
cy.get('[data-test-subj="finding-details-flyout-rule-description"]').contains(
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/4_findings.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('Findings', () => {
cy.contains('No items found').should('not.exist');

// Check for expected findings
cy.contains('Windows');
cy.contains('Microsoft Windows');
cy.contains('High');
});

Expand Down

0 comments on commit 984d9e7

Please sign in to comment.