From 361d3fd9f622f2fa81a3f7cd66534966362ead28 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Wed, 31 Jan 2024 17:06:14 +0100 Subject: [PATCH 01/13] fix: new one --- .../features/artifacts/artifactsSet1.feature | 41 ++++++++----------- .../redirection/redirectionSet1.feature | 36 +++++++--------- 2 files changed, 30 insertions(+), 47 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 80d81ff0ca..54e49137cf 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -4,41 +4,32 @@ Feature: Main Page Background: Given I am on main page - @id253 @featureEnv @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" - When Element with "text" "" should be "clickable" - Then Element with "text" "" should have "" value - - Examples: - | Sub-Section | url | - | Smart Contract Verification | /contracts/verify | - #| Portal | https://goerli.staging-portal.zksync.dev/ | - @id253 @featureEnv @mainnet + @id253:I @productionEnv @goerli Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href + Given I go to page "/?network=goerli" Given I click by text "Tools" Given Element with "text" "" should be "visible" When Element with "text" "" should be "clickable" Then Element with "text" "" should have "" value Examples: - | Sub-Section | url | - | Smart Contract Verification | /contracts/verify | - #| Portal | https://staging-portal.zksync.dev/ | + | Sub-Section | url | + | Smart Contract Verification | /contracts/verify | + | Bridge | https://portal.zksync.io/bridge/?network=goerli | - @id253:I @productionEnv @testnet + @id253:I @productionEnv @sepolia Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href + Given I go to page "/?network=sepolia" Given I click by text "Tools" Given Element with "text" "" should be "visible" When Element with "text" "" should be "clickable" Then Element with "text" "" should have "" value Examples: - | Sub-Section | url | - | Smart Contract Verification | /contracts/verify | - #| Portal | https://goerli.portal.zksync.io/ | + | Sub-Section | url | + | Smart Contract Verification | /contracts/verify | + | Bridge | https://portal.zksync.io/bridge/?network=sepolia | @id253:I @productionEnv @mainnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href @@ -48,9 +39,9 @@ Feature: Main Page Then Element with "text" "" should have "" value Examples: - | Sub-Section | url | - | Smart Contract Verification | /contracts/verify | - #| Portal | https://portal.zksync.io/ | + | Sub-Section | url | + | Smart Contract Verification | /contracts/verify | + | Bridge | https://portal.zksync.io/bridge/?network=mainnet | @id231 Scenario Outline: Check social networks icon "" is available, clickable and have correct href @@ -85,7 +76,7 @@ Feature: Main Page | 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 @@ -139,7 +130,7 @@ Feature: Main Page Given I go to page "/address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6" Then Element with "id" "search" should be "visible" - @id209:I @testnet + @id209:I @testnet Scenario Outline: Verify Transaction table contains "" row Given I go to page "/tx/0xe7a91cc9b270d062328ef995e0ef67195a3703d43ce4e1d375f87d5c64e51981" When Table contains row with "" @@ -201,7 +192,7 @@ Feature: Main Page | Created | 2023-05-14 | - @id211 @testnet + @id211 @testnet Scenario Outline: Verify Contract info table contains "" row Given I go to page "/address/0x3e7676937A7E96CFB7616f255b9AD9FF47363D4b" Then Element with "text" "" should be "visible" diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index fc10256fbe..5d1285b5fc 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -45,7 +45,7 @@ Feature: Redirection | Blocks | /blocks/ | | Transactions | /transactions/ | - @id253:II + @id253:I Scenario Outline: Verify redirection for "" in Tools menu Given I click by text "Tools " When I click by element with partial href "" and text "" @@ -56,47 +56,39 @@ Feature: Redirection | Smart Contract Verification | /contracts/verify | # | zkEVM Debugger | /tools/debugger | - @id253:III @featureEnv @testnet + + @id253:II @productionEnv @goerli Scenario Outline: Verify redirection for "" in Tools menu + Given I go to page "/?network=goerli" 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.staging-portal.zksync.dev/ | + | Sub-Section | url | redirect_url | + | Portal | https://portal.zksync.io/bridge/?network=goerli | https://goerli.portal.zksync.io | - - @id253:IIII @productionEnv @testnet + @id253:III @productionEnv @sepolia Scenario Outline: Verify redirection for "" in Tools menu + Given I go to page "/?network=sepolia" Given I click by text "Tools " When I click by element with partial href "" and text "" Then New page have "" address Examples: - | Sub-Section | url | redirect_url | - #| Portal | https://zksync.io/explore#bridges | https://goerli.portal.zksync.io | + | Sub-Section | url | redirect_url | + | Portal | https://portal.zksync.io/bridge/?network=sepolia | https://goerli.portal.zksync.io | @id253:IV @featureEnv @mainnet Scenario Outline: Verify redirection for "" in Tools menu + Given I go to page "/?network=mainnet" Given I click by text "Tools " When I click by element with partial href "" and text "" Then New page have "" address Examples: - | Sub-Section | url | - #| Portal | https://staging-portal.zksync.dev/ | - - - @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 "" - Then New page have "" address - - Examples: - | Sub-Section | url | redirect_url | - #| Portal | https://zksync.io/explore#bridges | https://portal.zksync.io | + | Sub-Section | url | + | Portal | https://portal.zksync.io/bridge/?network=mainnet | #Account page @id259 @testnet From 91e3dea8d234b8fd9d53fadc17568a298bb3bb84 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Wed, 31 Jan 2024 17:37:52 +0100 Subject: [PATCH 02/13] fix: new one --- .../app/tests/e2e/features/redirection/redirectionSet1.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index 5d1285b5fc..39b137c954 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -79,7 +79,7 @@ Feature: Redirection | Sub-Section | url | redirect_url | | Portal | https://portal.zksync.io/bridge/?network=sepolia | https://goerli.portal.zksync.io | - @id253:IV @featureEnv @mainnet + @id253:IV @productionEnv @mainnet Scenario Outline: Verify redirection for "" in Tools menu Given I go to page "/?network=mainnet" Given I click by text "Tools " From 1c0005f984b716adee5fad39d7b35f0587178b5c Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 11:29:23 +0100 Subject: [PATCH 03/13] fix: naming and structure --- .../tests/e2e/features/artifacts/artifactsSet1.feature | 10 +++++----- .../e2e/features/redirection/redirectionSet1.feature | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 54e49137cf..3c58933eff 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -5,8 +5,8 @@ Feature: Main Page Given I am on main page - @id253:I @productionEnv @goerli - Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href + @id253:I @productionEnv @testnet + Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Goerli) Given I go to page "/?network=goerli" Given I click by text "Tools" Given Element with "text" "" should be "visible" @@ -16,10 +16,10 @@ Feature: Main Page Examples: | Sub-Section | url | | Smart Contract Verification | /contracts/verify | - | Bridge | https://portal.zksync.io/bridge/?network=goerli | + | Bridge | https://portal.zksync.io/bridge/?network=goerli | - @id253:I @productionEnv @sepolia - Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href + @id253:I @productionEnv @testnet + Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Sepolia) Given I go to page "/?network=sepolia" Given I click by text "Tools" Given Element with "text" "" should be "visible" diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index 39b137c954..a8896991d3 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -57,8 +57,8 @@ Feature: Redirection # | zkEVM Debugger | /tools/debugger | - @id253:II @productionEnv @goerli - Scenario Outline: Verify redirection for "" in Tools menu + @id253:II @productionEnv @testnet + Scenario Outline: Verify redirection for "" in Tools menu (Goerli) Given I go to page "/?network=goerli" Given I click by text "Tools " When I click by element with partial href "" and text "" @@ -68,8 +68,8 @@ Feature: Redirection | Sub-Section | url | redirect_url | | Portal | https://portal.zksync.io/bridge/?network=goerli | https://goerli.portal.zksync.io | - @id253:III @productionEnv @sepolia - Scenario Outline: Verify redirection for "" in Tools menu + @id253:III @productionEnv @testnet + Scenario Outline: Verify redirection for "" in Tools menu (Sepolia) Given I go to page "/?network=sepolia" Given I click by text "Tools " When I click by element with partial href "" and text "" From 1b72fdafff07847a955833b3a1c94491ad159ff7 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 13:46:10 +0100 Subject: [PATCH 04/13] fix: remove env tags --- .../tests/e2e/features/redirection/redirectionSet1.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index a8896991d3..aa6b462f6a 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -57,7 +57,7 @@ Feature: Redirection # | zkEVM Debugger | /tools/debugger | - @id253:II @productionEnv @testnet + @id253:II @testnet Scenario Outline: Verify redirection for "" in Tools menu (Goerli) Given I go to page "/?network=goerli" Given I click by text "Tools " @@ -68,7 +68,7 @@ Feature: Redirection | Sub-Section | url | redirect_url | | Portal | https://portal.zksync.io/bridge/?network=goerli | https://goerli.portal.zksync.io | - @id253:III @productionEnv @testnet + @id253:III @testnet Scenario Outline: Verify redirection for "" in Tools menu (Sepolia) Given I go to page "/?network=sepolia" Given I click by text "Tools " @@ -79,7 +79,7 @@ Feature: Redirection | Sub-Section | url | redirect_url | | Portal | https://portal.zksync.io/bridge/?network=sepolia | https://goerli.portal.zksync.io | - @id253:IV @productionEnv @mainnet + @id253:IV @mainnet Scenario Outline: Verify redirection for "" in Tools menu Given I go to page "/?network=mainnet" Given I click by text "Tools " From 24834d6fd9014bd4df756fe2666cdfa793ada036 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 14:44:56 +0100 Subject: [PATCH 05/13] fix: new one --- .../tests/e2e/features/redirection/redirectionSet1.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index aa6b462f6a..8bde0296d8 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -70,7 +70,7 @@ Feature: Redirection @id253:III @testnet Scenario Outline: Verify redirection for "" in Tools menu (Sepolia) - Given I go to page "/?network=sepolia" + #Given I go to page "/?network=sepolia" Given I click by text "Tools " When I click by element with partial href "" and text "" Then New page have "" address @@ -81,7 +81,7 @@ Feature: Redirection @id253:IV @mainnet Scenario Outline: Verify redirection for "" in Tools menu - Given I go to page "/?network=mainnet" + #Given I go to page "/?network=mainnet" Given I click by text "Tools " When I click by element with partial href "" and text "" Then New page have "" address From 64d2818431319673299086dfba3b619cebe886c2 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 14:46:04 +0100 Subject: [PATCH 06/13] fix: new one --- .../app/tests/e2e/features/artifacts/artifactsSet1.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 3c58933eff..64b7f66f4c 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -5,7 +5,7 @@ Feature: Main Page Given I am on main page - @id253:I @productionEnv @testnet + @id253:I @testnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Goerli) Given I go to page "/?network=goerli" Given I click by text "Tools" @@ -18,7 +18,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Bridge | https://portal.zksync.io/bridge/?network=goerli | - @id253:I @productionEnv @testnet + @id253:I @testnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Sepolia) Given I go to page "/?network=sepolia" Given I click by text "Tools" @@ -31,7 +31,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Bridge | https://portal.zksync.io/bridge/?network=sepolia | - @id253:I @productionEnv @mainnet + @id253:I @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" From 18b0d9a5aedb382d2883cea3425c70bc572bf045 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 15:07:28 +0100 Subject: [PATCH 07/13] fix: new one --- .../tests/e2e/features/redirection/redirectionSet1.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index 8bde0296d8..0727c34393 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -66,7 +66,7 @@ Feature: Redirection Examples: | Sub-Section | url | redirect_url | - | Portal | https://portal.zksync.io/bridge/?network=goerli | https://goerli.portal.zksync.io | + | Bridge | https://portal.zksync.io/bridge/?network=goerli | https://goerli.portal.zksync.io | @id253:III @testnet Scenario Outline: Verify redirection for "" in Tools menu (Sepolia) @@ -77,7 +77,7 @@ Feature: Redirection Examples: | Sub-Section | url | redirect_url | - | Portal | https://portal.zksync.io/bridge/?network=sepolia | https://goerli.portal.zksync.io | + | Bridge | https://portal.zksync.io/bridge/?network=sepolia | https://goerli.portal.zksync.io | @id253:IV @mainnet Scenario Outline: Verify redirection for "" in Tools menu @@ -88,7 +88,7 @@ Feature: Redirection Examples: | Sub-Section | url | - | Portal | https://portal.zksync.io/bridge/?network=mainnet | + | Bridge | https://portal.zksync.io/bridge/?network=mainnet | #Account page @id259 @testnet From 65bf5bf912ce39a1b6cab70d949c64a3002d1f92 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 15:41:47 +0100 Subject: [PATCH 08/13] fix: new one tag --- .../app/tests/e2e/features/artifacts/artifactsSet1.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 64b7f66f4c..227c89b3ae 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -5,7 +5,7 @@ Feature: Main Page Given I am on main page - @id253:I @testnet + @id253:I @testnetSmokeSuite Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Goerli) Given I go to page "/?network=goerli" Given I click by text "Tools" @@ -18,7 +18,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Bridge | https://portal.zksync.io/bridge/?network=goerli | - @id253:I @testnet + @id253:I @testnetSmokeSuite Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Sepolia) Given I go to page "/?network=sepolia" Given I click by text "Tools" From efa20907fc2d5c85d274b75e7a8d28ce95e04c73 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 16:42:46 +0100 Subject: [PATCH 09/13] fix: new tags --- .../features/artifacts/artifactsSet1.feature | 18 ++---------------- .../redirection/redirectionSet1.feature | 15 +-------------- 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 227c89b3ae..5863fb0d55 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -5,22 +5,8 @@ Feature: Main Page Given I am on main page - @id253:I @testnetSmokeSuite - Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Goerli) - Given I go to page "/?network=goerli" - Given I click by text "Tools" - Given Element with "text" "" should be "visible" - When Element with "text" "" should be "clickable" - Then Element with "text" "" should have "" value - - Examples: - | Sub-Section | url | - | Smart Contract Verification | /contracts/verify | - | Bridge | https://portal.zksync.io/bridge/?network=goerli | - - @id253:I @testnetSmokeSuite + @id253:I @featureEnv @testnetSmokeSuite Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Sepolia) - Given I go to page "/?network=sepolia" Given I click by text "Tools" Given Element with "text" "" should be "visible" When Element with "text" "" should be "clickable" @@ -31,7 +17,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Bridge | https://portal.zksync.io/bridge/?network=sepolia | - @id253:I @mainnet + @id253:II @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" diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index 0727c34393..dbb970cc12 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -56,21 +56,8 @@ Feature: Redirection | Smart Contract Verification | /contracts/verify | # | zkEVM Debugger | /tools/debugger | - - @id253:II @testnet - Scenario Outline: Verify redirection for "" in Tools menu (Goerli) - Given I go to page "/?network=goerli" - Given I click by text "Tools " - When I click by element with partial href "" and text "" - Then New page have "" address - - Examples: - | Sub-Section | url | redirect_url | - | Bridge | https://portal.zksync.io/bridge/?network=goerli | https://goerli.portal.zksync.io | - - @id253:III @testnet + @id253:III @featureEnv @testnetSmokeSuite Scenario Outline: Verify redirection for "" in Tools menu (Sepolia) - #Given I go to page "/?network=sepolia" Given I click by text "Tools " When I click by element with partial href "" and text "" Then New page have "" address From ddf02574e7b241c8863f1e8ce95d8abb372f8a26 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 16:57:36 +0100 Subject: [PATCH 10/13] fix: new one --- packages/app/tests/e2e/features/artifacts/artifactsSet1.feature | 2 +- .../app/tests/e2e/features/redirection/redirectionSet1.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 5863fb0d55..394197d970 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -5,7 +5,7 @@ Feature: Main Page Given I am on main page - @id253:I @featureEnv @testnetSmokeSuite + @id253:I @featureEnv @testnetSmokeSuite @tesnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Sepolia) Given I click by text "Tools" Given Element with "text" "" should be "visible" diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index dbb970cc12..87ed337ecf 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -56,7 +56,7 @@ Feature: Redirection | Smart Contract Verification | /contracts/verify | # | zkEVM Debugger | /tools/debugger | - @id253:III @featureEnv @testnetSmokeSuite + @id253:III @featureEnv @testnetSmokeSuite @testnet Scenario Outline: Verify redirection for "" in Tools menu (Sepolia) Given I click by text "Tools " When I click by element with partial href "" and text "" From 8b543bff434af92ce961ae2026a07b4f887c212a Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 17:08:31 +0100 Subject: [PATCH 11/13] fix: new one --- .../app/tests/e2e/features/artifacts/artifactsSet1.feature | 2 +- .../tests/e2e/features/redirection/redirectionSet1.feature | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 394197d970..d24ba67db7 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -17,7 +17,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Bridge | https://portal.zksync.io/bridge/?network=sepolia | - @id253:II @mainnet + @id253:II @featureEnv @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" diff --git a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature index 87ed337ecf..468f71feab 100644 --- a/packages/app/tests/e2e/features/redirection/redirectionSet1.feature +++ b/packages/app/tests/e2e/features/redirection/redirectionSet1.feature @@ -64,11 +64,10 @@ Feature: Redirection Examples: | Sub-Section | url | redirect_url | - | Bridge | https://portal.zksync.io/bridge/?network=sepolia | https://goerli.portal.zksync.io | + | Bridge | https://portal.zksync.io/bridge/?network=sepolia | https://portal.zksync.io/bridge/?network=sepolia | - @id253:IV @mainnet + @id253:IV @featureEnv @mainnet Scenario Outline: Verify redirection for "" in Tools menu - #Given I go to page "/?network=mainnet" Given I click by text "Tools " When I click by element with partial href "" and text "" Then New page have "" address From 9adace65472b093d2df0989e51e050917dda0c1f Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 1 Feb 2024 17:23:48 +0100 Subject: [PATCH 12/13] fix: new one --- .../app/tests/e2e/features/artifacts/artifactsSet1.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index d24ba67db7..0d9c60324c 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -5,7 +5,7 @@ Feature: Main Page Given I am on main page - @id253:I @featureEnv @testnetSmokeSuite @tesnet + @id253:I @featureEnv @testnetSmokeSuite @testnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Sepolia) Given I click by text "Tools" Given Element with "text" "" should be "visible" @@ -18,7 +18,7 @@ Feature: Main Page | Bridge | https://portal.zksync.io/bridge/?network=sepolia | @id253:II @featureEnv @mainnet - Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href + Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Mainnet) Given I click by text "Tools" Given Element with "text" "" should be "visible" When Element with "text" "" should be "clickable" From 19b8a4f7c7b74170cba946a637ea79b522862ee2 Mon Sep 17 00:00:00 2001 From: Oleh Bairak <118197764+olehbairak@users.noreply.github.com> Date: Thu, 1 Feb 2024 18:04:30 +0100 Subject: [PATCH 13/13] Update artifactsSet1.feature --- packages/app/tests/e2e/features/artifacts/artifactsSet1.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 0d9c60324c..f985c01e6b 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -17,7 +17,7 @@ Feature: Main Page | Smart Contract Verification | /contracts/verify | | Bridge | https://portal.zksync.io/bridge/?network=sepolia | - @id253:II @featureEnv @mainnet + @id253:II @mainnet Scenario Outline: Check the element "" in Tools section is available, clickable and have correct href (Mainnet) Given I click by text "Tools" Given Element with "text" "" should be "visible"