From bc714200c3e58ccc16d0831a52f8e32e7fbe0c8a Mon Sep 17 00:00:00 2001
From: Nikola Pavlov
Date: Tue, 17 Dec 2024 10:11:36 +0100
Subject: [PATCH] feat: update naming convention from zkSync to ZKSync
---
README.md | 49 ++++++++++---------
components/EcosystemBlock.vue | 2 +-
components/header/HelpModal.vue | 2 +-
components/header/MobileAccountNavigation.vue | 2 +-
components/modal/LegalNotice.vue | 2 +-
components/modal/NetworkChangedWarning.vue | 2 +-
components/token/TokenSelectModal.vue | 2 +-
components/transaction/CustomBridge.vue | 2 +-
composables/zksync/useTransaction.ts | 2 +-
data/meta.ts | 12 ++---
data/networks.ts | 8 +--
data/wagmi.ts | 4 +-
package.json | 2 +-
pages/assets.vue | 4 +-
.../actions/mainPage/actions-menu.feature | 4 +-
.../mainPage/faucet/actions-faucet.feature | 2 +-
.../assetsPage/artifacts-emptyWallet.feature | 2 +-
.../artifacts/bridgePage/artifacts.feature | 20 ++++----
.../depositPage/artifacts-deposits.feature | 2 +-
.../mainPage/artifacts-header.feature | 6 +--
.../mainPage/artifacts-menuitems.feature | 20 ++++----
.../artifacts-upperNavigarionMenu.feature | 18 +++----
.../transferPage/atrifacts-transfers.feature | 10 ++--
.../whereToSendPage/artifacts.feature | 12 ++---
.../withdrawPage/artifacts-withdraw.feature | 4 +-
.../features/navigation/navigation.feature | 12 ++---
.../redirection/loginPage/redirection.feature | 4 +-
.../redirection/mainPage/redirection.feature | 44 ++++++++---------
.../bridge-deposit-with-blockchain.feature | 6 +--
.../deposit/deposit-with-blockchain.feature | 10 ++--
.../features/transactions/transfer.feature | 4 +-
.../features/transactions/withdraw.feature | 2 +-
tests/e2e/src/pages/login.page.ts | 2 +-
tests/e2e/src/pages/main.page.ts | 8 +--
tests/e2e/utils/metamaskId.json | 2 +-
35 files changed, 146 insertions(+), 143 deletions(-)
diff --git a/README.md b/README.md
index cebc28896..27dd69157 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
-![zkSync Portal](public/preview.png)
+![ZKsync Portal](public/preview.png)
-# zkSync Portal 🚀
+# ZKsync Portal 🚀
-**zkSync Portal** is a state-of-the-art dapp, merging the power of bridge, tokens manager and transaction history into one user-friendly interface. Designed with a stress on effortless user experience, it simplifies token management, making it your premier interface for interacting with both zkSync versions - every interaction smooth and efficient.
+**ZKsync Portal** is a state-of-the-art dapp, merging the power of bridge, tokens manager and transaction history into one user-friendly interface. Designed with a stress on effortless user experience, it simplifies token management, making it your premier interface for interacting with both ZKsync versions - every interaction smooth and efficient.
## ✨ Features
-- 🖥️ Intuitive interface for managing, sending, and bridging zkSync Era.
+- 🖥️ Intuitive interface for managing, sending, and bridging ZKsync Era.
- 📇 Ability to add contacts for quick and easy access.
-- 🔧 Effortless setup and connection to local zkSync nodes or ZK Stack Hyperchains.
+- 🔧 Effortless setup and connection to local ZKsync nodes or ZK Stack Hyperchains.
## 🎉 Try it out!
@@ -18,29 +18,29 @@
## 🌍 Connecting to local node
-Harness the Portal's power to connect to your [local zkSync Era node](https://docs.zksync.io/zksync-node/quickstart).
+Harness the Portal's power to connect to your [local ZKsync Era node](https://docs.zksync.io/zksync-node/quickstart).
**Prerequisites:** Node.js version 16+, npm version 7+
1. 📚 Follow the [documentation](https://docs.zksync.io/zksync-node/quickstart) for setting up either an **in-memory node** or **dockerized local setup**.
2. 🔄 Clone the Portal repository and set it up:
- ```bash
- git clone https://github.com/matter-labs/dapp-portal.git
- cd dapp-portal
- npm install
- ```
+ ```bash
+ git clone https://github.com/matter-labs/dapp-portal.git
+ cd dapp-portal
+ npm install
+ ```
3. 🛠️ Modify the default network settings in `data/networks.ts` if your network ID, RPC URL, or other info differs. Customize displayed tokens there if needed.
- - Alternatively, use the [configuration form](./hyperchains/README.md#configure-automatically-with-form) for guided config setup.
+ - Alternatively, use the [configuration form](./hyperchains/README.md#configure-automatically-with-form) for guided config setup.
4. 🔥 Launch the dev server:
- - For in-memory node:
- ```bash
- npm run dev:node:memory
- ```
- - For dockerized setup:
- ```bash
- npm run dev:node:docker
- ```
- Navigate to the displayed Portal URL (typically http://localhost:3000).
+ - For in-memory node:
+ ```bash
+ npm run dev:node:memory
+ ```
+ - For dockerized setup:
+ `bash
+npm run dev:node:docker
+`
+ Navigate to the displayed Portal URL (typically http://localhost:3000).
---
@@ -55,18 +55,21 @@ To use Portal with your ZK Stack Hyperchain, see the guide [here](./hyperchains/
### Advanced configuration
#### L1 Balances:
+
By default, L1 balances are fetched via a public RPC. For faster loading speeds and reduced load on your L1 RPC provider, consider using [Ankr's RPC service](https://www.ankr.com/rpc/). Obtain an Ankr token and update the `.env` file:
+
```bash
ANKR_TOKEN=your_ankr_token_here
```
#### Wallet Connect Project Setup:
+
Before deploying your own version of the Portal, ensure you create your own Wallet Connect project on [walletconnect.com](https://walletconnect.com). After creating the project, update the project ID in the `.env` file:
+
```bash
WALLET_CONNECT_PROJECT_ID=your_project_id_here
```
-
### 🔧 Setup
Ensure you've installed the necessary dependencies:
@@ -103,4 +106,4 @@ Open arms for contributions! Enhance our code and send your pull request [here](
## 📜 License
-Proudly under the [MIT License](https://github.com/matter-labs/dapp-portal/blob/main/LICENSE).
\ No newline at end of file
+Proudly under the [MIT License](https://github.com/matter-labs/dapp-portal/blob/main/LICENSE).
diff --git a/components/EcosystemBlock.vue b/components/EcosystemBlock.vue
index 7a004423c..3985f4ac7 100644
--- a/components/EcosystemBlock.vue
+++ b/components/EcosystemBlock.vue
@@ -8,7 +8,7 @@
>
- Explore the wonders of zkSync ecosystem
+ Explore the wonders of ZKsync ecosystem
- zkSync Bridge is live on beta
+ ZKsync Bridge is live on beta
Nothing on this website should be construed as an invitation, inducement, or solicitation to engage in investment
activity. You understand that the bridge, asset, and transaction features available through this website are in
diff --git a/components/modal/NetworkChangedWarning.vue b/components/modal/NetworkChangedWarning.vue
index f42632766..3be84bd8b 100644
--- a/components/modal/NetworkChangedWarning.vue
+++ b/components/modal/NetworkChangedWarning.vue
@@ -6,7 +6,7 @@
>from {{ lastSelectedNetwork.name }}
to
- {{ selectedNetwork.name }} since your last use of zkSync Portal.
+ {{ selectedNetwork.name }} since your last use of ZKsync Portal.
Optional settings
Do not switch network automatically
diff --git a/components/token/TokenSelectModal.vue b/components/token/TokenSelectModal.vue
index d11e95d7e..c46262e5f 100644
--- a/components/token/TokenSelectModal.vue
+++ b/components/token/TokenSelectModal.vue
@@ -54,7 +54,7 @@
No tokens for "{{ search }}" were found on connected account
- Make sure you are using correct zkSync network
+ Make sure you are using correct ZKsync network
Connect wallet to see all tokens available for you
diff --git a/components/transaction/CustomBridge.vue b/components/transaction/CustomBridge.vue
index 2aedc4ecb..2f11f0c16 100644
--- a/components/transaction/CustomBridge.vue
+++ b/components/transaction/CustomBridge.vue
@@ -7,7 +7,7 @@
:icon="ExclamationTriangleIcon"
class="mb-block-gap"
>
- Bridging {{ customBridgeToken.symbol }} is not supported by zkSync Portal.
+ Bridging {{ customBridgeToken.symbol }} is not supported by ZKsync Portal.
Use 3rd party bridges to get native {{ customBridgeToken.symbol }} on
diff --git a/composables/zksync/useTransaction.ts b/composables/zksync/useTransaction.ts
index 067806761..b13258350 100644
--- a/composables/zksync/useTransaction.ts
+++ b/composables/zksync/useTransaction.ts
@@ -35,7 +35,7 @@ export default (getSigner: () => Promise, getProvider: () =>
status.value = "processing";
const signer = await getSigner();
- if (!signer) throw new Error("zkSync Signer is not available");
+ if (!signer) throw new Error("ZKsync Signer is not available");
const provider = getProvider();
const getRequiredBridgeAddress = async () => {
diff --git a/data/meta.ts b/data/meta.ts
index 329626cd4..22aed16c6 100644
--- a/data/meta.ts
+++ b/data/meta.ts
@@ -1,18 +1,18 @@
export const portal = {
- title: "zkSync Portal | View balances, transfer and bridge tokens",
+ title: "ZKsync Portal | View balances, transfer and bridge tokens",
description:
- "zkSync Portal allows you to view your balances, transfer tokens and bridge assets between zkSync and Ethereum",
+ "ZKsync Portal allows you to view your balances, transfer tokens and bridge assets between ZKsync and Ethereum",
previewImg: {
src: "https://portal.zksync.io/preview.png",
- alt: "zkSync Portal",
+ alt: "ZKsync Portal",
},
};
export const bridge = {
- title: "zkSync Bridge | Transfer funds between zkSync and Ethereum",
+ title: "ZKsync Bridge | Transfer funds between ZKsync and Ethereum",
description:
- "With the zkSync Bridge you can easily deposit tokens to zkSync. Enjoy faster, cheaper and more efficient transactions with the future proof zkEVM scaling Ethereum's security and values.",
+ "With the ZKsync Bridge you can easily deposit tokens to ZKsync. Enjoy faster, cheaper and more efficient transactions with the future proof zkEVM scaling Ethereum's security and values.",
previewImg: {
src: "https://portal.zksync.io/preview.png",
- alt: "zkSync Bridge",
+ alt: "ZKsync Bridge",
},
};
diff --git a/data/networks.ts b/data/networks.ts
index 475871fe1..59da72b72 100644
--- a/data/networks.ts
+++ b/data/networks.ts
@@ -54,7 +54,7 @@ export type ZkSyncNetwork = {
getTokens?: () => Token[] | Promise; // If blockExplorerApi is specified, tokens will be fetched from there. Otherwise, this function will be used.
};
-// See the official documentation on running a local zkSync node: https://era.zksync.io/docs/tools/testing/
+// See the official documentation on running a local ZKsync node: https://era.zksync.io/docs/tools/testing/
// Also see the guide in the README.md file in the root of the repository.
// In-memory node default config. Docs: https://era.zksync.io/docs/tools/testing/era-test-node.html
@@ -86,7 +86,7 @@ const publicChains: ZkSyncNetwork[] = [
{
id: 324,
key: "mainnet",
- name: "zkSync",
+ name: "ZKsync",
rpcUrl: "https://mainnet.era.zksync.io",
blockExplorerUrl: "https://era.zksync.network",
blockExplorerApi: "https://block-explorer-api.mainnet.zksync.io",
@@ -98,7 +98,7 @@ const publicChains: ZkSyncNetwork[] = [
{
id: 300,
key: "sepolia",
- name: "zkSync Sepolia Testnet",
+ name: "ZKsync Sepolia Testnet",
rpcUrl: "https://sepolia.era.zksync.dev",
blockExplorerUrl: "https://sepolia-era.zksync.network",
blockExplorerApi: "https://block-explorer-api.sepolia.zksync.dev",
@@ -110,7 +110,7 @@ const publicChains: ZkSyncNetwork[] = [
{
id: 270,
key: "stage",
- name: "zkSync Stage",
+ name: "ZKsync Stage",
rpcUrl: "https://z2-dev-api.zksync.dev",
blockExplorerUrl: "https://sepolia-beta.staging-scan-v2.zksync.dev",
blockExplorerApi: "https://block-explorer-api.stage.zksync.dev",
diff --git a/data/wagmi.ts b/data/wagmi.ts
index 0d9e70fd0..9bf7e1f5c 100644
--- a/data/wagmi.ts
+++ b/data/wagmi.ts
@@ -7,8 +7,8 @@ import { chainList, type ZkSyncNetwork } from "@/data/networks";
const portalRuntimeConfig = usePortalRuntimeConfig();
const metadata = {
- name: "zkSync Portal",
- description: "zkSync Portal - view balances, transfer and bridge tokens",
+ name: "ZKsync Portal",
+ description: "ZKsync Portal - view balances, transfer and bridge tokens",
url: "https://portal.zksync.io",
icons: ["https://portal.zksync.io/icon.png"],
};
diff --git a/package.json b/package.json
index 2f9c148e8..ce4684d8c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "zksync-dapp-portal",
- "description": "zkSync Portal provides Wallet and Bridge functionality for interacting with zkSync",
+ "description": "ZKsync Portal provides Wallet and Bridge functionality for interacting with ZKsync",
"private": true,
"scripts": {
"dev": "nuxt dev",
diff --git a/pages/assets.vue b/pages/assets.vue
index 520138060..b19c3b69a 100644
--- a/pages/assets.vue
+++ b/pages/assets.vue
@@ -86,7 +86,7 @@
- To start using zkSync ecosystem, deposit tokens in any convenient way
+ To start using ZKsync ecosystem, deposit tokens in any convenient way
@@ -104,7 +104,7 @@
- Deposit more tokens to zkSync
+ Deposit more tokens to ZKsync
diff --git a/tests/e2e/features/actions/mainPage/actions-menu.feature b/tests/e2e/features/actions/mainPage/actions-menu.feature
index bb5a09856..023ecf02e 100644
--- a/tests/e2e/features/actions/mainPage/actions-menu.feature
+++ b/tests/e2e/features/actions/mainPage/actions-menu.feature
@@ -9,7 +9,7 @@ Feature: Menu
Given I am on the Main page
When I click by "partial class" with "account-name" value
When I click by the "Logout" text element on the Menu
- Then Element with "text" "Connect your Ethereum wallet to zkSync Portal" should be "visible"
+ Then Element with "text" "Connect your Ethereum wallet to ZKsync Portal" should be "visible"
Then Element with "testId" "network-switcher" should be "visible"
- Then Element with "title" "zkSync Portal GitHub page" should be "visible"
+ Then Element with "title" "ZKsync Portal GitHub page" should be "visible"
diff --git a/tests/e2e/features/actions/mainPage/faucet/actions-faucet.feature b/tests/e2e/features/actions/mainPage/faucet/actions-faucet.feature
index baa80a12e..967e7a811 100644
--- a/tests/e2e/features/actions/mainPage/faucet/actions-faucet.feature
+++ b/tests/e2e/features/actions/mainPage/faucet/actions-faucet.feature
@@ -9,7 +9,7 @@ Feature: Faucet
Given A wallet should be "empty"
When I go to page "/?network=era-mainnet"
Then Element with "text" "Not enough tokens?" should be "invisible"
- Then Element with "text" "Use official zkSync Era faucet" should be "invisible"
+ Then Element with "text" "Use official ZKsync Era faucet" should be "invisible"
Then Element with "text" " Get free test tokens " should be "invisible"
@id1635
diff --git a/tests/e2e/features/artifacts/assetsPage/artifacts-emptyWallet.feature b/tests/e2e/features/artifacts/assetsPage/artifacts-emptyWallet.feature
index 18f8c49f7..e8f571b04 100644
--- a/tests/e2e/features/artifacts/assetsPage/artifacts-emptyWallet.feature
+++ b/tests/e2e/features/artifacts/assetsPage/artifacts-emptyWallet.feature
@@ -9,7 +9,7 @@ Feature: Artifacts - UI
Scenario: Check artifacts for an empty wallet
Then A wallet should be "empty"
Then Message " You don't have any balances on " should be visible
- Then Message "zkSync Era Testnet" should be visible
+ Then Message "ZKsync Era Testnet" should be visible
Then Message " Proceed to " should be visible
Then Message "Add funds" should be visible
Then Message " page to add balance to your account " should be visible
diff --git a/tests/e2e/features/artifacts/bridgePage/artifacts.feature b/tests/e2e/features/artifacts/bridgePage/artifacts.feature
index 4b721e5d3..7e0d38061 100644
--- a/tests/e2e/features/artifacts/bridgePage/artifacts.feature
+++ b/tests/e2e/features/artifacts/bridgePage/artifacts.feature
@@ -13,7 +13,7 @@ Feature: Withdraw
Then Element with "testId" "close-button" should be "visible"
Then Element with "testId" "close-button" should be "clickable"
Then Modal card element with the "//*[contains(text(),'0x2CF4...75d')]" xpath should be "visible"
- Then Modal card element with the "//div[text()='zkSync Era Testnet']" xpath should be "visible"
+ Then Modal card element with the "//div[text()='ZKsync Era Testnet']" xpath should be "visible"
Then Modal card element with the "//div[text()='Bridge network']" xpath should be "visible"
Then Element with "text" "View on Explorer" should be "visible"
Then Element with "text" "View on Explorer" should be "clickable"
@@ -29,8 +29,8 @@ Feature: Withdraw
When I click by partial text "..."
Then Element with "text" "Bridge network" should be "visible"
Then I click by text "Bridge network"
- Then Modal card element with the "//*[text()='zkSync Era Testnet']" xpath should be "visible"
- Then Modal card element with the "//*[text()='zkSync Era Mainnet']" xpath should be "visible"
+ Then Modal card element with the "//*[text()='ZKsync Era Testnet']" xpath should be "visible"
+ Then Modal card element with the "//*[text()='ZKsync Era Mainnet']" xpath should be "visible"
@id1604:I
@@ -44,7 +44,7 @@ Feature: Withdraw
Then Modal card element with the "//button[@data-testid='close-button']" xpath should be "visible"
Then Element with "text" "Selected network" should be "visible"
Then Element with "text" "Other networks" should be "visible"
- Then Modal card element with the "//*[text()='zkSync Era Testnet']" xpath should be "visible"
+ Then Modal card element with the "//*[text()='ZKsync Era Testnet']" xpath should be "visible"
Then Modal card element with the "//*[@src='/img/era.svg']" xpath should be "visible"
Then Modal card element with the "//*[text()='Ethereum Goerli Testnet']" xpath should be "visible"
Then Modal card element with the "//*[@src='/img/ethereum.svg']" xpath should be "visible"
@@ -60,7 +60,7 @@ Feature: Withdraw
Then Modal card element with the "//button[@data-testid='close-button']" xpath should be "visible"
Then Element with "text" "Selected network" should be "visible"
Then Element with "text" "Other networks" should be "visible"
- Then Modal card element with the "//*[text()='zkSync Era Mainnet']" xpath should be "visible"
+ Then Modal card element with the "//*[text()='ZKsync Era Mainnet']" xpath should be "visible"
Then Modal card element with the "//*[@src='/img/era.svg']" xpath should be "visible"
Then Modal card element with the "//*[text()='Ethereum Mainnet']" xpath should be "visible"
Then Modal card element with the "//*[@src='/img/ethereum.svg']" xpath should be "visible"
@@ -74,7 +74,7 @@ Feature: Withdraw
#Recent withdrawals dropdown
Then Element with "partial class" "transition-transform" should be "visible"
Then Element with "text" "From" should be "visible"
- Then Element with "text" "zkSync Era Testnet" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
Then Element with "testId" "token-dropDown" should be "visible"
Then Element with "testId" "token-dropDown" should be "clickable"
Then Element with "id" "amount-input" should be "visible"
@@ -162,8 +162,8 @@ Feature: Withdraw
Then Element with "text" " Max " should be "visible"
Then Element with "text" " Max " should be "clickable"
#Block
- Then Element with "text" "Your zkSync Era Testnet account" should be "visible"
- Then Element with "text" "Your zkSync Era Testnet account" should be "clickable"
+ Then Element with "text" "Your ZKsync Era Testnet account" should be "visible"
+ Then Element with "text" "Your ZKsync Era Testnet account" should be "clickable"
Then Element with "text" "0x2CF4...75d" should be "visible"
Then Element with "text" "0x2CF4...75d" should be "clickable"
Then Element with "class" "address-avatar address-card-avatar" should be "visible"
@@ -199,9 +199,9 @@ Feature: Withdraw
Scenario: Check the editing recipient address in Bridge (Deposit)
Given I go to page "/bridge?network=era-goerli"
When I click by text "Deposit"
- When I click by "text" with "Your zkSync Era Testnet account" value
+ When I click by "text" with "Your ZKsync Era Testnet account" value
Then Element with "text" "Bridge to" should be "visible"
When I fill the input field contains "placeholder" type "Address or ENS or contact name" value with "0x52B6d10d7d865B3d4103f8809AA3521288568f46" text
When I click by text "0x52B6...f46"
- Then Element with "text" "zkSync Era Testnet address" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet address" should be "visible"
Then Element with "text" "0x52B6...f46" should be "visible"
diff --git a/tests/e2e/features/artifacts/depositPage/artifacts-deposits.feature b/tests/e2e/features/artifacts/depositPage/artifacts-deposits.feature
index 372f28492..c2072733b 100644
--- a/tests/e2e/features/artifacts/depositPage/artifacts-deposits.feature
+++ b/tests/e2e/features/artifacts/depositPage/artifacts-deposits.feature
@@ -85,7 +85,7 @@ Feature: Artifacts - UI
Then I click by "testId" with "token-dropDown" value
When I fill the input field contains "placeholder" type "Symbol or address" value with "AAA" text
Then Element with "partial string" 'No tokens was found for "AAA"' should be "visible"
- Then Element with "partial text" "Make sure you are using correct zkSync network" should be "visible"
+ Then Element with "partial text" "Make sure you are using correct ZKsync network" should be "visible"
Examples:
| network |
diff --git a/tests/e2e/features/artifacts/mainPage/artifacts-header.feature b/tests/e2e/features/artifacts/mainPage/artifacts-header.feature
index aeeb5bd5b..623ae9cda 100644
--- a/tests/e2e/features/artifacts/mainPage/artifacts-header.feature
+++ b/tests/e2e/features/artifacts/mainPage/artifacts-header.feature
@@ -56,12 +56,12 @@ Feature: Artifacts - UI
Then Element with "text" "Copy" should be "visible"
Then Element with "text" "Copy" should be "clickable"
Then Element with "text" " Please transfer funds to this address using " should be "visible"
- Then Element with "text" "zkSync Era Testnet" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
Then Element with "text" " to successfully receive them " should be "visible"
@id1363 @loginPage
Scenario: Check artifacts on the Login page
Given I'm logged out
- Then Element with "text" "Connect your Ethereum wallet to zkSync Portal" should be "visible"
+ Then Element with "text" "Connect your Ethereum wallet to ZKsync Portal" should be "visible"
Then Element with "testId" "network-switcher" should be "visible"
- Then Element with "title" "zkSync Portal GitHub page" should be "visible"
+ Then Element with "title" "ZKsync Portal GitHub page" should be "visible"
diff --git a/tests/e2e/features/artifacts/mainPage/artifacts-menuitems.feature b/tests/e2e/features/artifacts/mainPage/artifacts-menuitems.feature
index fbee236bc..f08cd464d 100644
--- a/tests/e2e/features/artifacts/mainPage/artifacts-menuitems.feature
+++ b/tests/e2e/features/artifacts/mainPage/artifacts-menuitems.feature
@@ -35,20 +35,20 @@ Feature: Artifacts - UI
#Given I click by "testId" with "network-switcher" value
Given I click by "partial class" with "network-switch" value
Then Message "Change network" should be visible
- Then Element with "text" "zkSync Era∎" should be "visible"
+ Then Element with "text" "ZKsync Era∎" should be "visible"
Then Element with "text" " Preferred network " should be "visible"
- Then Element with "text" "zkSync Era Mainnet" should be "visible"
- Then Element with "text" "zkSync Era Testnet" should be "visible"
- Then Element with "text" "zkSync Lite" should be "visible"
- Then Element with "text" "zkSync Lite Mainnet" should be "visible"
- Then Element with "text" "zkSync Lite Goerli" should be "visible"
+ Then Element with "text" "ZKsync Era Mainnet" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
+ Then Element with "text" "ZKsync Lite" should be "visible"
+ Then Element with "text" "ZKsync Lite Mainnet" should be "visible"
+ Then Element with "text" "ZKsync Lite Goerli" should be "visible"
@id1409:I
Scenario: Check artifacts on the View on Explorer menu for Mainnet
Given I go to page '/?network=era-mainnet'
Given I click by "partial class" with "main-account-button" value
Given I click by "text" with " View on explorer " value
- Then Element with "text" "zkSync Era Mainnet" should be "visible"
+ Then Element with "text" "ZKsync Era Mainnet" should be "visible"
Then Element with "text" "Ethereum Mainnet" should be "visible"
Then Element with "text" "View on explorer" should be "visible"
Then Element with "testId" "close-button" should be "visible"
@@ -65,7 +65,7 @@ Feature: Artifacts - UI
Given I go to page '/?network=era-goerli'
Given I click by "partial class" with "main-account-button" value
Given I click by "text" with " View on explorer " value
- Then Element with "text" "zkSync Era Testnet" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
Then Element with "text" "Ethereum Goerli Testnet" should be "visible"
Then Element with "text" "View on explorer" should be "visible"
Then Element with "testId" "close-button" should be "visible"
@@ -82,7 +82,7 @@ Feature: Artifacts - UI
Given I go to page '/?network=lite-mainnet'
Given I click by "partial class" with "main-account-button" value
Given I click by "text" with " View on explorer " value
- Then Element with "text" "zkSync Lite Mainnet" should be "visible"
+ Then Element with "text" "ZKsync Lite Mainnet" should be "visible"
Then Element with "text" "Ethereum Mainnet" should be "visible"
Then Element with "text" "View on explorer" should be "visible"
Then Element with "testId" "close-button" should be "visible"
@@ -99,7 +99,7 @@ Feature: Artifacts - UI
Given I go to page '/?network=lite-goerli'
Given I click by "partial class" with "main-account-button" value
Given I click by "text" with " View on explorer " value
- Then Element with "text" "zkSync Lite Goerli" should be "visible"
+ Then Element with "text" "ZKsync Lite Goerli" should be "visible"
Then Element with "text" "Ethereum Goerli Testnet" should be "visible"
Then Element with "text" "View on explorer" should be "visible"
Then Element with "testId" "close-button" should be "visible"
diff --git a/tests/e2e/features/artifacts/mainPage/artifacts-upperNavigarionMenu.feature b/tests/e2e/features/artifacts/mainPage/artifacts-upperNavigarionMenu.feature
index 498d76a6f..9117ba944 100644
--- a/tests/e2e/features/artifacts/mainPage/artifacts-upperNavigarionMenu.feature
+++ b/tests/e2e/features/artifacts/mainPage/artifacts-upperNavigarionMenu.feature
@@ -28,8 +28,8 @@ Feature: Artifacts - Upper Navigation Menu
Then Element with "href and text" "'https://era.zksync.io/docs/api/js' and 'Javascript SDK'" should be "clickable"
Then Element with "href and text" "'https://era.zksync.io/docs/api/hardhat' and 'Hardhat plugins'" should be "visible"
Then Element with "href and text" "'https://era.zksync.io/docs/api/hardhat' and 'Hardhat plugins'" should be "clickable"
- Then Element with "href and text" "'https://era.zksync.io/docs/api/tools/zksync-cli/' and 'zkSync Era CLI'" should be "visible"
- Then Element with "href and text" "'https://era.zksync.io/docs/api/tools/zksync-cli/' and 'zkSync Era CLI'" should be "clickable"
+ Then Element with "href and text" "'https://era.zksync.io/docs/api/tools/zksync-cli/' and 'ZKsync Era CLI'" should be "visible"
+ Then Element with "href and text" "'https://era.zksync.io/docs/api/tools/zksync-cli/' and 'ZKsync Era CLI'" should be "clickable"
Then Element with "partial text" "Guides" should be "visible"
Then Element with "partial text" "Tools" should be "visible"
@@ -50,14 +50,14 @@ Feature: Artifacts - Upper Navigation Menu
Scenario: Check artifacts on the Upper navigation menu (Network)
Given I am on the Main page
When I hover the "text" element with " Network " value
- Then Element with "href and text" "'https://era.zksync.io/docs/dev/fundamentals/zkSync.html' and 'Intro to zkSync Era'" should be "visible"
- Then Element with "href and text" "'https://era.zksync.io/docs/dev/fundamentals/zkSync.html' and 'Intro to zkSync Era'" should be "clickable"
+ Then Element with "href and text" "'https://era.zksync.io/docs/dev/fundamentals/zkSync.html' and 'Intro to ZKsync Era'" should be "visible"
+ Then Element with "href and text" "'https://era.zksync.io/docs/dev/fundamentals/zkSync.html' and 'Intro to ZKsync Era'" should be "clickable"
Then Element with "href and text" "'https://portal.zksync.io/' and 'Wallet Portal'" should be "visible"
Then Element with "href and text" "'https://portal.zksync.io/' and 'Wallet Portal'" should be "clickable"
Then Element with "href and text" "'https://explorer.zksync.io/' and 'Block Explorer'" should be "visible"
Then Element with "href and text" "'https://explorer.zksync.io/' and 'Block Explorer'" should be "clickable"
- Then Element with "href and text" "'https://docs.zksync.io/userdocs/intro/' and 'Intro to zkSync Lite'" should be "visible"
- Then Element with "href and text" "'https://docs.zksync.io/userdocs/intro/' and 'Intro to zkSync Lite'" should be "clickable"
+ Then Element with "href and text" "'https://docs.zksync.io/userdocs/intro/' and 'Intro to ZKsync Lite'" should be "visible"
+ Then Element with "href and text" "'https://docs.zksync.io/userdocs/intro/' and 'Intro to ZKsync Lite'" should be "clickable"
Then Element with "href and text" "'https://lite.zksync.io/' and 'Wallet Portal'" should be "visible"
Then Element with "href and text" "'https://lite.zksync.io/' and 'Wallet Portal'" should be "clickable"
Then Element with "href and text" "'https://zkscan.io/' and 'Block Explorer'" should be "visible"
@@ -66,6 +66,6 @@ Feature: Artifacts - Upper Navigation Menu
Then Element with "href and text" "'https://ecosystem.zksync.io/' and 'Explore the Ecosystem'" should be "clickable"
Then Element with "href and text" "'https://matterlabs.notion.site/zkSync-Brand-Resources-750bb7b1f3d14ebe9f539a86901c4a1c/' and 'Brand assets'" should be "visible"
Then Element with "href and text" "'https://matterlabs.notion.site/zkSync-Brand-Resources-750bb7b1f3d14ebe9f539a86901c4a1c/' and 'Brand assets'" should be "clickable"
- Then Element with "partial text" "zkSync Era (v2)" should be "visible"
- Then Element with "partial text" "zkSync Lite (v1)" should be "visible"
- Then Element with "partial text" "zkSync Lite (v1)" should be "visible"
\ No newline at end of file
+ Then Element with "partial text" "ZKsync Era (v2)" should be "visible"
+ Then Element with "partial text" "ZKsync Lite (v1)" should be "visible"
+ Then Element with "partial text" "ZKsync Lite (v1)" should be "visible"
\ No newline at end of file
diff --git a/tests/e2e/features/artifacts/transferPage/atrifacts-transfers.feature b/tests/e2e/features/artifacts/transferPage/atrifacts-transfers.feature
index da0e5c80f..014863c67 100644
--- a/tests/e2e/features/artifacts/transferPage/atrifacts-transfers.feature
+++ b/tests/e2e/features/artifacts/transferPage/atrifacts-transfers.feature
@@ -153,7 +153,7 @@ Feature: Artifacts - UI
Given I am on the Main page
When I go to page "/transaction/zksync/era/send?network=era-goerli&address=0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d"
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "confirm" transaction after clicking "Send to zkSync Era Testnet" button
+ When I "confirm" transaction after clicking "Send to ZKsync Era Testnet" button
#Transaction submitted pop up - id1537
Then Message "Transaction submitted" should be visible
Then Submitted transaction animation should be visible
@@ -210,7 +210,7 @@ Feature: Artifacts - UI
Then Element with "text" " Continue " should be "clickable"
When I click by text " Continue "
Then Element with "text" "Confirm transaction" should be "visible"
- Then Element with "text" "Your zkSync Era Testnet account" should be "visible"
+ Then Element with "text" "Your ZKsync Era Testnet account" should be "visible"
Then Element with "partial class" "address-card-avatar" should be "visible"
Then Modal card element with the "//*[text()='0x2CF4...75d']" xpath should be "visible"
Then Modal card element with the "//*[@alt='ETH token icon']" xpath should be "visible"
@@ -229,8 +229,8 @@ Feature: Artifacts - UI
Then Modal card element with the "//*[contains(@class, '-my-0.5')]//button[contains(., 'of')]" xpath should be "visible"
Then Modal card element with the "//*[contains(@class, '-my-0.5')]//*[contains(@src, 'eth.svg')]" xpath should be "visible"
Then Modal card element with the "//*[contains(@class, '-my-0.5')]//button[contains(., 'ETH')]" xpath should be "visible"
- Then Element with "text" "Send to zkSync Era Testnet" should be "visible"
- Then Element with "text" "Send to zkSync Era Testnet" should be "clickable"
+ Then Element with "text" "Send to ZKsync Era Testnet" should be "visible"
+ Then Element with "text" "Send to ZKsync Era Testnet" should be "clickable"
@id1286 @transfer
Scenario: Check max button functionality
@@ -254,7 +254,7 @@ Feature: Artifacts - UI
When I go to page "/transaction/zksync/era/send/?address=0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d"
# Fill all the required fields for tx and to see Submitted window
Then I choose "ETH" as token and insert "0.00000001" as amount
- When I "confirm" transaction after clicking "Send to zkSync Era Testnet" button
+ When I "confirm" transaction after clicking "Send to ZKsync Era Testnet" button
#Links check
Then Element with "href" "https://goerli.explorer.zksync.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d" should be "clickable"
Then I click by "href" with "https://goerli.explorer.zksync.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d" value
diff --git a/tests/e2e/features/artifacts/whereToSendPage/artifacts.feature b/tests/e2e/features/artifacts/whereToSendPage/artifacts.feature
index 5b58bf083..8708cc5dd 100644
--- a/tests/e2e/features/artifacts/whereToSendPage/artifacts.feature
+++ b/tests/e2e/features/artifacts/whereToSendPage/artifacts.feature
@@ -9,9 +9,9 @@ Feature: Artifacts - UI
Given I go to page "/transaction/zksync/era/?network=era-goerli"
Then Element with "text" "Where to send" should be "visible"
#zkSync Era item
- Then Element with "text" "zkSync Era Testnet" should be "visible"
- Then Element with "text" "Send inside zkSync Era Testnet network" should be "visible"
- Then Element with "text" "zkSync Era Testnet" should be "clickable"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
+ Then Element with "text" "Send inside ZKsync Era Testnet network" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "clickable"
Then Element with "partial src" "/img/era.svg" should be "visible"
Then Element with "partial src" "/img/era.svg" should be "clickable"
#Ethereum item
@@ -21,9 +21,9 @@ Feature: Artifacts - UI
Then Element with "partial src" "/img/ethereum.svg" should be "visible"
Then Element with "partial src" "/img/ethereum.svg" should be "clickable"
#zkSync Lite item
- Then Element with "text" "zkSync Lite Goerli" should be "visible"
- Then Element with "text" "Send to zkSync Lite network" should be "visible"
- Then Element with "text" "zkSync Lite Goerli" should be "clickable"
+ Then Element with "text" "ZKsync Lite Goerli" should be "visible"
+ Then Element with "text" "Send to ZKsync Lite network" should be "visible"
+ Then Element with "text" "ZKsync Lite Goerli" should be "clickable"
Then Element with "partial src" "/img/zksync-lite.svg" should be "visible"
Then Element with "partial src" "/img/zksync-lite.svg" should be "clickable"
Then Element with "text" "Send to exchange" should be "visible"
diff --git a/tests/e2e/features/artifacts/withdrawPage/artifacts-withdraw.feature b/tests/e2e/features/artifacts/withdrawPage/artifacts-withdraw.feature
index b869d7d6b..b9d3373f8 100644
--- a/tests/e2e/features/artifacts/withdrawPage/artifacts-withdraw.feature
+++ b/tests/e2e/features/artifacts/withdrawPage/artifacts-withdraw.feature
@@ -45,7 +45,7 @@ Feature: Withdraw
When I click by text " Continue "
Then Element with "text" "Confirm transaction" should be "visible"
Then Element with "text" "Your Ethereum Goerli Testnet account" should be "visible"
- Then Element with "text" "Your zkSync Era Testnet account" should be "visible"
+ Then Element with "text" "Your ZKsync Era Testnet account" should be "visible"
Then Element with "partial class" "address-card-avatar" should be "visible"
Then Modal card element with the "//*[text()='0x2CF4...75d']" xpath should be "visible"
Then Modal card element with the "//*[@alt='ETH token icon']" xpath should be "visible"
@@ -82,7 +82,7 @@ Feature: Withdraw
Then I click by "testId" with "token-dropDown" value
When I fill the input field contains "placeholder" type "Symbol or address" value with "AAA" text
Then Element with "partial string" 'No tokens was found for "AAA"' should be "visible"
- Then Element with "partial text" "Make sure you are using correct zkSync network" should be "visible"
+ Then Element with "partial text" "Make sure you are using correct ZKsync network" should be "visible"
Examples:
| network |
diff --git a/tests/e2e/features/navigation/navigation.feature b/tests/e2e/features/navigation/navigation.feature
index 6721147e4..2c1a603af 100644
--- a/tests/e2e/features/navigation/navigation.feature
+++ b/tests/e2e/features/navigation/navigation.feature
@@ -74,9 +74,9 @@ Feature: Navigation
Examples:
| Button name | url |
- | zkSync Era Testnet | /transaction/zksync/era/send |
+ | ZKsync Era Testnet | /transaction/zksync/era/send |
| Ethereum Goerli | /transaction/zksync/era/withdraw |
- | zkSync Lite Goerli | /transaction/zksync/era/send-lite |
+ | ZKsync Lite Goerli | /transaction/zksync/era/send-lite |
@id1430:II
Scenario Outline: Check Navigation for the "Where to Send" page links
@@ -111,8 +111,8 @@ Feature: Navigation
Then Current page have "" address
Examples:
| Network name | Network URL |
- | zkSync Era Testnet | /?network=era-goerli |
- | zkSync Lite Goerli | /?network=lite-goerli |
+ | ZKsync Era Testnet | /?network=era-goerli |
+ | ZKsync Lite Goerli | /?network=lite-goerli |
@1489:II @testnet
Scenario Outline: Check navigation from networks dropdown
@@ -125,5 +125,5 @@ Feature: Navigation
Then Current page have "" address
Examples:
| Network name | Network URL |
- | zkSync Era Mainnet | /?network=era-mainnet |
- | zkSync Lite Mainnet | /?network=lite-mainnet |
\ No newline at end of file
+ | ZKsync Era Mainnet | /?network=era-mainnet |
+ | ZKsync Lite Mainnet | /?network=lite-mainnet |
\ No newline at end of file
diff --git a/tests/e2e/features/redirection/loginPage/redirection.feature b/tests/e2e/features/redirection/loginPage/redirection.feature
index 6e257a580..eec8585a0 100644
--- a/tests/e2e/features/redirection/loginPage/redirection.feature
+++ b/tests/e2e/features/redirection/loginPage/redirection.feature
@@ -3,13 +3,13 @@
Feature: External Redirection on the Login Page
@id1541
- Scenario Outline: Check redirection for the "View on Explorer" links (zkSync Era∎)
+ Scenario Outline: Check redirection for the "View on Explorer" links (ZKsync Era∎)
When I click by "" with "" value
Then New page has "" address
Examples:
| Selector type | Selector value | url |
- | title | zkSync Portal GitHub page | https://github.com/matter-labs/dapp-portal |
+ | title | ZKsync Portal GitHub page | https://github.com/matter-labs/dapp-portal |
| id | zk-sync-white-total | https://zksync.io/ |
@id1586
diff --git a/tests/e2e/features/redirection/mainPage/redirection.feature b/tests/e2e/features/redirection/mainPage/redirection.feature
index fbaee7947..c0e72c043 100644
--- a/tests/e2e/features/redirection/mainPage/redirection.feature
+++ b/tests/e2e/features/redirection/mainPage/redirection.feature
@@ -6,7 +6,7 @@ Feature: External Redirection on the Main Page
Given Connect Metamask extension with login action
@id1410
- Scenario Outline: Check redirection for the "View on Explorer" links (zkSync Era∎)
+ Scenario Outline: Check redirection for the "View on Explorer" links (ZKsync Era∎)
Given I am on the Main page
When I select the "" network
When I click by "testId" with "account-dropdown" value
@@ -18,13 +18,13 @@ Feature: External Redirection on the Main Page
Examples:
| Network Name | Modal card network | url |
- | zkSync Era Mainnet | //*[text()='zkSync Era∎ Mainnet'] | https://explorer.zksync.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
- | zkSync Era Mainnet | //*[text()='Ethereum Mainnet'] | https://etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
- | zkSync Era Testnet | //*[text()='zkSync Era∎ Goerli'] | https://goerli.explorer.zksync.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
- | zkSync Era Testnet | //*[text()='Ethereum Goerli Testnet'] | https://goerli.etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Era Mainnet | //*[text()='ZKsync Era∎ Mainnet'] | https://explorer.zksync.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Era Mainnet | //*[text()='Ethereum Mainnet'] | https://etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Era Testnet | //*[text()='ZKsync Era∎ Goerli'] | https://goerli.explorer.zksync.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Era Testnet | //*[text()='Ethereum Goerli Testnet'] | https://goerli.etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
@id1582
- Scenario Outline: Check redirection for the "View on Explorer" links (zkSync Lite∎)
+ Scenario Outline: Check redirection for the "View on Explorer" links (ZKsync Lite∎)
Given I am on the Main page
When I select the "" network
When I click by "testId" with "account-dropdown" value
@@ -36,10 +36,10 @@ Feature: External Redirection on the Main Page
Examples:
| Network Name | Modal card network | url |
- | zkSync Lite Mainnet | //*[text()='zkSync Lite Mainnet'] | https://zkscan.io/explorer/accounts/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
- | zkSync Lite Mainnet | //*[text()='Ethereum Mainnet'] | https://etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
- | zkSync Lite Goerli | //*[text()='zkSync Lite Goerli'] | https://goerli.zkscan.io/explorer/accounts/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
- | zkSync Lite Goerli | //*[text()='Ethereum Goerli Testnet'] | https://goerli.etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Lite Mainnet | //*[text()='ZKsync Lite Mainnet'] | https://zkscan.io/explorer/accounts/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Lite Mainnet | //*[text()='Ethereum Mainnet'] | https://etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Lite Goerli | //*[text()='ZKsync Lite Goerli'] | https://goerli.zkscan.io/explorer/accounts/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
+ | ZKsync Lite Goerli | //*[text()='Ethereum Goerli Testnet'] | https://goerli.etherscan.io/address/0x2CF4F78917A16C9584AeB5d4c5bD2713d724C75d |
@id1535:I
Scenario Outline: Check redirection for the Header links
@@ -103,9 +103,9 @@ Feature: External Redirection on the Main Page
Given I hover the "text" element with " Build " value
When I click by text " Hardhat plugins "
Then New page has "https://era.zksync.io/docs/tools/hardhat/" address
- #Tools: zkSync Era CLI
+ #Tools: ZKsync Era CLI
Given I hover the "text" element with " Build " value
- When I click by text " zkSync Era CLI "
+ When I click by text " ZKsync Era CLI "
Then New page has "https://era.zksync.io/docs/tools/zksync-cli/" address
@id1533
@@ -129,9 +129,9 @@ Feature: External Redirection on the Main Page
@id1536
Scenario: Check redirection for the Upper navigation menu - Network
- #ZKSYNC ERA (V2): Intro to zkSync Era
+ #ZKSYNC ERA (V2): Intro to ZKsync Era
Given I hover the "text" element with " Network " value
- When I click by text " Intro to zkSync Era "
+ When I click by text " Intro to ZKsync Era "
Then New page has "https://era.zksync.io/docs/reference/concepts/zkSync.html" address
#ZKSYNC ERA (V2): Wallet Portal
Given I hover the "text" element with " Network " value
@@ -141,9 +141,9 @@ Feature: External Redirection on the Main Page
Given I hover the "text" element with " Network " value
When I click by text " Block Explorer "
Then New page has "https://explorer.zksync.io/" address
-# ZKSYNC LITE (V1): Intro to zkSync Lite
+# ZKSYNC LITE (V1): Intro to ZKsync Lite
Given I hover the "text" element with " Network " value
- When I click by text " Intro to zkSync Lite "
+ When I click by text " Intro to ZKsync Lite "
Then New page has "https://docs.zksync.io/userdocs/intro/" address
#ZKSYNC LITE (V1): Wallet Portal
Given I hover the "text" element with " Network " value
@@ -224,9 +224,9 @@ Feature: External Redirection on the Main Page
Given I hover the "text" element with " Build " value
When I click by text " Hardhat plugins "
Then New page has "https://era.zksync.io/docs/tools/hardhat/" address
- #Tools: zkSync Era CLI
+ #Tools: ZKsync Era CLI
Given I hover the "text" element with " Build " value
- When I click by text " zkSync Era CLI "
+ When I click by text " ZKsync Era CLI "
Then New page has "https://era.zksync.io/docs/tools/zksync-cli/" address
@id1533
@@ -250,9 +250,9 @@ Feature: External Redirection on the Main Page
@id1536
Scenario: Check redirection for the Upper navigation menu - Network
- #ZKSYNC ERA (V2): Intro to zkSync Era
+ #ZKSYNC ERA (V2): Intro to ZKsync Era
Given I hover the "text" element with " Network " value
- When I click by text " Intro to zkSync Era "
+ When I click by text " Intro to ZKsync Era "
Then New page has "https://era.zksync.io/docs/reference/concepts/zkSync.html" address
#ZKSYNC ERA (V2): Wallet Portal
Given I hover the "text" element with " Network " value
@@ -262,9 +262,9 @@ Feature: External Redirection on the Main Page
Given I hover the "text" element with " Network " value
When I click by text " Block Explorer "
Then New page has "https://explorer.zksync.io/" address
-# ZKSYNC LITE (V1): Intro to zkSync Lite
+# ZKSYNC LITE (V1): Intro to ZKsync Lite
Given I hover the "text" element with " Network " value
- When I click by text " Intro to zkSync Lite "
+ When I click by text " Intro to ZKsync Lite "
Then New page has "https://docs.zksync.io/userdocs/intro/" address
#ZKSYNC LITE (V1): Wallet Portal
Given I hover the "text" element with " Network " value
diff --git a/tests/e2e/features/transactions/deposit/bridge-deposit-with-blockchain.feature b/tests/e2e/features/transactions/deposit/bridge-deposit-with-blockchain.feature
index 5342499d1..4f217d963 100644
--- a/tests/e2e/features/transactions/deposit/bridge-deposit-with-blockchain.feature
+++ b/tests/e2e/features/transactions/deposit/bridge-deposit-with-blockchain.feature
@@ -13,7 +13,7 @@ Feature: Deposit
Then Fee "should" have "$" value
Then Fee "should" have "ETH" value
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "confirm" transaction after clicking "Add funds to zkSync Era Testnet" button
+ When I "confirm" transaction after clicking "Add funds to ZKsync Era Testnet" button
Then Message "Transaction submitted" should be visible
Then Element with "partial href" "https://goerli.etherscan.io/tx/" should be "clickable"
#id1607 Check "Transaction submitted" pop up Artifacts
@@ -28,11 +28,11 @@ Feature: Deposit
Then Arrow element for "Deposit" external link should be "visible"
Then Arrow element for "Deposit" external link should be "clickable"
Then Element with "text" " Your funds will be available on " should be "visible"
- Then Element with "text" "zkSync Era Testnet" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
Then Element with "text" " after the transaction is committed on " should be "visible"
Then Element with "text" "Ethereum Goerli Testnet" should be "visible"
Then Element with "text" " and then processed on " should be "visible"
- Then Element with "text" "zkSync Era Testnet" should be "visible"
+ Then Element with "text" "ZKsync Era Testnet" should be "visible"
Then Element with "text" ". You are free to close this page. " should be "clickable"
Then Element with "text" " Track status " should be "clickable"
Then Element with "text" " Make another transaction " should be "visible"
diff --git a/tests/e2e/features/transactions/deposit/deposit-with-blockchain.feature b/tests/e2e/features/transactions/deposit/deposit-with-blockchain.feature
index 9f0a7d0b7..577ece301 100644
--- a/tests/e2e/features/transactions/deposit/deposit-with-blockchain.feature
+++ b/tests/e2e/features/transactions/deposit/deposit-with-blockchain.feature
@@ -14,7 +14,7 @@ Feature: Deposit
Then Fee "should" have "$" value
Then Fee "should" have "ETH" value
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "confirm" transaction after clicking "Add funds to zkSync Era Testnet" button
+ When I "confirm" transaction after clicking "Add funds to ZKsync Era Testnet" button
Then Message "Transaction submitted" should be visible
# id1396
Then Element with "text" " Go to Assets page " should be "visible"
@@ -28,7 +28,7 @@ Feature: Deposit
Given I go to "Deposit" transaction section
When I click by "text" with "Your account" value
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "confirm" transaction after clicking "Add funds to zkSync Era Testnet" button
+ When I "confirm" transaction after clicking "Add funds to ZKsync Era Testnet" button
Then Message "Transaction submitted" should be visible
Then Modal card element with the "//*[contains(text(),'Track status')]" xpath should be "visible"
Then Modal card element with the "//*[contains(text(),'Track status')]" xpath should be "clickable"
@@ -41,6 +41,6 @@ Feature: Deposit
Given I go to "Deposit" transaction section
When I click by "text" with "Your account" value
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "reject" transaction after clicking "Add funds to zkSync Era Testnet" button
- Then Element with "text" "Add funds to zkSync Era Testnet" should be "visible"
- Then Element with "text" "Add funds to zkSync Era Testnet" should be "clickable"
+ When I "reject" transaction after clicking "Add funds to ZKsync Era Testnet" button
+ Then Element with "text" "Add funds to ZKsync Era Testnet" should be "visible"
+ Then Element with "text" "Add funds to ZKsync Era Testnet" should be "clickable"
diff --git a/tests/e2e/features/transactions/transfer.feature b/tests/e2e/features/transactions/transfer.feature
index a6c9284c9..fd1d457c0 100644
--- a/tests/e2e/features/transactions/transfer.feature
+++ b/tests/e2e/features/transactions/transfer.feature
@@ -9,7 +9,7 @@ Feature: Transfer
Given I am on the Main page
When I go to page "/transaction/zksync/era/send?network=era-goerli&address=0x9CC8DC9c4d73fC5647A4eE78A2e8EC49D447AeB8"
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "confirm" transaction after clicking "Send to zkSync Era Testnet" button
+ When I "confirm" transaction after clicking "Send to ZKsync Era Testnet" button
Then Message "Transaction submitted" should be visible
Then Message "Transaction completed" should be visible
Then Element with "text" "Send" should be "visible"
@@ -21,6 +21,6 @@ Feature: Transfer
Given I am on the Main page
When I go to page "/transaction/zksync/era/send?network=era-goerli&address=0x9CC8DC9c4d73fC5647A4eE78A2e8EC49D447AeB8"
When I choose "ETH" as token and insert "0.0000000001" as amount
- When I "reject" transaction after clicking "Send to zkSync Era Testnet" button
+ When I "reject" transaction after clicking "Send to ZKsync Era Testnet" button
Then Element with "text" "Confirm transaction" should be "visible"
diff --git a/tests/e2e/features/transactions/withdraw.feature b/tests/e2e/features/transactions/withdraw.feature
index 6ed987533..89a875806 100644
--- a/tests/e2e/features/transactions/withdraw.feature
+++ b/tests/e2e/features/transactions/withdraw.feature
@@ -19,7 +19,7 @@ Feature: Withdraw
@id1274
Scenario: Withdraw - Send - [Transaction] 0 funds
- # Given I click by "text" with "zkSync Era∎" value
+ # Given I click by "text" with "ZKsync Era∎" value
When I go to "Withdraw" transaction section
When I click by "text" with "Your account" value
When I insert "0" as amount
diff --git a/tests/e2e/src/pages/login.page.ts b/tests/e2e/src/pages/login.page.ts
index 1037966c3..2e511638c 100644
--- a/tests/e2e/src/pages/login.page.ts
+++ b/tests/e2e/src/pages/login.page.ts
@@ -19,7 +19,7 @@ export class LoginPage extends BasePage {
}
get mainTitle() {
- return "//h1[text()='zkSync Portal']";
+ return "//h1[text()='ZKsync Portal']";
}
async connectMetamask() {
diff --git a/tests/e2e/src/pages/main.page.ts b/tests/e2e/src/pages/main.page.ts
index cb4c38d1a..c73158667 100644
--- a/tests/e2e/src/pages/main.page.ts
+++ b/tests/e2e/src/pages/main.page.ts
@@ -266,10 +266,10 @@ export class MainPage extends BasePage {
await this.click(this.networkSwitcher);
if (
- networkName === "zkSync Era Mainnet" ||
- networkName === "zkSync Era Testnet" ||
- networkName === "zkSync Lite Mainnet" ||
- networkName === "zkSync Lite Goerli"
+ networkName === "ZKsync Era Mainnet" ||
+ networkName === "ZKsync Era Testnet" ||
+ networkName === "ZKsync Lite Mainnet" ||
+ networkName === "ZKsync Lite Goerli"
) {
result = `//*[text()='${networkName}']`;
} else {
diff --git a/tests/e2e/utils/metamaskId.json b/tests/e2e/utils/metamaskId.json
index b98f6fd97..781d62fd4 100644
--- a/tests/e2e/utils/metamaskId.json
+++ b/tests/e2e/utils/metamaskId.json
@@ -1,6 +1,6 @@
{
"zksyncGoerliNetwork": {
- "networkName": "zkSync Era Testnet",
+ "networkName": "ZKsync Era Testnet",
"newRpcUrl": "https://testnet.era.zksync.dev",
"chainId": "280",
"currencySymbol": "ETH",