Skip to content

Commit

Permalink
test: update tests for sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Dec 6, 2023
1 parent aacfa46 commit 4c49bc9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/app/cucumber.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Check warning on line 19 in packages/app/cucumber.mjs

View workflow job for this annotation

GitHub Actions / Build and Test App

Insert `··`
],
formatOptions: { snippetInterface: "async-await" },
worldParameters: getWorldParams(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>" network
Expand All @@ -74,6 +74,7 @@ Feature: Redirection
Then Current page have "<url>" 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 |
1 change: 1 addition & 0 deletions packages/app/tests/e2e/src/data/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export enum NetworkSwitcher {
zkSyncEraGoerli = "/?network=goerli",
goerliStage2 = "/?network=goerli-beta",
zkSyncEraMainnet = "/?network=mainnet",
zkSyncEraSepolia = "/?network=sepolia",
}

0 comments on commit 4c49bc9

Please sign in to comment.