-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: no refund file download in mobile EVM browser
- Loading branch information
1 parent
dfc9e89
commit ecb4fed
Showing
5 changed files
with
45 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { test } from "@playwright/test"; | ||
|
||
import dict from "../../src/i18n/i18n"; | ||
|
||
test.describe("EVM no browser wallet", () => { | ||
test("should show when no browser wallet is detected", async ({ page }) => { | ||
await page.goto("/"); | ||
|
||
await page | ||
.locator( | ||
"div:nth-child(3) > .asset-wrap > .asset > .asset-selection", | ||
) | ||
.click(); | ||
await page.getByTestId("select-RBTC").click(); | ||
|
||
await page | ||
.getByRole("button", { name: dict.en.connect_wallet }) | ||
.click(); | ||
|
||
// Click it to make sure it exists | ||
await page | ||
.getByRole("heading", { name: dict.en.no_browser_wallet }) | ||
.click(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters