-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[APM] Refactor Cypress e2e tests #109024
Conversation
sorenlouv
commented
Aug 18, 2021
•
edited
Loading
edited
- Update documentation and some naming
- Only run archives once before starting tests (instead of before every test)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sqren I see that the deep_links tests are failing here too, could you skip them for now? |
8049f83
to
62bdca3
Compare
Co-authored-by: Nathan L Smith <[email protected]>
@@ -33,6 +33,7 @@ async function config({ readConfigFile }: FtrConfigProviderContext) { | |||
...xpackFunctionalTestsConfig.get('kbnTestServer'), | |||
serverArgs: [ | |||
...xpackFunctionalTestsConfig.get('kbnTestServer.serverArgs'), | |||
'--home.disableWelcomeScreen=true', |
There was a problem hiding this comment.
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' | ||
// ); | ||
// }); | ||
// }); |
There was a problem hiding this comment.
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
jenkins run the e2e |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
* 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]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* 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]>