Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APM] Refactor Cypress e2e tests #109024

Merged
merged 8 commits into from
Aug 19, 2021

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Aug 18, 2021

  • Update documentation and some naming
  • Only run archives once before starting tests (instead of before every test)

@sorenlouv sorenlouv requested a review from a team as a code owner August 18, 2021 00:08
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Aug 18, 2021
@sorenlouv sorenlouv added release_note:skip Skip the PR/issue when compiling release notes v7.15.0 labels Aug 18, 2021
Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@mistic mistic added v7.16.0 and removed v7.15.0 labels Aug 18, 2021
x-pack/plugins/apm/readme.md Outdated Show resolved Hide resolved
@cauemarcondes
Copy link
Contributor

@sqren I see that the deep_links tests are failing here too, could you skip them for now?

@sorenlouv sorenlouv changed the title Update script to setup users and roles [APM] Refactor Cypress e2e tests Aug 19, 2021
@@ -33,6 +33,7 @@ async function config({ readConfigFile }: FtrConfigProviderContext) {
...xpackFunctionalTestsConfig.get('kbnTestServer'),
serverArgs: [
...xpackFunctionalTestsConfig.get('kbnTestServer.serverArgs'),
'--home.disableWelcomeScreen=true',
Copy link
Member Author

Choose a reason for hiding this comment

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

This was causing the initial test to fail

// 'No items found'
// );
// });
// });
Copy link
Member Author

Choose a reason for hiding this comment

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

I've disabled testing the empty states for now. We can discuss what a good setup would be for running tests with different data requirements

@sorenlouv
Copy link
Member Author

jenkins run the e2e

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 4.4MB 4.4MB +967.0B

History

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

@sorenlouv sorenlouv added the auto-backport Deprecated - use backport:version if exact versions are needed label Aug 19, 2021
@sorenlouv sorenlouv merged commit a93a7ef into elastic:master Aug 19, 2021
@sorenlouv sorenlouv deleted the update-security-script branch August 19, 2021 14:46
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 19, 2021
* Improve script to setup users and roles

* fix readme

* CI fixes

* add index permissions to roles

* disable welcome screen

* Run es archive once before tests

* Fix ts issues

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Nathan L Smith <[email protected]>

Co-authored-by: Nathan L Smith <[email protected]>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Aug 19, 2021
* Improve script to setup users and roles

* fix readme

* CI fixes

* add index permissions to roles

* disable welcome screen

* Run es archive once before tests

* Fix ts issues

* Update x-pack/plugins/apm/readme.md

Co-authored-by: Nathan L Smith <[email protected]>

Co-authored-by: Nathan L Smith <[email protected]>

Co-authored-by: Søren Louv-Jansen <[email protected]>
Co-authored-by: Nathan L Smith <[email protected]>
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:APM All issues that need APM UI Team support v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants