in group-large.spec.js, there is a test step where a group with a large number of members (currently 12) is created. This test involves a repetitive step where many members add their income-details (which is cy.giAddRandomIncome()) but this is currently done in a manual way (by launching the IncomeDetails modal, typing the info, and clicking submit button etc..)
By implementing bypassUI: true option for this command, the test duration can be reduced.
Problem
in
group-large.spec.js
, there is a test step where a group with a large number of members (currently 12) is created. This test involves a repetitive step where many members add their income-details (which iscy.giAddRandomIncome()
) but this is currently done in a manual way (by launching theIncomeDetails
modal, typing the info, and clicking submit button etc..) By implementingbypassUI: true
option for this command, the test duration can be reduced.Solution
Implement it