Skip to content

Commit 2dea18a

Browse files
committed
run this through the flakey test runner
1 parent 0955c34 commit 2dea18a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { getExceptionList } from '../../../objects/exception';
99
import { getNewRule } from '../../../objects/rule';
1010
import { ROLES } from '../../../../common/test';
1111
import { createRule } from '../../../tasks/api_calls/rules';
12-
import { login, logout, visitWithoutDateRange } from '../../../tasks/login';
12+
import { login, visitWithoutDateRange } from '../../../tasks/login';
1313
import { goToExceptionsTab, goToAlertsTab } from '../../../tasks/rule_details';
1414
import { goToRuleDetails } from '../../../tasks/alerts_detection_rules';
1515
import { DETECTIONS_RULE_MANAGEMENT_URL } from '../../../urls/navigation';
@@ -32,7 +32,6 @@ describe('Exceptions viewer read only', () => {
3232

3333
before(() => {
3434
cleanKibana();
35-
login();
3635
// create rule with exceptions
3736
createExceptionList(exceptionList, exceptionList.list_id).then((response) => {
3837
createRule(
@@ -51,7 +50,6 @@ describe('Exceptions viewer read only', () => {
5150
})
5251
);
5352
});
54-
logout();
5553
});
5654

5755
beforeEach(() => {

x-pack/plugins/security_solution/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"cypress:burn": "yarn cypress:run:reporter --env burn=2 --concurrency=1 --headed",
1212
"cypress:changed-specs-only": "yarn cypress:run:reporter --changed-specs-only --env burn=2",
1313
"cypress:open": "TZ=UTC node ./scripts/start_cypress_parallel open --spec './cypress/e2e/**/*.cy.ts' --config-file ./cypress/cypress.config.ts --ftr-config-file ../../../../../../x-pack/test/security_solution_cypress/cli_config",
14-
"cypress:run": "yarn cypress:run:reporter --spec './cypress/e2e/{,!(investigations,explore)/**/}*.cy.ts'; status=$?; yarn junit:merge && exit $status",
14+
"cypress:run": "yarn cypress:run:reporter --spec 'cypress/e2e/exceptions/**/*cy.ts'; status=$?; yarn junit:merge && exit $status",
1515
"cypress:run:cases": "yarn cypress:run:reporter --spec './cypress/e2e/explore/cases/*.cy.ts' --ftr-config-file ../../../../../../x-pack/test/security_solution_cypress/cli_config; status=$?; yarn junit:merge && exit $status",
1616
"cypress:run:reporter": "TZ=UTC node ./scripts/start_cypress_parallel run --browser chrome --config-file ./cypress/cypress_ci.config.ts --ftr-config-file ../../../../../../x-pack/test/security_solution_cypress/cli_config --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=./cypress/reporter_config.json",
1717
"cypress:run:respops": "yarn cypress:run:reporter --spec './cypress/e2e/(detection_alerts|detection_rules|exceptions)/*.cy.ts' --ftr-config-file ../../../../../../x-pack/test/security_solution_cypress/cli_config; status=$?; yarn junit:merge && exit $status",

0 commit comments

Comments
 (0)