Skip to content

Commit

Permalink
fix: naming and structure
Browse files Browse the repository at this point in the history
  • Loading branch information
olehbairak committed Feb 1, 2024
1 parent 91e3dea commit 1c0005f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions packages/app/tests/e2e/features/artifacts/artifactsSet1.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Feature: Main Page
Given I am on main page


@id253:I @productionEnv @goerli
Scenario Outline: Check the element "<Sub-Section>" in Tools section is available, clickable and have correct href
@id253:I @productionEnv @testnet
Scenario Outline: Check the element "<Sub-Section>" 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" "<Sub-Section>" should be "visible"
Expand All @@ -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 "<Sub-Section>" in Tools section is available, clickable and have correct href
@id253:I @productionEnv @testnet
Scenario Outline: Check the element "<Sub-Section>" 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" "<Sub-Section>" should be "visible"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Feature: Redirection
# | zkEVM Debugger | /tools/debugger |


@id253:II @productionEnv @goerli
Scenario Outline: Verify redirection for "<Sub-Section>" in Tools menu
@id253:II @productionEnv @testnet
Scenario Outline: Verify redirection for "<Sub-Section>" 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 "<redirect_url>" and text "<Sub-Section>"
Expand All @@ -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 "<Sub-Section>" in Tools menu
@id253:III @productionEnv @testnet
Scenario Outline: Verify redirection for "<Sub-Section>" 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 "<redirect_url>" and text "<Sub-Section>"
Expand Down

0 comments on commit 1c0005f

Please sign in to comment.