Skip to content

Commit

Permalink
Address flaky responder test
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Jan 9, 2024
1 parent 314b593 commit 4d46421
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cypress/e2e/Incidents/incidents.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('Manage Open Incidents', { failFast: { enabled: true } }, () => {
checkActionAlertsModalContent('Requested additional response for incident(s)');
cy.get(`@selectedIncidentId_${incidentIdx}`).then((incidentId) => {
checkIncidentCellContent(incidentId, 'Responders', 'UA');
checkPopoverContent(incidentId, 'Responders', '[email protected]');
checkPopoverContent(incidentId, 'Responders', 'User A');
checkIncidentCellContent(incidentId, 'Latest Log Entry Type', 'responder_request');
});

Expand All @@ -185,7 +185,7 @@ describe('Manage Open Incidents', { failFast: { enabled: true } }, () => {
checkActionAlertsModalContent('Requested additional response for incident(s)');
cy.get(`@selectedIncidentId_${incidentIdx}`).then((incidentId) => {
checkIncidentCellContent(incidentId, 'Responders', 'UA');
checkPopoverContent(incidentId, 'Responders', '[email protected]');
checkPopoverContent(incidentId, 'Responders', 'User A');
checkIncidentCellContent(incidentId, 'Latest Log Entry Type', 'responder_request');
});
});
Expand All @@ -199,7 +199,9 @@ describe('Manage Open Incidents', { failFast: { enabled: true } }, () => {
checkActionAlertsModalContent('Requested additional response for incident(s)');
cy.get(`@selectedIncidentId_${incidentIdx}`).then((incidentId) => {
checkIncidentCellContent(incidentId, 'Responders', 'UA');
checkPopoverContent(incidentId, 'Responders', '[email protected]');
checkIncidentCellContent(incidentId, 'Responders', 'UB');
checkPopoverContent(incidentId, 'Responders', 'User A');
checkPopoverContent(incidentId, 'Responders', 'User B');
checkIncidentCellContent(incidentId, 'Latest Log Entry Type', 'responder_request');
});
});
Expand Down

0 comments on commit 4d46421

Please sign in to comment.