Skip to content

[Security Solutions] Fixes cypress flake across two tests seen happening on PR's#105645

Merged
FrankHassanabad merged 2 commits intoelastic:masterfrom
FrankHassanabad:cypress-flake
Jul 14, 2021
Merged

[Security Solutions] Fixes cypress flake across two tests seen happening on PR's#105645
FrankHassanabad merged 2 commits intoelastic:masterfrom
FrankHassanabad:cypress-flake

Conversation

@FrankHassanabad
Copy link
Copy Markdown
Contributor

@FrankHassanabad FrankHassanabad commented Jul 14, 2021

Summary

  • Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
  • There are problems with how the cy.intercept is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into 7.14 to add stability to 7.14 tests as well.

Checklist

@FrankHassanabad FrankHassanabad added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Detections and Resp Security Detection Response Team Team:Threat Hunting Security Solution Threat Hunting Team auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Jul 14, 2021
@FrankHassanabad FrankHassanabad self-assigned this Jul 14, 2021
@FrankHassanabad FrankHassanabad requested a review from a team as a code owner July 14, 2021 17:22
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@FrankHassanabad FrankHassanabad enabled auto-merge (squash) July 14, 2021 17:25
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @FrankHassanabad

Copy link
Copy Markdown
Contributor

@dplumlee dplumlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@FrankHassanabad FrankHassanabad merged commit b31b1a2 into elastic:master Jul 14, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
## Summary

* Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
* There are problems with how the `cy.intercept` is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into `7.14` to add stability to `7.14` tests as well.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
## Summary

* Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
* There are problems with how the `cy.intercept` is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into `7.14` to add stability to `7.14` tests as well.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
7.14
7.x

The backport PRs will be merged automatically after passing CI.

@FrankHassanabad FrankHassanabad deleted the cypress-flake branch July 14, 2021 21:09
kibanamachine added a commit that referenced this pull request Jul 14, 2021
## Summary

* Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
* There are problems with how the `cy.intercept` is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into `7.14` to add stability to `7.14` tests as well.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
FrankHassanabad added a commit to FrankHassanabad/kibana that referenced this pull request Jul 14, 2021
## Summary

* Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
* There are problems with how the `cy.intercept` is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into `7.14` to add stability to `7.14` tests as well.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jul 15, 2021
…-png-pdf-report-type

* 'master' of github.com:elastic/kibana: (75 commits)
  [Search Sessions] Don’t try to delete errored searches (elastic#105434)
  [Search Sessions] fix saved object can be created even if courier:batchSearches is enabled (elastic#105407)
  [Remote Clusters] Fixed remote clusters details flyout for long strings (elastic#105592)
  [ML] Functional tests - re-activate a11y tests (elastic#105198)
  [APM] Typed client-side routing (elastic#104274)
  [Canvas] Expression error (elastic#103048)
  [ML] Fixing job wizard with missing description (elastic#105574)
  [Security Solution][Alerts] - Add alerts subfeature UI (elastic#105505)
  Upgrade EUI to v35.0.0 (elastic#105127)
  [Reporting] Clean up types for internal APIs needed for UI (elastic#105508)
  skip flaky suite (elastic#105087)
  [Workplace Search] Fix Chrome issues with GitHub sources (elastic#105680)
  [Fleet] Add containerized fleet server instructions to Fleet README (elastic#105669)
  [ML] Add api integration test for analytics map endpoint  (elastic#105531)
  Fixes cypress flake across two tests (elastic#105645)
  [Logs&Metrics UI] add owner properties to plugin manifest (elastic#105580)
  chore(NA): introduce preset for jest-integration tests on @kbn/test (elastic#105144)
  [Enterprise Search] Added Thumbnails to Search UI (elastic#104199)
  Translate App Search credentials list (elastic#105619)
  [APM] APM agent config created prior to Fleet migration is not injected into integration policy (elastic#105504)
  ...

# Conflicts:
#	x-pack/plugins/reporting/common/types.ts
#	x-pack/plugins/reporting/public/management/report_listing.test.tsx
kibanamachine added a commit that referenced this pull request Jul 15, 2021
## Summary

* Fixes flake where it looks like pre-built rules can take longer than 1 minute to load, so I increased that to 5 minutes
* There are problems with how the `cy.intercept` is not always working on CI we don't understand yet, so I am removing the failing call but keeping the rest of the test for the failure.

Backporting these two into `7.14` to add stability to `7.14` tests as well.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Detections and Resp Security Detection Response Team Team:Threat Hunting Security Solution Threat Hunting Team v7.14.0 v7.15.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants