okTurtles / group-income

A decentralized and private (end-to-end encrypted) financial safety net for you and your friends.
https://groupincome.org
GNU Affero General Public License v3.0
331 stars 44 forks source link

add `bypassUI: true` option for `cy.giAddRandomIncome()` in `group-large.spec.js` #2342

Closed SebinSong closed 1 month ago

SebinSong commented 2 months ago

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 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.

Solution

Implement it