Search code examples
javascripttestingautomationcypress

how to change the test file run order in cypress in run time


I have 3 different test files

1- testfile-1.js 2- testfile-2.js 3- testfiles-3.js

i can change the test file running order using testfiles feature in cypress.config file but i want to change the order runtime not hard coded.

looking for the solution

Regards


Solution

  • i found a way

    {
    "chromeWebSecurity": false,
    

    }

    paste this in cypress.json and it will allow the external iframes to work in cypress