diff --git a/cypress/support/util/common.js b/cypress/support/util/common.js index af58b0d1..f8ca5d7d 100644 --- a/cypress/support/util/common.js +++ b/cypress/support/util/common.js @@ -29,7 +29,10 @@ export const waitForIncidentTable = () => { export const waitForAlerts = () => { // eslint-disable-next-line cypress/no-unnecessary-waiting cy.wait(3000); // Required for query debounce - cy.get('.selected-incidents-ctr', { timeout: 60000 }).should('not.include.text', 'Fetching Alerts'); + cy.get('.selected-incidents-ctr', { timeout: 60000 }).should( + 'not.include.text', + 'Fetching Alerts', + ); }; export const selectIncident = (incidentIdx = 0, shiftKey = false) => { diff --git a/src/components/IncidentTable/IncidentTableComponent.jsx b/src/components/IncidentTable/IncidentTableComponent.jsx index 8259792c..c19d4432 100644 --- a/src/components/IncidentTable/IncidentTableComponent.jsx +++ b/src/components/IncidentTable/IncidentTableComponent.jsx @@ -460,7 +460,10 @@ const IncidentTableComponent = () => { // take a chance of deselecting too many times useEffect(() => { // TODO: Get user feedback on this workflow - if (responsePlaysStatus.includes('RUN_RESPONSE_PLAY_REQUESTED') || responsePlaysStatus.includes('RUN_RESPONSE_PLAY_COMPLETED')) { + if ( + responsePlaysStatus.includes('RUN_RESPONSE_PLAY_REQUESTED') + || responsePlaysStatus.includes('RUN_RESPONSE_PLAY_COMPLETED') + ) { toggleAllRowsSelected(false); } }, [responsePlaysStatus]);