Skip to content

Commit

Permalink
test: tests migration from allure
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Apr 12, 2024
1 parent a0ecd01 commit 34ccf3b
Show file tree
Hide file tree
Showing 268 changed files with 5,628 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tags: ['automated', 'Full test', 'Positive', 'Search', 'Automated']
---

# id213 Search field - Addresses / Accounts - Fields - Correct address

## Description
- Use address that exist on L2 like this 0xc24215226336d22238a20a72f8e489c005b44c4a

## Precondition


## Scenario
- Check correct account address
- You are redirected to the account page
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['automated', 'Full test', 'Negative', 'Search', 'Automated']
---

# id214 Search field - Addresses / Accounts - Fields - Incorrect address

## Description
- from 0xcbebcd41ceabbc85da9bb67527f58d69ad4dfff5 --\> to any with spec symbols\upper case letters, spaces --\> 0xAbebcd41ceabbc85da9bb67527f58d69ad4dfff5
- Test solution URL: 0xAbebcd41ceabbc85da9bb67527f58d69ad4dfff5

## Precondition


## Scenario
- Check incorrect address
- The search field will change the color to red
- User remains on the same page
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tags: ['automated', 'Full test', 'Search', 'Automated']
---

# id226 Search field - Addresses / Accounts - Fields - Random address

## Description
- Use any random account address value by changing any symbol from existing address: 0x37fc24d7c902466ea569f44c1e857d22353ac261

## Precondition


## Scenario
- Insert any random address
- Account address contains empty values
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
tags: ['Artifacts', 'Full test', 'manual', 'Mobile view', 'Pages', 'Smoke test', 'Status Component', 'Transaction', 'UEXP-4308', 'Active']
---

# id1687 Tx page - Artifacts - Pages - Verify status components for Mobile view

## Description
- Tx with Processed status
- tx/0x586c333379cecdf235de7d26ac9217d65f1652875ff7f15651e21fa700d0bf36
- Created based on the ticket:
- https://linear.app/matterlabs/issue/UEXP-4308/create-tx-statuses-popup-for-mobile-devices

## Precondition


## Scenario
- Open any tx with \<zk Sync Era Processed\> status
- Open "General Info" tab
- "Ethereum Sending" status is displayed
- Click on "Ethereum Sending"
- Modal window is displayed:
- header
- status present
- status present
- status present
- After tx was sent modal window is changed:
- status present
- status present
- status present
- After tx was Finalized:
- text (higlhighted)
- text (highlighted)
- text (highlighted)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
tags: ['automated', 'Full test', 'Negative', 'Search', 'Txn Batch', 'Automated']
---

# id217 Search field - Batch Numbers - Fields - Incorrect batch number

## Description
- fe: "341 844" or "341а44" or 341$44

## Precondition


## Scenario
- Check incorrect batch number
- The search field will change the color to red
- User remains on the same page
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tags: ['automated', 'Full test', 'Positive', 'Search', 'Txn Batch', 'Automated']
---

# id218 Search field - Batch Numbers - Fields - Correct batch number

## Description
- Example - 1

## Precondition


## Scenario
- Check correct batch number
- You are redirected to batch page
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tags: ['automated', 'Full test', 'Search', 'Txn Batch', 'Automated']
---

# id227 Search field - Batch Numbers - Fields - Random batch number / inexistent

## Description
- fe 341844341844

## Precondition


## Scenario
- Check for any inexistent batch number
- You will be redirected to 404 page
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
tags: ['Full test', 'manual', 'Multi-contract', 'regression', 'Smart Contract Verification page', 'ZKF-2841', 'Active']
---

# id712 SmartContractVerification page - Common - Verify adding files for Multi-Contract

## Description
- https://staging-scan-v2.zksync.dev/contracts/verify

## Precondition


## Scenario
- Click "Choose Files" button
- Verify file selecting window opened
- Select few .sol files
- Verify "Your files" block displayed
- File number
- File name
- "Remove" button
- Verify "Main File" headline displayed
- Verify "Choose main file" dropdown displayed
- Open "Choose main file" dropdown
- Verify main file can be selected from added files
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
tags: ['Full test', 'manual', 'Multi-contract', 'regression', 'Smart Contract Verification page', 'ZKF-2841', 'Active']
---

# id716 SmartContractVerification page - Common - Verify removing files for Multi-Contract

## Description
- https://staging-scan-v2.zksync.dev/contracts/verify

## Precondition


## Scenario
- Click "Choose Files" button
- Verify file selecting window opened
- Select few .sol files
- Click "Remove" button
- Verify file removed from "Your files" block
- Remove all added files
- Verify "Your files" block is removed
- "Remove" button is not displayed
- Verify "Main File" headline is not displayed
- Verify "Choose main file" dropdown is not displayed
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
tags: ['API', 'Common', 'Full test', 'regression', 'ZKF-2450', 'Active']
---

# id546 API - Common - Get balance

## Description
- Create a Custom token
- Step 1
- Create your own ERC20 token on L1 on Goerli network:
- it should have the following name: 2 first letters of your First Name and 2 first letters of your Last Name. For example for me it would be ANdrii DRebot, so ANDR.
- it should have 18 decimals
- total supply \> 1000
- To create a token you can follow any guideline on the internet, for example this one: https://docs.alchemy.com/alchemy/tutorials/deploy-your-own-erc20-token
- Once you've done, send 50 tokens to between your L1 to confirm using MetaMask.
- Step 2
- Deposit your token from L1 to L2. For that just follow our guideline here https://v2-docs.zksync.io/api/js/getting-started.html to make a deposit. This will automatically create your token on L2.
- Make sure to use zksync-web3 v0.7.7 because the latest one does not work.
- After that go to Portal (https://staging-portal.zksync.dev/) and add your custom token there. After that you should see your token balance on Balances and Transfer pages.
- Please, be attentive and remember that token on L1 and L2 will have different addresses. Also, our block explorer will not show balances for custom tokens, but Blockscout will (https://zksync2-testnet.zkscan.io/). This is one of the ways you can get token address on L2 after a successful deposit.
- Once you've done, Send 50 tokens between your L2 to confirm using Portal UI.
- == = == = == Use API = == = == =
- https://zksync2-testnet.zkscan.io/api-docs#account
- Example: https://zksync2-testnet.zkscan.io/api?module=account&action=tokenlist&address=0x6cC8cf7f6b488C58AA909B77E6e65c631c204784

## Precondition


## Scenario
- Prepare a custom token on L2
- Make a request to show the balance
- ?module=account&action=tokenlist&address=\{hash\}
- You can see the token with its balance
- Default balance is empty
- Inspect -\> Network -\> Address -\> Empty balance list
- Blockscout API shows balance
- Inspect -\> Network - \> api?module... -\> Balance
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
tags: ['automated', 'Footer', 'Full test', 'Redirection', 'Automated']
---

# id232 Footer - Common - Internal links Redirection

## Description


## Precondition


## Scenario
- documentation https://docs.zksync.io/build/tooling/block-explorer/getting-started.html
- terms https://zksync.io/terms
- contact https://zksync.io/contact
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tags: ['Artifacts', 'Footer', 'Full test', 'manual', 'Smoke test', 'Active']
---

# id255 Footer - Common - BE version

## Description


## Precondition


## Scenario
- Right down corner contains correct version of the Block Explorer
- f.e. 1.34.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tags: ['automated', 'ExternalLinks', 'Full test', 'Header', 'Redirection', 'Automated']
---

# id231 Header - Common - External links (SN icons)

## Description


## Precondition


## Scenario
- discord https://join.zksync.dev/
- twitter https://twitter.com/zksync
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
tags: ['automated', 'Full test', 'Header', 'Redirection', 'Automated']
---

# id251 Header - Common - Internal links

## Description


## Precondition


## Scenario
- Documentation https://era.zksync.io/docs/
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
tags: ['automated', 'Full test', 'Header', 'Redirection', 'Active Partly Manual']
---

# id252 Header - Common - Internal links-BE

## Description
- Block Explorer Menu

## Precondition


## Scenario
- Block Explorer contains redirections to
- Blocks
- https://staging-scan-v2.zksync.dev/blocks/
- Batches
- https://goerli.explorer.zksync.io/batches/
- Transactions
- https://staging-scan-v2.zksync.dev/transactions/
- Tokens
- https://goerli.explorer.zksync.io/tokens
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
tags: ['automated', 'Full test', 'Header', 'Redirection', 'regression', 'ZKF-2447', 'Active Partly Manual']
---

# id253 Header - Common - Internal links-Tools

## Description


## Precondition


## Scenario
- Tools menu contains redirections to:
- API Documentation
- https://block-explorer-api.mainnet.zksync.io/docs
- Smart Contract Verification
- https://staging-scan-v2.zksync.dev/contracts/verify
- zkEVM Debugger (not visible in the menu)
- https://staging-scan-v2.zksync.dev/tools/debugger
- Bridge
- https://portal.zksync.io/bridge/
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
tags: ['Artifacts', 'automated', 'Full test', 'Header', 'Automated']
---

# id254 Header - Common - Drop Down obj

## Description


## Precondition


## Scenario
- Drop down list to change network exist
- Sepolia Testnet
- Mainnet
- Drop down list to change language exist
- EN
- UA
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['Artifacts', 'DropDown', 'Full test', 'Header', 'manual', 'regression', 'ZKF-3179', 'Active']
---

# id705 Header - Common - Artifacts (Network Drop Down)

## Description
- https://explorer.zksync.io/

## Precondition


## Scenario
- Network dropdown contains
- "zkSync Era Sepolia Testnet" item
- "zkSync Era Mainnet" item
- zkSync logo available for each network
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
tags: ['Full test', 'manual', 'Navigation', 'Network', 'regression', 'To Automate', 'ZKF-2507', 'Active']
---

# id565 Networks navigation (Prod) - Common - Navigation to Sepolia

## Description
- Preconditions: user opens any production BE page (https://explorer.zksync.io/) with zkSync Era Mainnet network selected

## Precondition


## Scenario
- Open drop down list with networks
- Select zkSync Era Sepolia Testnet network
- User is redirected to https://sepolia.explorer.zksync.io/ domain
- The same page opened on the new domain
Loading

0 comments on commit 34ccf3b

Please sign in to comment.