Skip to content

Commit

Permalink
Switch e2e tests run on Goerli to Sepolia (#3719)
Browse files Browse the repository at this point in the history
With Sepolia being deprecated with end of 2023 we need to switch the e2e
tests that are run on that testnet to a different testnet. Instead of
Goerli we'll use Ethereum Sepolia.

Latest build:
[extension-builds-3719](https://github.com/tahowallet/extension/suites/19268527822/artifacts/1131173020)
(as of Fri, 22 Dec 2023 13:25:40 GMT).
  • Loading branch information
xpaczka authored Dec 27, 2023
2 parents ca7baad + cdd7111 commit 51bf202
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions e2e-tests/regular/transactions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { test, expect } from "../utils"
import { account2 } from "../utils/onboarding"

test.describe("Transactions", () => {
test("User can send base asset (on Goerli testnet) @expensive", async ({
test("User can send base asset (on Sepolia testnet) @expensive", async ({
page: popup,
walletPageHelper,
transactionsHelper,
Expand Down Expand Up @@ -45,15 +45,15 @@ test.describe("Transactions", () => {
.click()

/**
* Switch to Goerli testnet.
* Switch to Sepolia testnet.
*/
await popup.getByTestId("top_menu_network_switcher").last().click()
await popup
.getByText(/^Ethereum Goerli$/)
.getByText(/^Ethereum Sepolia$/)
.last()
.click()
await walletPageHelper.assertCommonElements(
/^Ethereum Goerli$/,
/^Ethereum Sepolia$/,
true,
account2.name,
)
Expand Down Expand Up @@ -82,7 +82,7 @@ test.describe("Transactions", () => {
* isn't active.
*/
await transactionsHelper.assertUnfilledSendAssetScreen(
/^Ethereum Goerli$/,
/^Ethereum Sepolia$/,
account2.name,
"ETH",
"(\\d|,)+(\\.\\d{0,4})*",
Expand Down Expand Up @@ -118,7 +118,7 @@ test.describe("Transactions", () => {
* Check if "Transfer" has opened and verify elements on the page.
*/
await transactionsHelper.assertTransferScreen(
"Ethereum Goerli",
"Ethereum Sepolia",
"testertesting\\.eth",
"0x47745a7252e119431ccf973c0ebd4279638875a6",
"0x4774…875a6",
Expand Down Expand Up @@ -150,7 +150,7 @@ test.describe("Transactions", () => {
*/
await expect(popup.getByTestId("activity_list")).toHaveCount(1)
await assetsHelper.assertAssetDetailsPage(
/^Ethereum Goerli$/,
/^Ethereum Sepolia$/,
account2.name,
/^ETH$/,
/^(\d|,)+(\.\d{0,4})*$/,
Expand Down Expand Up @@ -207,7 +207,7 @@ test.describe("Transactions", () => {
* Verify elements on the activity screen
*/
await walletPageHelper.assertCommonElements(
/^Ethereum Goerli$/,
/^Ethereum Sepolia$/,
true,
account2.name,
)
Expand Down

0 comments on commit 51bf202

Please sign in to comment.