From 4c49bc98cebd902fe5f8e79de99c82b26a3137c2 Mon Sep 17 00:00:00 2001 From: pcheremu Date: Wed, 6 Dec 2023 13:47:20 +0300 Subject: [PATCH] test: update tests for sepolia --- packages/app/cucumber.mjs | 2 +- .../tests/e2e/features/artifacts/artifactsSet1.feature | 1 + .../e2e/features/redirection/redirectionSet3.feature | 9 +++++---- packages/app/tests/e2e/src/data/data.ts | 1 + 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/app/cucumber.mjs b/packages/app/cucumber.mjs index 92b66724c3..a9a2bc4cbd 100644 --- a/packages/app/cucumber.mjs +++ b/packages/app/cucumber.mjs @@ -16,7 +16,7 @@ export default { "summary", "progress-bar", "@cucumber/pretty-formatter", - "./tests/e2e/src/support/reporters/allure-reporter.js", + // "./tests/e2e/src/support/reporters/allure-reporter.js", ], formatOptions: { snippetInterface: "async-await" }, worldParameters: getWorldParams(), diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index c001055d46..4b1cb560f2 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -94,6 +94,7 @@ Feature: Main Page Examples: | Value | Dropdown | | zkSync Era Goerli Testnet | network | + | zkSync Era Sepolia Testnet | network | Scenario: Network stats is displayed Then Element with "text" "Network Stats" should be "visible" diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet3.feature b/packages/app/tests/e2e/features/redirection/redirectionSet3.feature index 3d6c238a45..1491fc56b8 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet3.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet3.feature @@ -65,7 +65,7 @@ Feature: Redirection | /address/0x000000000000000000000000000000000000800A | zkSync Era Goerli Testnet | /address/0x000000000000000000000000000000000000800A/?network=goerli | | /address/0x000000000000000000000000000000000000800A | Goerli (Stage2) | /address/0x000000000000000000000000000000000000800A/?network=goerli-beta | | /address/0x000000000000000000000000000000000000800A | zkSync Era Mainnet | /address/0x000000000000000000000000000000000000800A/?network=mainnet | - | /address/0x000000000000000000000000000000000000800A | zkSync Era Sepolia Testnet | /address/0x000000000000000000000000000000000000800A/?network=sepolia | + | /address/0x000000000000000000000000000000000000800A | zkSync Era Sepolia Testnet | /address/0x000000000000000000000000000000000000800A/?network=sepolia | @id561:I @id562:I @id563:I @productionEnv Scenario Outline: Verify redirection to "" network @@ -74,6 +74,7 @@ Feature: Redirection Then Current page have "" address Examples: - | Initial page | Network | url | - | /address/0x000000000000000000000000000000000000800A | zkSync Era Mainnet | /address/0x000000000000000000000000000000000000800A/?network=mainnet | - | /address/0x000000000000000000000000000000000000800A | zkSync Era Goerli Testnet | /address/0x000000000000000000000000000000000000800A/?network=goerli | + | Initial page | Network | url | + | /address/0x000000000000000000000000000000000000800A | zkSync Era Mainnet | /address/0x000000000000000000000000000000000000800A | + | /address/0x000000000000000000000000000000000000800A | zkSync Era Goerli Testnet | /address/0x000000000000000000000000000000000000800A | + | /address/0x000000000000000000000000000000000000800A | zkSync Era Sepolia Testnet | /address/0x000000000000000000000000000000000000800A | diff --git a/packages/app/tests/e2e/src/data/data.ts b/packages/app/tests/e2e/src/data/data.ts index 1fe9fa5a43..64b8362960 100644 --- a/packages/app/tests/e2e/src/data/data.ts +++ b/packages/app/tests/e2e/src/data/data.ts @@ -2,4 +2,5 @@ export enum NetworkSwitcher { zkSyncEraGoerli = "/?network=goerli", goerliStage2 = "/?network=goerli-beta", zkSyncEraMainnet = "/?network=mainnet", + zkSyncEraSepolia = "/?network=sepolia", }