Supercharging e2e Testing with Cypress and Airbyte’s Config API
During Hack Days at Airbyte, a two-day objective was set to boost the speed of their front-end end-to-end (e2e) test suite. The team optimized the e2e suite using Airbyte's Config API to generate fixtures for sources, destinations, and connections. They aimed to reduce the slowest suite's runtime by about 30%. With previous groundwork in place, they were able to leverage the config API in three suites, remove redundant tests from three suites, and increase coverage in others. The result was an overall decrease in frontend e2e runtime of ~60% and a significant reduction in runtime within the slowest suite (~96%). Some tests were moved or added/removed to improve reliability and debugging capabilities.
Company
Airbyte
Date published
May 31, 2023
Author(s)
Teal Larson
Word count
306
Language
English
Hacker News points
None found.