mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[EDR Workflows] Fix Osquery cypress 11 (#171497)
This commit is contained in:
parent
49b52fe76e
commit
d412e57897
2 changed files with 5 additions and 2 deletions
|
@ -58,7 +58,10 @@ describe('ALL - Live Query', { tags: ['@ess', '@serverless'] }, () => {
|
|||
expect(interception.response?.body.data.queries[0]).to.have.property('timeout', 890);
|
||||
});
|
||||
checkResults();
|
||||
cy.get('[data-gridcell-column-index="0"][data-gridcell-row-index="0"]').should('exist').click();
|
||||
cy.get('[data-gridcell-column-index="0"][data-gridcell-row-index="0"]').should('exist');
|
||||
cy.get(
|
||||
'[data-gridcell-column-index="0"][data-gridcell-row-index="0"] [data-datagrid-interactable="true"]'
|
||||
).click();
|
||||
cy.url().should('include', 'app/fleet/agents/');
|
||||
});
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"cypress:run": "yarn cypress run",
|
||||
"cypress:serverless": "NODE_OPTIONS=--openssl-legacy-provider node ../security_solution/scripts/start_cypress_parallel --config-file ../osquery/cypress/serverless_cypress.config.ts --ftr-config-file ../../../x-pack/test/osquery_cypress/serverless_cli_config",
|
||||
"cypress:serverless:open": "yarn cypress:serverless open",
|
||||
"cypress:serverless:run": "yarn cypress:serverless run --spec ./cypress/e2e/all/packs_integration.cy.ts",
|
||||
"cypress:serverless:run": "yarn cypress:serverless run",
|
||||
"nyc": "../../../node_modules/.bin/nyc report --reporter=text-summary",
|
||||
"junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-osquery/cypress/results/mochawesome*.json > ../../../target/kibana-osquery/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-osquery/cypress/results/output.json --reportDir ../../../target/kibana-osquery/cypress/results && yarn junit:transform && mkdir -p ../../../target/junit && cp ../../../target/kibana-osquery/cypress/results/*.xml ../../../target/junit/",
|
||||
"junit:transform": "node ../security_solution/scripts/junit_transformer --pathPattern '../../../target/kibana-osquery/cypress/results/*.xml' --rootDirectory ../../../ --reportName 'Osquery Cypress' --writeInPlace",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue