Skip to content

Commit

Permalink
Enable Test Isolation for query.spec.js
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Dec 5, 2023
1 parent 920ce28 commit b7dcc9e
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions cypress/e2e/Query/query.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,14 @@ import {
registerLocale('en-GB', gb);
moment.locale('en-GB');

describe('Query Incidents', { failFast: { enabled: true } }, () => {
before(() => {
describe('Query Incidents', { failFast: { enabled: true }, testIsolation: true }, () => {
beforeEach(() => {
acceptDisclaimer();
manageIncidentTableColumns('remove', ['latest_note']);
manageIncidentTableColumns('add', ['urgency', 'teams', 'escalation_policy']);
// priorityNames.forEach((currentPriority) => {
// activateButton(`query-priority-${currentPriority}-button`);
// });
waitForIncidentTable();
});

beforeEach(() => {
if (cy.state('test').currentRetry() > 1) {
acceptDisclaimer();
manageIncidentTableColumns('remove', ['latest_note']);
manageIncidentTableColumns('add', ['urgency', 'teams', 'escalation_policy']);
}
// priorityNames.forEach((currentPriority) => {
// activateButton(`query-priority-${currentPriority}-button`);
// });
});

it('Query for incidents within T-1 since date', () => {
// Limit dataset to high-urgency triggered, ackd and resolved incidents
// activateButton('query-status-resolved-button');
Expand Down

0 comments on commit b7dcc9e

Please sign in to comment.