diff --git a/.github/workflows/app-deploy-feature-branch.yml b/.github/workflows/app-deploy-feature-branch.yml index 5b862b4edd..7701b73b8a 100644 --- a/.github/workflows/app-deploy-feature-branch.yml +++ b/.github/workflows/app-deploy-feature-branch.yml @@ -75,4 +75,4 @@ jobs: targetUrl: ${{ needs.build.outputs.dappUrl }} default_network_value_for_e2e: "/?network=mainnet" publish_to_allure: true - environmentTags: "and not @stagingEnv" + environmentTags: "and not @productionEnv" diff --git a/.gitignore b/.gitignore index 497bd3e2a4..fe4a77a6c7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ volumes cypress/videos/ cypress/screenshots/ tests/e2e/reports/ -tests/e2e/artifacts/ +**/tests/e2e/artifacts/ # Logs logs diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 48fb7e8fb2..cf5f9e2ccc 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -28,7 +28,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Portal | https://staging-portal.zksync.dev/ | - @id253:I @stagingEnv @testnet + @id253:I @productionEnv @testnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href Given I click by text "Tools" Given Element with "text" "" should be "visible" @@ -40,7 +40,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Portal | https://goerli.portal.zksync.io/ | - @id253:I @stagingEnv @mainnet + @id253:I @productionEnv @mainnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href Given I click by text "Tools" Given Element with "text" "" should be "visible" @@ -71,7 +71,6 @@ Feature: Main Page Examples: | Value | Dropdown | - | zkSync Era Goerli Testnet | network | | zkSync Era Mainnet | network | | EN | language | | UA | language | @@ -81,9 +80,20 @@ Feature: Main Page Given Set the "" value for "" switcher Then Check the "" value is actual for "" switcher + Examples: + | Value | Dropdown | + | zkSync Era Sepolia Testnet | network | + | zkSync Era Goerli Testnet | network | + | Goerli (Stage2) | network | + + @id254:II @productionEnv + Scenario Outline: Check dropdown "" for "" and verify + Given Set the "" value for "" switcher + Then Check the "" value is actual for "" switcher + Examples: | Value | Dropdown | - | Goerli (Stage2) | network | + | zkSync Era 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/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index 5d5883cfc4..ab2e4c44a9 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -67,15 +67,15 @@ Feature: Redirection | Portal | https://goerli.staging-portal.zksync.dev/ | - @id253:IIII @stagingEnv @testnet + @id253:IIII @productionEnv @testnet Scenario Outline: Verify redirection for "" in Tools menu Given I click by text "Tools " - When I click by element with partial href "" and text "" + When I click by element with partial href "" and text "" Then New page have "" address Examples: - | Sub-Section | url | - | Portal | https://goerli.portal.zksync.io/ | + | Sub-Section | url | redirect_url | + | Portal | https://zksync.io/explore#bridges | https://goerli.portal.zksync.io | @id253:IV @featureEnv @mainnet Scenario Outline: Verify redirection for "" in Tools menu @@ -88,15 +88,15 @@ Feature: Redirection | Portal | https://staging-portal.zksync.dev/ | - @id253:IV @stagingEnv @mainnet + @id253:IV @productionEnv @mainnet Scenario Outline: Verify redirection for "" in Tools menu Given I click by text "Tools " - When I click by element with partial href "" and text "" + When I click by element with partial href "" and text "" Then New page have "" address Examples: - | Sub-Section | url | - | Portal | https://portal.zksync.io/ | + | Sub-Section | url | redirect_url | + | Portal | https://zksync.io/explore#bridges | https://portal.zksync.io | #Account page @id259 @testnet diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet3.feature b/packages/app/tests/e2e/features/redirection/redirectionSet3.feature index d66eee55cb..9e8f9ed129 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet3.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet3.feature @@ -64,9 +64,10 @@ Feature: Redirection | Initial page | Network | url | | /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 Mainnet | /address/0x000000000000000000000000000000000000800A/?network=mainnet | + | /address/0x000000000000000000000000000000000000800A | zkSync Era Sepolia Testnet | /address/0x000000000000000000000000000000000000800A/?network=sepolia | - @id561:I @id562:I @id563:I @stagingEnv + @id561:I @id562:I @id563:I @productionEnv Scenario Outline: Verify redirection to "" network Given I go to page "" When Set the "" value for "network" switcher @@ -75,4 +76,4 @@ Feature: Redirection Examples: | Initial page | Network | url | | /address/0x000000000000000000000000000000000000800A | zkSync Era Mainnet | /address/0x000000000000000000000000000000000000800A/?network=mainnet | - | /address/0x000000000000000000000000000000000000800A | zkSync Era Goerli Testnet | /address/0x000000000000000000000000000000000000800A/?network=goerli | + | /address/0x000000000000000000000000000000000000800A | zkSync Era Testnet | /address/0x000000000000000000000000000000000000800A/?network=goerli |