Skip to content

Commit

Permalink
[EDR Workflows] Fix failing cases test in Osquery (elastic#194253)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl authored and seanrathier committed Oct 2, 2024
1 parent 8321adb commit db6c5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/osquery/cypress/tasks/live_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const addLiveQueryToCase = (actionId: string, caseId: string) => {
addToCase(caseId);
};

const casesOsqueryResultRegex = /attached Osquery results[\s]?[\d]+[\s]?seconds ago/;
const casesOsqueryResultRegex = /attached Osquery results[\s]?[\d]+[\s]?second(?:s)? ago/;
export const viewRecentCaseAndCheckResults = () => {
cy.contains('View case').click();
cy.contains(casesOsqueryResultRegex);
Expand Down

0 comments on commit db6c5d3

Please sign in to comment.