[SIEM] Reenabling Cypress tests (#70397)

* reenabling cypress

* skips Overview tests

* skips search bar test

* skips URL test
This commit is contained in:
MadameSheema 2020-07-02 07:49:01 +02:00 committed by GitHub
parent 0f7afd4402
commit 257c115f66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 13 deletions

View file

@ -11,16 +11,11 @@ export KIBANA_INSTALL_DIR="$destDir"
echo " -> Running security solution cypress tests" echo " -> Running security solution cypress tests"
cd "$XPACK_DIR" cd "$XPACK_DIR"
# Failures across multiple suites, skipping all checks-reporter-with-killswitch "Security solution Cypress Tests" \
# https://github.com/elastic/kibana/issues/69847 node scripts/functional_tests \
# https://github.com/elastic/kibana/issues/69848 --debug --bail \
# https://github.com/elastic/kibana/issues/69849 --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 ""
echo "" echo ""

View file

@ -11,7 +11,7 @@ import { loginAndWaitForPage } from '../tasks/login';
import { OVERVIEW_URL } from '../urls/navigation'; import { OVERVIEW_URL } from '../urls/navigation';
describe('Overview Page', () => { describe.skip('Overview Page', () => {
before(() => { before(() => {
cy.stubSecurityApi('overview'); cy.stubSecurityApi('overview');
loginAndWaitForPage(OVERVIEW_URL); loginAndWaitForPage(OVERVIEW_URL);

View file

@ -12,7 +12,7 @@ import { hostIpFilter } from '../objects/filter';
import { HOSTS_URL } from '../urls/navigation'; import { HOSTS_URL } from '../urls/navigation';
import { waitForAllHostsToBeLoaded } from '../tasks/hosts/all_hosts'; import { waitForAllHostsToBeLoaded } from '../tasks/hosts/all_hosts';
describe('SearchBar', () => { describe.skip('SearchBar', () => {
before(() => { before(() => {
loginAndWaitForPage(HOSTS_URL); loginAndWaitForPage(HOSTS_URL);
waitForAllHostsToBeLoaded(); waitForAllHostsToBeLoaded();

View file

@ -234,7 +234,7 @@ describe('url state', () => {
cy.get(KQL_INPUT).should('have.attr', 'value', 'source.ip: "10.142.0.9"'); 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); loginAndWaitForPage(HOSTS_URL);
openTimeline(); openTimeline();
executeTimelineKQL('host.name: *'); executeTimelineKQL('host.name: *');