diff --git a/.github/workflows/app-deploy-feature-branch.yml b/.github/workflows/app-deploy-feature-branch.yml index 7701b73b8a..8d3debee5a 100644 --- a/.github/workflows/app-deploy-feature-branch.yml +++ b/.github/workflows/app-deploy-feature-branch.yml @@ -66,13 +66,14 @@ jobs: mainnet: needs: build - name: Feature Env, Mainnet+ + name: Feature on Mainnet + Sepolia uses: ./.github/workflows/app-e2e.yml secrets: inherit permissions: contents: read with: targetUrl: ${{ needs.build.outputs.dappUrl }} + testnet_network_value_for_e2e: "/?network=sepolia" default_network_value_for_e2e: "/?network=mainnet" publish_to_allure: true environmentTags: "and not @productionEnv" diff --git a/.github/workflows/app-deploy-preview.yml b/.github/workflows/app-deploy-preview.yml index 1e371e4637..dc14276de3 100644 --- a/.github/workflows/app-deploy-preview.yml +++ b/.github/workflows/app-deploy-preview.yml @@ -63,13 +63,14 @@ jobs: mainnet: needs: deploy - name: Staging Env, Mainnet+ + name: Staging on Mainnet + Sepolia uses: ./.github/workflows/app-e2e.yml secrets: inherit permissions: contents: read with: targetUrl: ${{ needs.deploy.outputs.dappUrl }} + testnet_network_value_for_e2e: "/?network=sepolia" default_network_value_for_e2e: "/?network=mainnet" publish_to_allure: true environmentTags: "and not @featureEnv" diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index e288cd6a8e..354c768469 100644 --- a/.github/workflows/app-e2e.yml +++ b/.github/workflows/app-e2e.yml @@ -19,6 +19,10 @@ on: type: string default: '/?network=mainnet' required: true + testnet_network_value_for_e2e: + type: string + default: '/?network=sepolia' + required: true publish_to_allure: #Here we define the variable that can be overwritten by caller workflow type: boolean description: "Publish test results to allure" @@ -100,7 +104,7 @@ jobs: echo "Run tests" if [ "${{ matrix.tags }}" = "@testnetSmokeSuite" ]; then echo "Run in testnetSmokeSuite only" - E2ENETWORK='/?network=goerli' npx cucumber-js --tags "${{ matrix.tags }} ${{ inputs.environmentTags }} and not @mainnet" + E2ENETWORK='${{ inputs.testnet_network_value_for_e2e }}' npx cucumber-js --tags "${{ matrix.tags }} ${{ inputs.environmentTags }} and not @mainnet" else echo "Run in mainnet" E2ENETWORK='${{ inputs.default_network_value_for_e2e }}' npx cucumber-js --tags "${{ matrix.tags }} ${{ inputs.environmentTags }} and not @testnet" diff --git a/.gitignore b/.gitignore index fe4a77a6c7..ecbf0116b8 100644 --- a/.gitignore +++ b/.gitignore @@ -54,7 +54,7 @@ lerna-debug.log* !.vscode/extensions.json # Allure -/allure-results/ +**allure-results/ # App hyperchain config hyperchain.config.json 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/artifacts/artifactsSet3.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet3.feature index 2c1125ea70..b917a748fe 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet3.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet3.feature @@ -111,16 +111,14 @@ Feature: Main Page @id380 @mainnet Scenario: Verify label "in" for Account info on Account page Given I go to page "/address/0x0000000000000000000000000000000000000000" - # When I click by text "Show more transactions ->" Then Element with "text" "in" should be "visible" - #@id382 @mainnet - #Scenario: Verify label "self" for Account info on Account page - #Given I go to page "/address/0x94124252B5D343AB6E950A15982599ee1AADE660" - # When I click by text "Show more transactions ->" - #Then Element with "text" "self" should be "visible" + @id382 @mainnet + Scenario: Verify label "self" for Account info on Account page + Given I go to page "/address/0xed7175341f123f7718aBaCF1702d6980CFc08784" + Then Element with "text" "self" should be "visible" - @id580 @id578 @id619 @testnet @testnetSmokeSuite + @id580 @id578 @id619 @testnet Scenario Outline: Verify label "