Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: new formatting for Pages - Contracts + Common pages part) #238

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'Artifacts', 'automated', 'Full test', 'Search', 'Smoke test', 'Automated']
tags: ['Account', 'Artifacts', 'Full test', 'Search', 'Smoke test', 'Automated']
---

# id103 Common - Pages - Artifacts (Search field)
Expand All @@ -12,3 +12,4 @@ tags: ['Account', 'Artifacts', 'automated', 'Full test', 'Search', 'Smoke test',

## Scenario
- Search field is displayed
![Screenshot](../../../../static/img/Pages/CommonPagesPart/id103_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'automated', 'Full test', 'Navigation', 'Automated']
tags: ['Account', 'Full test', 'Navigation', 'Automated']
---

# id238 Common - Pages - Navigation (Home -> Logo)
Expand All @@ -14,3 +14,4 @@ tags: ['Account', 'automated', 'Full test', 'Navigation', 'Automated']
## Scenario
- Redirects to the main page:
- Logo
![Screenshot](../../../../static/img/Pages/CommonPagesPart/id103_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Account', 'automated', 'Full test', 'Navigation', 'Automated']
tags: ['Account', 'Full test', 'Navigation', 'Automated']
---

# id276 Common - Pages - Navigation (Home -> Dashboard)
Expand All @@ -14,3 +14,5 @@ tags: ['Account', 'automated', 'Full test', 'Navigation', 'Automated']
## Scenario
- Navigation to the main page:
- Dashboard

![Screenshot](../../../../static/img/Pages/CommonPagesPart/id276_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Artifacts', 'Common', 'Full test', 'Logs', 'Pages', 'regression', 'ZKF-3284', 'Active']
tags: ['Artifacts', 'Common', 'Full test', 'Logs', 'Pages', 'regression', 'Active']
---

# id772 Common - Check social image for BE
Expand All @@ -17,3 +17,4 @@ tags: ['Artifacts', 'Common', 'Full test', 'Logs', 'Pages', 'regression', 'ZKF-3
- Logo: "Era Block Explorer"
- Description: "Deep dive into zkSync Era and explore the network.
- The zkSync Era Block Explorer provides information on transactions, blocks, contracts, and much more."
![Screenshot](../../../../static/img/Pages/CommonPagesPart/id722_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Artifacts', 'automated', 'Contract', 'Full test', 'Automated']
tags: ['Artifacts', 'Contract', 'Full test', 'Automated']
---

# id211 Contract page - Pages - Artifacts (Contract Info)
Expand All @@ -15,3 +15,4 @@ tags: ['Artifacts', 'automated', 'Contract', 'Full test', 'Automated']
- Address
- Creator
- Transactions
![Screenshot](../../../../static/img/Pages/Contracts/id211_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['APIv1-APIv2', 'automated', 'Contract', 'Full test', 'Navigation', 'regression', 'Active Partly Manual']
tags: ['APIv1-APIv2', 'Contract', 'Full test', 'Navigation', 'regression', 'Active Partly Manual']
---

# id242 Contract page - Pages - Navigation (Transactions)
Expand All @@ -14,6 +14,8 @@ tags: ['APIv1-APIv2', 'automated', 'Contract', 'Full test', 'Navigation', 'regre
- Item \{\} navigates to \{\}:
- Creator to an Account page
- https://goerli.explorer.zksync.io/address/0xA38EDFcc55164a59e0f33918D13a2d559BC11df8

![Screenshot](../../../../static/img/Pages/Contracts/id242_1.png)
- Transaction Hash to a Transaction page
- https://goerli.explorer.zksync.io/tx/0xae9287595367760af18e1a7ed347a496a57b46a660c8d06c241c3a94e3cb6314
- L2 From -\> to Account page
Expand All @@ -22,5 +24,9 @@ tags: ['APIv1-APIv2', 'automated', 'Contract', 'Full test', 'Navigation', 'regre
- https://goerli.explorer.zksync.io/address/0xA80Fce6A62F46ea8f59C8540aAa3F620c17593Ec
- VALUE to contract
- https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A

![Screenshot](../../../../static/img/Pages/Contracts/id242_2.png)
- FEE to contract
- https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A

![Screenshot](../../../../static/img/Pages/Contracts/id242_3.png)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ tags: ['Artifacts', 'Balances', 'Full test', 'manual', 'To Automate']
- Asset
- Balance
- Address
![Screenshot](../../../../static/img/Pages/Contracts/id267_1.png)
- Balances table values are optional
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Contract', 'Full test', 'Navigation', 'Automated']
tags: ['Contract', 'Full test', 'Navigation', 'Automated']
---

# id268 Contract page - Pages - Navigation (Contract)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Contract', 'Copying', 'Full test', 'Automated']
tags: ['Contract', 'Copying', 'Full test', 'Automated']
---

# id269 Contract page - Pages - Hashes copying
Expand All @@ -15,3 +15,4 @@ tags: ['automated', 'Contract', 'Copying', 'Full test', 'Automated']
- Address
- *Contract hashes - if any
- Contract hash from the title
![Screenshot](../../../../static/img/Pages/Contracts/id269_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Artifacts', 'automated', 'Full test', 'Smoke test', 'Transaction', 'Active Partly Manual']
tags: ['Artifacts', 'Full test', 'Smoke test', 'Transaction', 'Active Partly Manual']
---

# id270 Contract page - Pages - Artifacts (Transactions)
Expand All @@ -25,6 +25,8 @@ tags: ['Artifacts', 'automated', 'Full test', 'Smoke test', 'Transaction', 'Acti
- Value
- Fee
- Check that address has 4 digits after ...
![Screenshot](../../../../static/img/Pages/Contracts/id270_1.png)
- Pagination element displayed for 'Latest transactions' (in case there are 10+ txs for this contract)
![Screenshot](../../../../static/img/Pages/Contracts/id270_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: ['Artifacts', 'automated', 'Contract', 'Full test', 'Automated']
tags: ['Artifacts', 'Contract', 'Full test', 'Automated']
---

# id271 Contract page - Pages - Artifacts (Contract)
Expand All @@ -20,3 +20,4 @@ tags: ['Artifacts', 'automated', 'Contract', 'Full test', 'Automated']
- Verify Smart Contract
- Drop Down menu
- DEPLOYED BYTECODE HASH
![Screenshot](../../../../static/img/Pages/Contracts/id270_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Contract', 'Copying', 'Full test', 'Automated']
tags: ['Contract', 'Copying', 'Full test', 'Automated']
---

# id272 Contract page - Pages - Contract tab (hashes copying)
Expand All @@ -13,3 +13,5 @@ tags: ['automated', 'Contract', 'Copying', 'Full test', 'Automated']
## Scenario
- Hashes can be copied:
- DEPLOYED BYTECODE HASH

![Screenshot](../../../../static/img/Pages/Contracts/id272_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['automated', 'Full test', 'Pages', 'Smoke test', 'ZKF-2246', 'Automated']
tags: ['Full test', 'Pages', 'Smoke test', 'Automated']
---

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

# id369 Contract page - Pages - Redirection (Transactions)
Expand All @@ -15,3 +15,4 @@ tags: ['APIv1-APIv2', 'automated', 'Contract', 'Full test', 'Navigation', 'Smoke
- Item \{\} navigates to \{\}:
- L1 From -\> to goerli.etherscan.io page (*if any)
- https://goerli.etherscan.io/address/0x388ea662ef2c223ec0b047d41bf3c0f362142ad5
![Screenshot](../../../../static/img/Pages/Contracts/id369_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144', 'Active']
tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'Active']
---

# id383 Contract page - Pages - Verify "IN" label
Expand All @@ -15,3 +15,4 @@ tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144',
- Open Contract page ("Transaction" tab) for the token you transferred
- Find the transaction you made previously
- Verify "IN" label displayed for the transaction
![Screenshot](../../../../static/img/Pages/Contracts/id383_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144', 'Active']
tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'Active']
---

# id384 Contract page - Pages - Verify "SELF" label
Expand All @@ -15,3 +15,4 @@ tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144',
- Open Contract page ("Transaction" tab) for the token you transferred
- Find the transaction you made previously
- Verify "SELF" label displayed for the transaction
![Screenshot](../../../../static/img/Pages/Contracts/id384_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active']
tags: ['Contract', 'Full test', 'Pages', 'regression', 'Active']
---

# id427 Contract page - Pages - Verify list of methods on the "Contracts" tab for contract with events
Expand All @@ -21,3 +21,5 @@ tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active']
- greet
- Write
- setGreeting

![Screenshot](../../../../static/img/Pages/Contracts/id427_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active']
tags: ['Contract', 'Full test', 'Pages', 'regression', 'Active']
---

# id428 Contract page - Pages - Verify method components on the "Contracts" tab
Expand All @@ -19,3 +19,4 @@ tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active']
- Verify method components are displayed as drop downs
- Verify all of the drop downs are collapsed by default
- Verify the component reveals after clicking on the drop down
![Screenshot](../../../../static/img/Pages/Contracts/id428_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active']
tags: ['Contract', 'Full test', 'Pages', 'regression', 'Active']
---

# id429 Contract page - Pages - Verify the content of method components on the "Contracts" tab
Expand All @@ -17,7 +17,9 @@ tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active']
- Open Contract's page
- Click on the "Contract" tab
- Open any method component
![Screenshot](../../../../static/img/Pages/Contracts/id429_1.png)
- Verify method contains:
- Description of the parameter
- Type of this parameter
- Input for this parameter (optional)
![Screenshot](../../../../static/img/Pages/Contracts/id429_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2090', 'ZKF-2134', 'ZKF-3180', 'ZKF-3181', 'Active']
tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'Active']
---

# id430 Contract page - Pages - Artifacts ("Contracts" tab for verified contract)
Expand All @@ -17,16 +17,21 @@ tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2090',
- Contract tab for verified contract contains:
- Contract Name
- Name of the contract displayed under the "Contract Name" title
![Screenshot](../../../../static/img/Pages/Contracts/id430_1.png)
- Compiler version
- Version of compiler displayed under the "Compiler version" title
![Screenshot](../../../../static/img/Pages/Contracts/id430_2.png)
- Zksolc version
- Version of zksolc displayed under the "Zksolc version" title
![Screenshot](../../../../static/img/Pages/Contracts/id430_3.png)
- Optimization
- Optimization parameter (yes/no) displayed under the "Optimization" title
![Screenshot](../../../../static/img/Pages/Contracts/id430_4.png)
- Contract Source Code
- Text: "Single file contract"
- "Copy" button
- "Expand" button
- Block with contract's code
- Drop Down menu
- DEPLOYED BYTECODE HASH
![Screenshot](../../../../static/img/Pages/Contracts/id430_5.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'ZKF-2704', 'Active']
tags: ['Contract', 'Full test', 'Pages', 'regression', 'Active']
---

# id432 Contract page - Pages - Verify list of methods on the "Contracts" tab for token's contract
Expand All @@ -18,4 +18,6 @@ tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'ZKF-2704', '
- Open Contract's page
- Click on the "Contract" tab
- Verify correct Read and Write methods for interacting with this smart contract displayed
![Screenshot](../../../../static/img/Pages/Contracts/id432_1.png)
- Verify exact method name displayed for method name with abbereviation (with no extra spaces)
![Screenshot](../../../../static/img/Pages/Contracts/id432_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'Smoke test', 'ZKF-2090', 'Active']
tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'Smoke test', 'Active']
---

# id571 Contract page - Pages - Connect MetaMask
Expand All @@ -19,7 +19,9 @@ tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'Smoke test', 'ZKF-2
- Go to "Write" tab
- Verify "Connect MetaMask" button available
- Click "Connect MetaMask" button
![Screenshot](../../../../static/img/Pages/Contracts/id571_1.png)
- Approve your connection in pop-up window
- Verify wallet is connected
- "Connect Metamask" label changed to the wallet address
- 3 dots button appears next to the wallet address
![Screenshot](../../../../static/img/Pages/Contracts/id571_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2090', 'Active']
tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'Active']
---

# id572 Contract page - Pages - Verify Read methods
Expand All @@ -18,7 +18,9 @@ tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2
- Open Contract's page
- Click on the "Contract" tab
- Verify can interact with Read Methods without connecting a wallet
![Screenshot](../../../../static/img/Pages/Contracts/id572_1.png)
- Verify all the data types work correctly
- uint256
- string
- bool
![Screenshot](../../../../static/img/Pages/Contracts/id571_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2090', 'Active']
tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'Active']
---

# id573 Contract page - Pages - Verify Write methods
Expand All @@ -21,7 +21,9 @@ tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2
- Verify user has the instruction to connect the wallet (button name "Connect wallet to write"
- Connect MM wallet
- Verify user can interact with Write Methods when MetaMask wallet is connected - Write Methods should be active
![Screenshot](../../../../static/img/Pages/Contracts/id573_1.png)
- Verify all the data types work correctly as inputs
- uint256
- string
- bool
![Screenshot](../../../../static/img/Pages/Contracts/id573_2.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active']
tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'Active']
---

# id574 Contract page - Pages - Verify adding inputs for methods
Expand All @@ -15,3 +15,4 @@ tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Activ
- Click on the "Contract" tab
- Click "+" button for the method which can accept several values
- Verify one more input for this parameter added
![Screenshot](../../../../static/img/Pages/Contracts/id574_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Artifacts', 'Contract', 'Empty state', 'Events', 'Full test', 'manual', 'Pages', 'regression', 'ZKF-2363', 'Active']
tags: ['Artifacts', 'Contract', 'Empty state', 'Events', 'Full test', 'manual', 'Pages', 'regression', 'Active']
---

# id575 Contract page - Pages - Artifacts (Empty state of Events tab)
Expand All @@ -15,3 +15,4 @@ tags: ['Artifacts', 'Contract', 'Empty state', 'Events', 'Full test', 'manual',
- Text
- Smart Contract doesn't have any events at this moment
- Search icon
![Screenshot](../../../../static/img/Pages/Contracts/id575_1.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
tags: ['Artifacts', 'Contract', 'Events', 'Full test', 'manual', 'Pages', 'regression', 'ZKF-2363', 'Active']
tags: ['Artifacts', 'Contract', 'Events', 'Full test', 'manual', 'Pages', 'regression', 'Active']
---

# id576 Contract page - Pages - Artifacts (Events tab)
Expand Down Expand Up @@ -27,3 +27,4 @@ tags: ['Artifacts', 'Contract', 'Events', 'Full test', 'manual', 'Pages', 'regre
- Topics
- Data
- Verify 25 items per one page displayed
![Screenshot](../../../../static/img/Pages/Contracts/id576_1.png)
Loading
Loading