Skip to content

Commit

Permalink
test: new formatting and screenshots addition for Transaction page (#240
Browse files Browse the repository at this point in the history
)

# What ❔

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

## Why ❔

## Checklist

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
  • Loading branch information
amelnytskyi authored Apr 16, 2024
1 parent 19afafc commit e561eff
Show file tree
Hide file tree
Showing 110 changed files with 700 additions and 389 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['Account', 'automated', 'Copying', 'Full test', 'manual', 'Automated']
---

# id244 Acc page - Pages - hashes copying

## Description
- USDC example: 0x54a14d7559baf2c8e8fa504e019d32479739018c

## Precondition


## Scenario
- The following hashes can be copied:
- Account
- Address
- Smart contract address from the tokens list
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
tags: ['Account', 'APIv1-APIv2', 'automated', 'Full test', 'Navigation', 'Automated']
---

# id259 Acc page - Pages - Navigation

## Description
- Input an account address to the search field, f.e. 0x851df0eDcc4109C7E620d0AAdFDB99348821EB79
- url: https://staging-scan-v2.zksync.dev/address/0x851df0eDcc4109C7E620d0AAdFDB99348821EB79

## Precondition


## Scenario
- Links navigates user:
- TX Hash -\> to Transaction
- https://goerli.explorer.zksync.io/tx/0x629465e041109e49f67835501371219c17a60f721c460eead0acbbc8c72509eb
- From hash -\> to Account (internal link)
- https://goerli.etherscan.io/address/0x851df0eDcc4109C7E620d0AAdFDB99348821EB79
- To hash -\> to Account (internal link)
- https://goerli.explorer.zksync.io/address/0x851df0eDcc4109C7E620d0AAdFDB99348821EB79
- Fee -\> to Contract page
- https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A
- Value - \> Contract page
- https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Full test', 'manual', 'Automated']
---

# id260 Acc page - Pages - Artifacts (Account info)

## Description
- /address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6

## Precondition


## Scenario
- Account info
- Contains Address
- Committed nonce
- Verified nonce
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Balances', 'Full test', 'manual', 'Smoke test', 'Active Partly Manual']
---

# id261 Acc page - Pages - Artifacts (Balances)

## Description
- https://staging-scan-v2.zksync.dev/address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6

## Precondition


## Scenario
- Balances table displays the balance of L2
- Asset/Token
- Balance
- 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)
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Full test', 'manual', 'Smoke test', 'Active Partly Manual']
---

# id262 Acc page - Pages - Artifacts (Transactions)

## Description
- https://staging-scan-v2.zksync.dev/address/0x08d211e22db19741ff25838a22e4e696fee7ed36

## Precondition


## Scenario
- 'Transactions' tab contains transactions with fields:
- Status
- Included
- Verified
- Transaction Hash
- 0x34ae379cb2e2e319322a5476fbac7d98241e1ebc35bb5c7bb07f775d660f0b00
- Method
- Age
- 'X' days (depends on the current date)
- Timestamp can be copied on click
- From
- 0x08d211e22db19741ff25838a22e4e696fee7ed36
- L1/L2 labels labels displayed
- Direction
- In
- Out
- Self
- To
- 0x08d211e22db19741ff25838a22e4e696fee7ed36
- L1/L2 labels displayed
- Value (in ETH only)
- Fee (Fee in ETH only)
- 0.01 ETH
- Pagination element with pages displayed in case there are 10+ txs for this account
- Open any page
- Verify 10 other transactions loaded (if so many exist)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
tags: ['Account', 'automated', 'Full test', 'Pages', 'Smoke test', 'ZKF-2246', 'Automated']
---

# id339 Acc page - Pages - Account's URL

## Description
- https://staging-portal.zksync.dev/

## Precondition


## Scenario
- Open transactions's link from "Latest Transactions" section
- Click on the "From" address
- Verify opened page has \<BLOCK_EXPORER_URL\>/address/\<ACCOUNT_ADDRESS\> structure
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
tags: ['Account', 'APIv1-APIv2', 'automated', 'Full test', 'Redirection', 'regression', 'Automated']
---

# id367 Acc page - Pages - L1 Redirection

## Description
- Input an account address to the search field, f.e. 0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6
- url: https://staging-scan-v2.zksync.dev/address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6
- https://goerli.explorer.zksync.io/address/0x851df0eDcc4109C7E620d0AAdFDB99348821EB79

## Precondition


## Scenario
- Links redirect user:
- From hash -\> redirects to Etherscan (external link)
- https://goerli.etherscan.io/address/0xb5f25275c24b7dcc3012fef2e3519b1a2af6bf27
- To hash -\> to Etherscan (external link)
- https://goerli.etherscan.io/address/0xb5f25275c24b7dcc3012fef2e3519b1a2af6bf27
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Automated']
---

# id380 Acc page - Pages - Verify "IN" label

## Description
- - I am on https://staging-scan-v2.zksync.dev/address/addresshash page (https://goerli.explorer.zksync.io/address/0xd0d84927ff84183ca8899b21116e480a3863fe61)
- Preconditions: Make transaction from L1/L2 address to another L2 address

## Precondition


## Scenario
- Open reveiver Account page
- Find the transaction you made previously
- Verify "IN" label displayed for the transaction
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Automated']
---

# id381 Acc page - Pages - Verify "OUT" label

## Description
- I am on https://staging-scan-v2.zksync.dev/address/addresshash page
- Preconditions: Make transaction from L1/L2 address to another L2 address

## Precondition


## Scenario
- Open sender Account page
- Find the transaction you made previously
- Verify "OUT" label displayed for the transaction
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['automated', 'Full test', 'Smoke test', 'Transaction', 'ZKF-2144', 'Automated']
---

# id382 Acc page - Pages - Verify "SELF" label

## Description
- I am on https://staging-scan-v2.zksync.dev/address/addresshash page
- Preconditions: Make transaction from L2 to the same own L2 address

## Precondition


## Scenario
- Open Account page
- Find the transaction you made previously
- Verify "SELF" label displayed for the transaction
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
tags: ['Account', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-2301', 'Active']
---

# id593 Acc page - Pages - Verify hover state for 'Age' field

## Description
- https://goerli.explorer.zksync.io/address/0xef531e111c4ce761e9b6a9f53046c6fdcf53187d

## Precondition


## Scenario
- Open account page
- Homer the cursor over "Age" field of any transaction raw
- Verify tooltip with timestamp shown on hover
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
tags: ['Account', 'Artifacts', 'Balances', 'Full test', 'manual', 'regression', 'ZKF-2858', 'Active']
---

# id800 Acc page - Pages - Verify collapsed state for Balances

## Description
- Open page with a lot of tokens balance (5+ tokens) (https://goerli.staging-scan-v2.zksync.dev/address/0xd0d84927ff84183ca8899b21116e480a3863fe61)

## Precondition


## Scenario
- Balances table displays the balance of L2
- Asset/Token
- Balance
- Address/smart contract hash
- USD price is displayed for ERC20 tokens
- 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
- Click on "Show all Balances \{number\}" button
- Verify expanded list of tokens displayed
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
tags: ['Account', 'Artifacts', 'Balances', 'Empty state', 'Full test', 'manual', 'regression', 'Active']
---

# id807 Acc page - Pages - Artifacts (Empty state)

## Description
- Open page of empty account https://staging-scan-v2.zksync.dev/address/0xe9f4149276e8a4f8db89e0e3bb78fd853f01e87d (Mainnet)

## Precondition


## Scenario
- Account info table
- Address
- Committed nonce - 0
- Verified nonce - 0
- Balances table
- Title
- This account doesn’t have any balances
- Text
- We can’t find any balances related to this account.
- Latest Transactions
- Title
- 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
tags: ['Account', 'Artifacts', 'Full test', 'Smoke test', 'Transaction', 'Active']
---

# id928 Acc page - Pages - Artifacts (Transactions) - Transfers tab

## Description
- https://goerli.explorer.zksync.io/address/0x40609141Db628BeEE3BfAB8034Fc2D8278D0Cc78

## Precondition


## Scenario
- ERC20 Transfers tab contains:
- Transaction hash
- Age
- Can be copied
- From
- L1/L2 displayed
- Direction
- IN/OUT/SELF
- To
- L1/L2 displayed
- Amount
- Pagination element (in case there are 10+ txs for this account)

This file was deleted.

This file was deleted.

Loading

0 comments on commit e561eff

Please sign in to comment.