Skip to content

Commit

Permalink
[SIEM] Fixes Cypress 'Search Bar' test (#69952)
Browse files Browse the repository at this point in the history
* fixes 'Search Bar' test

* [DEBUG] executes only Security Cypress tests

* Revert "[DEBUG] executes only Security Cypress tests"

This reverts commit e727790.

* [DEBUG] executes only Security Cypress tests

* [DEBUG] fixes jenkins file

* [DEBUG] fixes Jenkinsfile

* Revert "[DEBUG] fixes Jenkinsfile"

This reverts commit 8f42e82.

* Revert "[DEBUG] fixes jenkins file"

This reverts commit 9848746.

* Revert "[DEBUG] executes only Security Cypress tests"

This reverts commit 6a08930.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
MadameSheema and elasticmachine authored Jun 29, 2020
1 parent 8ffdd45 commit 2a25df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { hostIpFilter } from '../objects/filter';
import { HOSTS_URL } from '../urls/navigation';
import { waitForAllHostsToBeLoaded } from '../tasks/hosts/all_hosts';

// FAILING: https://github.com/elastic/kibana/issues/69595
describe.skip('SearchBar', () => {
describe('SearchBar', () => {
before(() => {
loginAndWaitForPage(HOSTS_URL);
waitForAllHostsToBeLoaded();
Expand Down
2 changes: 2 additions & 0 deletions x-pack/plugins/security_solution/cypress/tasks/search_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export const openAddFilterPopover = () => {
};

export const fillAddFilterForm = ({ key, value }: SearchBarFilter) => {
cy.get(ADD_FILTER_FORM_FIELD_INPUT).should('exist');
cy.get(ADD_FILTER_FORM_FIELD_INPUT).should('be.visible');
cy.get(ADD_FILTER_FORM_FIELD_INPUT).type(key);
cy.get(ADD_FILTER_FORM_FIELD_INPUT).click();
cy.get(ADD_FILTER_FORM_FIELD_OPTION(key)).click({ force: true });
Expand Down

0 comments on commit 2a25df3

Please sign in to comment.