Skip to content

Commit

Permalink
Update failing Security tests with extra nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Aug 25, 2021
1 parent f7c240a commit d3ce53e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/security_solution/cypress/tasks/alerts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const viewThreatDetails = () => {
export const setEnrichmentDates = (from?: string, to?: string) => {
cy.get(ENRICHMENT_QUERY_RANGE_PICKER).within(() => {
if (from) {
cy.get(ENRICHMENT_QUERY_START_INPUT).type(`{selectall}${from}{enter}`);
cy.get(ENRICHMENT_QUERY_START_INPUT).first().type(`{selectall}${from}{enter}`);
}
if (to) {
cy.get(ENRICHMENT_QUERY_END_INPUT).type(`{selectall}${to}{enter}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ describe('EnrichmentRangePicker', () => {

wrapper
.find('input.start-picker')
.first()
.simulate('change', { target: { value: '08/10/2019 06:29 PM' } });
wrapper.find('[data-test-subj="enrichment-button"]').hostNodes().simulate('click');

Expand Down

0 comments on commit d3ce53e

Please sign in to comment.