Skip to content

Commit

Permalink
test: extend the buttons visibility test
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrasinskis committed Sep 25, 2024
1 parent 28f7984 commit d88629c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/tests/routes/app/tokens/page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ describe("Tokens route", () => {
}
});

it("should not display goto dashboard for not failed tokens", async () => {
it("should not display failed token actions for not failed tokens", async () => {
const po = await renderPage();
const tokensPagePo = po.getTokensPagePo();
const ckBTCTokenRow = await tokensPagePo
Expand All @@ -805,9 +805,15 @@ describe("Tokens route", () => {
expect(
await ckBTCTokenRow.getGoToDashboardButton().isPresent()
).toEqual(false);
expect(await ckBTCTokenRow.getRemoveActionButton().isPresent()).toEqual(
false
);
expect(
await notFailedTokenRow.getGoToDashboardButton().isPresent()
).toEqual(false);
expect(
await notFailedTokenRow.getRemoveActionButton().isPresent()
).toEqual(false);
});

it("should have view on dashboard action button", async () => {
Expand Down

0 comments on commit d88629c

Please sign in to comment.