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

[Automation] Improve testing experience with FTR #53117

Open
1 of 4 tasks
dmlemeshko opened this issue Dec 16, 2019 · 4 comments
Open
1 of 4 tasks

[Automation] Improve testing experience with FTR #53117

dmlemeshko opened this issue Dec 16, 2019 · 4 comments
Labels
automation Meta Team:QA Team label for QA Team

Comments

@dmlemeshko
Copy link
Member

dmlemeshko commented Dec 16, 2019

Summary

The purpose is to collect the pain points we face today in the test automation process and FTR as a solution specifically, discuss possible solutions and work on it.

Areas to improve/ issues

  • Hard to use Page Objects files
    Some POs are way too large (vizualize_page.js, dashboard_page.js) and are not in TS yet, that slows down the process of adding/updating tests and keeping track of available functions.

    • proposal: split functions between several POs and services (visualize, visualize_editor, etc.) and convert current ones into TS.
  • Current E2E tests are slow and repetitive in preconditions
    Most of the tests have similar preconditions that we do via UI (e.g. date picker setup). It does not only take time but also may introduce additional flakiness though it is not the main functionality to be tested in particular tests.

    • proposal: launch Kibana with custom state and avoid doing UI pre-conditions
  • Improve FTR config type safety Improve FTR config type safety #69393

  • Provide API to inspect FTR state Provide API to inspect FTR state #98311

@dmlemeshko
Copy link
Member Author

@elastic/kibana-qa @spalger

@mshustov
Copy link
Contributor

mshustov commented Jan 2, 2020

Other pain points:

  • hard to understand the final config after all merges. Is it possible to add a flag to show the final config result for a file?
  • no docs. The readme file is outdated.
  • dynamic nature of getService(…) makes impossible to track deps. TS solves the problem partially.
  • Security/Spaces models are not centralized. Should we document them and make reusable?

@mshustov
Copy link
Contributor

Is it possible to use another assertion library in FTR? jest, for example. I understand it can be incompatible with a reporter or a test runner. Although it's the de-facto standard for our unit and integration tests.

@watson
Copy link
Contributor

watson commented Jul 24, 2023

I'm cleaning up stale Developer Experience issues and came across this one. It's been a while since this issue was raised, and a lot have happened with FTR in the meantime. Is this still a problem, or can we close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Meta Team:QA Team label for QA Team
Projects
None yet
Development

No branches or pull requests

3 participants