[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"
|
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 ""
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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: *');
|
||||||
|
|
Loading…
Reference in a new issue