Stabilize BVT Testing in Cypress

Leo Lin
Mar 12, 2021

Junyi use Cypress to build our BVT Testing. But we need to skip some of the tests since they aren’t stable. This short article will show you the reason and how we fix it.

Unstable Version

Stable Version

Reason

Cypress ensure the Automatic Waiting only if the function wrapped in a cy chain. Use invoke if you want to invoke functions synchronously with normal cy commands.

--

--