Skip to content

Commit

Permalink
test: new formatting for Pages - 404 + Account pages (#235)
Browse files Browse the repository at this point in the history
# What ❔

- [x] Screenshots added
- [x] 404 pages fixed
- [x] remove labels (manual + automated in the same case)
- [x] remove labels (like ticket connection UEXP/ZKF)
- [x] remove labels (only Automated OR Partly manual)
- [x] Formatting is fixed 

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
  • Loading branch information
olehbairak authored and pcheremu committed May 2, 2024
1 parent 4e60ff3 commit 96c3672
Show file tree
Hide file tree
Showing 47 changed files with 58 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['404 page', 'Error', 'Full test', 'regression', 'Search', 'ZKF-2591', 'Active']
tags: ['404 page', 'Error', 'Full test', 'regression', 'Search', 'Active']
---

# id586 404 page - Pages - Check error message for Search field
Expand All @@ -14,5 +14,7 @@ tags: ['404 page', 'Error', 'Full test', 'regression', 'Search', 'ZKF-2591', 'Ac
- Open page https://goerli.staging-scan-v2.zksync.dev/a
- Insert non-existing hash 0x7e7f53d0a3716698db00ad03847a36439772fbf7111cfb70a5933c610ad8dc4a22
- Press Enter/Click on Search button
![Screenshot](../../../../static/img/Pages/404pages/id586_1.png)
- Pay attention to: input box should be highlighted in red
- Pay attention to: "Please, enter a correct query" message to be displayed correctly with no overlapping with other elements on the page.
![Screenshot](../../../../static/img/Pages/404pages/id586_2.png)
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ tags: ['404 page', 'Artifacts', 'Full test', 'Pages', 'regression', 'Active']
- Text
- If you think this is a problem with us, please contact support
- "contact support" link
![Screenshot](../../../../static/img/Pages/404pages/id713_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['404 page', 'Full test', 'Pages', 'Redirection', 'regression', 'ZKF-3228', 'Active']
tags: ['404 page', 'Full test', 'Pages', 'Redirection', 'regression', 'Active']
---

# id714 404 page - Pages - Redirection
Expand All @@ -11,4 +11,4 @@ tags: ['404 page', 'Full test', 'Pages', 'Redirection', 'regression', 'ZKF-3228'


## Scenario
- "Contact support" link navigates to https://zksync.io/contact
- "Contact support" link navigates to https://zksync.io/contact
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ tags: ['404 page', 'Error', 'Full test', 'regression', 'Search', 'Active']
## Scenario
- Open page https://goerli.staging-scan-v2.zksync.dev/
- Instert non-existing hash to Search field 0x7e7f53d0a3716698db00ad03847a36439772fbf7111cfb70a5933c610ad8dc4a
![Screenshot](../../../../static/img/Pages/404pages/id715_1.png)
- Press on Enter/Click on Search button
- You will see "Oops, we can’t find anything" page
![Screenshot](../../../../static/img/Pages/404pages/id715_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'automated', 'Copying', 'Full test', 'manual', 'Automated']
tags: ['Account', 'Copying', 'Full test', 'Automated']
---

# id244 Acc page - Pages - hashes copying
Expand All @@ -13,5 +13,8 @@ tags: ['Account', 'automated', 'Copying', 'Full test', 'manual', 'Automated']
## Scenario
- The following hashes can be copied:
- Account
![Screenshot](../../../../static/img/Pages/AccountsPage/id244_1.png)
- Address
![Screenshot](../../../../static/img/Pages/AccountsPage/id244_2.png)
- Smart contract address from the tokens list
![Screenshot](../../../../static/img/Pages/AccountsPage/id244_3.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'APIv1-APIv2', 'automated', 'Full test', 'Navigation', 'Automated']
tags: ['Account', 'APIv1-APIv2', 'Full test', 'Navigation', 'Automated']
---

# id259 Acc page - Pages - Navigation
Expand All @@ -23,3 +23,4 @@ tags: ['Account', 'APIv1-APIv2', 'automated', 'Full test', 'Navigation', 'Automa
- https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A
- Value - \> Contract page
- https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A
![Screenshot](../../../../static/img/Pages/AccountsPage/id259_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Full test', 'manual', 'Automated']
tags: ['Account', 'Artifacts', 'Full test', 'Automated']
---

# id260 Acc page - Pages - Artifacts (Account info)
Expand All @@ -15,3 +15,4 @@ tags: ['Account', 'Artifacts', 'automated', 'Full test', 'manual', 'Automated']
- Contains Address
- Committed nonce
- Verified nonce
![Screenshot](../../../../static/img/Pages/AccountsPage/id260_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Balances', 'Full test', 'manual', 'Smoke test', 'Active Partly Manual']
tags: ['Account', 'Artifacts', 'Balances', 'Full test', 'Smoke test', 'Active Partly Manual']
---

# id261 Acc page - Pages - Artifacts (Balances)
Expand All @@ -17,3 +17,4 @@ tags: ['Account', 'Artifacts', 'automated', 'Balances', 'Full test', 'manual', '
- Address/smart contract hash
- USD price is displayed for ERC20 tokens
- USD prices have 2 figures after the dot maximum (1 figure in case it is 0)
![Screenshot](../../../../static/img/Pages/AccountsPage/id261_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Full test', 'manual', 'Smoke test', 'Active Partly Manual']
tags: ['Account', 'Artifacts', 'Full test', 'Smoke test', 'Active Partly Manual']
---

# id262 Acc page - Pages - Artifacts (Transactions)
Expand Down Expand Up @@ -34,6 +34,8 @@ tags: ['Account', 'Artifacts', 'automated', 'Full test', 'manual', 'Smoke test',
- Value (in ETH only)
- Fee (Fee in ETH only)
- 0.01 ETH
![Screenshot](../../../../static/img/Pages/AccountsPage/id262_1.png)
- Pagination element with pages displayed in case there are 10+ txs for this account
![Screenshot](../../../../static/img/Pages/AccountsPage/id262_2.png)
- Open any page
- Verify 10 other transactions loaded (if so many exist)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'automated', 'Full test', 'Pages', 'Smoke test', 'ZKF-2246', 'Automated']
tags: ['Account', 'Full test', 'Pages', 'Smoke test', 'Automated']
---

# id339 Acc page - Pages - Account's URL
Expand All @@ -14,3 +14,4 @@ tags: ['Account', 'automated', 'Full test', 'Pages', 'Smoke test', 'ZKF-2246', '
- Open transactions's link from "Latest Transactions" section
- Click on the "From" address
- Verify opened page has \<BLOCK_EXPORER_URL\>/address/\<ACCOUNT_ADDRESS\> structure
![Screenshot](../../../../static/img/Pages/AccountsPage/id339_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'APIv1-APIv2', 'automated', 'Full test', 'Redirection', 'regression', 'Automated']
tags: ['Account', 'APIv1-APIv2', 'Full test', 'Redirection', 'regression', 'Automated']
---

# id367 Acc page - Pages - L1 Redirection
Expand All @@ -18,3 +18,4 @@ tags: ['Account', 'APIv1-APIv2', 'automated', 'Full test', 'Redirection', 'regre
- https://goerli.etherscan.io/address/0xb5f25275c24b7dcc3012fef2e3519b1a2af6bf27
- To hash -\> to Etherscan (external link)
- https://goerli.etherscan.io/address/0xb5f25275c24b7dcc3012fef2e3519b1a2af6bf27
![Screenshot](../../../../static/img/Pages/AccountsPage/id367_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Automated']
tags: ['Full test', 'Smoke test', 'Transaction', 'Automated']
---

# id380 Acc page - Pages - Verify "IN" label
Expand All @@ -15,3 +15,4 @@ tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Autom
- Open reveiver Account page
- Find the transaction you made previously
- Verify "IN" label displayed for the transaction
![Screenshot](../../../../static/img/Pages/AccountsPage/id380_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Automated']
tags: ['Full test', 'Smoke test', 'Transaction', 'Automated']
---

# id381 Acc page - Pages - Verify "OUT" label
Expand All @@ -15,3 +15,4 @@ tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Autom
- Open sender Account page
- Find the transaction you made previously
- Verify "OUT" label displayed for the transaction
![Screenshot](../../../../static/img/Pages/AccountsPage/id381_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Automated']
tags: ['Full test', 'Smoke test', 'Transaction', 'Automated']
---

# id382 Acc page - Pages - Verify "SELF" label
Expand All @@ -15,3 +15,4 @@ tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Autom
- Open Account page
- Find the transaction you made previously
- Verify "SELF" label displayed for the transaction
![Screenshot](../../../../static/img/Pages/AccountsPage/id382_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-2301', 'Active']
tags: ['Account', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Active']
---

# id593 Acc page - Pages - Verify hover state for 'Age' field
Expand All @@ -14,3 +14,4 @@ tags: ['Account', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-
- Open account page
- Homer the cursor over "Age" field of any transaction raw
- Verify tooltip with timestamp shown on hover
![Screenshot](../../../../static/img/Pages/AccountsPage/id593_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Artifacts', 'Balances', 'Full test', 'manual', 'regression', 'ZKF-2858', 'Active']
tags: ['Account', 'Artifacts', 'Balances', 'Full test', 'manual', 'regression', 'Active']
---

# id800 Acc page - Pages - Verify collapsed state for Balances
Expand All @@ -19,5 +19,7 @@ tags: ['Account', 'Artifacts', 'Balances', 'Full test', 'manual', 'regression',
- 5 tokens displayed in the table
- "Show all Balances \{number\}" button displayed under the tokens list
- Number of all tokens displayed on "Show all Balances \{number\}" button
![Screenshot](../../../../static/img/Pages/AccountsPage/id800_1.png)
- Click on "Show all Balances \{number\}" button
- Verify expanded list of tokens displayed
![Screenshot](../../../../static/img/Pages/AccountsPage/id800_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Artifacts', 'Balances', 'Empty state', 'Full test', 'manual', 'regression', 'Active']
tags: ['Account', 'Artifacts', 'Balances', 'Empty state', 'Full test', 'regression', 'Active']
---

# id807 Acc page - Pages - Artifacts (Empty state)
Expand All @@ -25,3 +25,4 @@ tags: ['Account', 'Artifacts', 'Balances', 'Empty state', 'Full test', 'manual',
- This account doesn’t have any transactions
- Text
- We can’t find any transaction related to this account. It’s your chance to be the first
![Screenshot](../../../../static/img/Pages/AccountsPage/id807_1.png)
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,33 @@ tags: ['Account', 'Artifacts', 'Full test', 'Smoke test', 'Transaction', 'Active
## Scenario
- ERC20 Transfers tab contains:
- Transaction hash

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_1.png)

- Age
- Can be copied

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_2.png)

- From
- L1/L2 displayed

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_3.png)

- Direction
- IN/OUT/SELF

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_4.png)

- To
- L1/L2 displayed

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_5.png)

- Amount

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_6.png)

- Pagination element (in case there are 10+ txs for this account)

![Screenshot](../../../../static/img/Pages/AccountsPage/id928_7.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96c3672

Please sign in to comment.