[Testing] Migrate functional tests and remove selenium #2491
Labels
low priority
technical debt
If not paid, jeapardizes long-term success and maintainability of the repository.
test:functional
Introduction
The testing ecosystem in OpenSearch Dashboards uses Selenium and an installation of Chrome, along with Jest’s Jasmin2. As of June 2021, OpenSearch Dashboards has around 700 functional tests developed in Jest and Selenium. Testing with Selenium is notorious for being flaky and we have had to patch Jasmin2 and other Jest components to partially fight this flakiness. Additionally tests take a long time to run and modern choices are shown to be 25% faster; that sums up to 1.5 hours faster tests.
The official functional testing repository for OpenSearch dashboards is now opensearch-dashboards-functional-test. We need to migrate all our existing Selenium based function tests to the new repository.
Pros of shifting from Selenium to Cypress:
Cons of shifting from Selenium to Cypress:
Tasks
Tasks are break down to three major parts, research, proposal and implementation.
Research
Proposal
Implementation
The text was updated successfully, but these errors were encountered: