Skip to content

Commit

Permalink
assert 20 bounties
Browse files Browse the repository at this point in the history
  • Loading branch information
Vayras committed Apr 1, 2024
1 parent a7b2252 commit b3482a3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Admin Custom Date Input', () => {
});

it('should create 22 bounties, navigate to admin page, and assert custom date input functionality', () => {
for (let i = 1; i <= 4; i++) {
for (let i = 1; i <= 22; i++) {
const updatedBounty = { ...bounty, title: `Admin${i}` };
cy.create_bounty(updatedBounty);
cy.wait(1000);
Expand Down Expand Up @@ -70,6 +70,10 @@ describe('Admin Custom Date Input', () => {

cy.get('[data-testid="month"]').contains(`${formattedDate} - ${formattedDate2}`);

for (let i = 1; i <= 22; i++) {
cy.contains(`Admin${i}`);
}

cy.logout(activeUser);
});
});

0 comments on commit b3482a3

Please sign in to comment.