Skip to content

Commit

Permalink
Remove zero balance check
Browse files Browse the repository at this point in the history
  • Loading branch information
davibroc committed Nov 27, 2024
1 parent 6eda1a5 commit 9734c2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/playwright/swap/pageObjects/swap-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class SwapPage {
this.swapFromDropDown.click();
await this.selectTokenFromList(options.from);
}

/*
const balanceString = await this.page
.locator('[class*="balance"]')
.first()
Expand All @@ -82,7 +82,7 @@ export class SwapPage {
return false;
}
}

*/
// Enter Swap Quantity
await this.tokenQty.fill(options.qty);
this.swapQty = options.qty;
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 @@ -111,7 +111,7 @@ testSet.forEach((options) => {
}
} else {
log.error(`\tERROR: Token balance is zero. Skipping test`);
test.fail();
//test.skip();
}
});
});

0 comments on commit 9734c2d

Please sign in to comment.