Skip to content

Commit

Permalink
Mark test as fail if balance is zero
Browse files Browse the repository at this point in the history
  • Loading branch information
davibroc committed Nov 27, 2024
1 parent 5d3cfd0 commit 04fca2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/playwright/shared/pageObjects/wallet-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class WalletPage {
async selectSwapAction() {
await this.swapButton.waitFor({ state: 'visible' });
await this.swapButton.click();
await this.page.waitForTimeout(3000);
await this.page.waitForTimeout(5000);
}

async selectActivityList() {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/playwright/swap/specs/swap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ testSet.forEach((options) => {
}
} else {
log.error(`\tERROR: Token balance is zero. Skipping test`);
test.skip();
test.fail();
}
});
});

0 comments on commit 04fca2d

Please sign in to comment.