[SIEM] Reenabling Cypress tests (#70397)
* reenabling cypress * skips Overview tests * skips search bar test * skips URL test
This commit is contained in:
parent
0f7afd4402
commit
257c115f66
4 changed files with 8 additions and 13 deletions
|
@ -11,16 +11,11 @@ export KIBANA_INSTALL_DIR="$destDir"
|
|||
echo " -> Running security solution cypress tests"
|
||||
cd "$XPACK_DIR"
|
||||
|
||||
# Failures across multiple suites, skipping all
|
||||
# https://github.com/elastic/kibana/issues/69847
|
||||
# https://github.com/elastic/kibana/issues/69848
|
||||
# https://github.com/elastic/kibana/issues/69849
|
||||
|
||||
# checks-reporter-with-killswitch "Security solution Cypress Tests" \
|
||||
# node scripts/functional_tests \
|
||||
# --debug --bail \
|
||||
# --kibana-install-dir "$KIBANA_INSTALL_DIR" \
|
||||
# --config test/security_solution_cypress/config.ts
|
||||
checks-reporter-with-killswitch "Security solution Cypress Tests" \
|
||||
node scripts/functional_tests \
|
||||
--debug --bail \
|
||||
--kibana-install-dir "$KIBANA_INSTALL_DIR" \
|
||||
--config test/security_solution_cypress/config.ts
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
|
|
|
@ -11,7 +11,7 @@ import { loginAndWaitForPage } from '../tasks/login';
|
|||
|
||||
import { OVERVIEW_URL } from '../urls/navigation';
|
||||
|
||||
describe('Overview Page', () => {
|
||||
describe.skip('Overview Page', () => {
|
||||
before(() => {
|
||||
cy.stubSecurityApi('overview');
|
||||
loginAndWaitForPage(OVERVIEW_URL);
|
||||
|
|
|
@ -12,7 +12,7 @@ import { hostIpFilter } from '../objects/filter';
|
|||
import { HOSTS_URL } from '../urls/navigation';
|
||||
import { waitForAllHostsToBeLoaded } from '../tasks/hosts/all_hosts';
|
||||
|
||||
describe('SearchBar', () => {
|
||||
describe.skip('SearchBar', () => {
|
||||
before(() => {
|
||||
loginAndWaitForPage(HOSTS_URL);
|
||||
waitForAllHostsToBeLoaded();
|
||||
|
|
|
@ -234,7 +234,7 @@ describe('url state', () => {
|
|||
cy.get(KQL_INPUT).should('have.attr', 'value', 'source.ip: "10.142.0.9"');
|
||||
});
|
||||
|
||||
it('sets and reads the url state for timeline by id', () => {
|
||||
it.skip('sets and reads the url state for timeline by id', () => {
|
||||
loginAndWaitForPage(HOSTS_URL);
|
||||
openTimeline();
|
||||
executeTimelineKQL('host.name: *');
|
||||
|
|
Loading…
Reference in a new issue