diff --git a/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id213 - Search field - Addresses Accounts - Fields - Correct address.md b/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id213 - Search field - Addresses Accounts - Fields - Correct address.md new file mode 100644 index 0000000000..ed58f0a937 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id213 - Search field - Addresses Accounts - Fields - Correct address.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id214 - Search field - Addresses Accounts - Fields - Incorrect address.md b/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id214 - Search field - Addresses Accounts - Fields - Incorrect address.md new file mode 100644 index 0000000000..801d4ad76f --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id214 - Search field - Addresses Accounts - Fields - Incorrect address.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id226 - Search field - Addresses Accounts - Fields - Random address.md b/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id226 - Search field - Addresses Accounts - Fields - Random address.md new file mode 100644 index 0000000000..d25f67fa7e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Addresses / Accounts /Search field /id226 - Search field - Addresses Accounts - Fields - Random address.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Artifacts /Tx page /id1687 - Tx page - Artifacts - Pages - Verify status components for Mobile view.md b/packages/testing-docs/docs/BE Tests/ Artifacts /Tx page /id1687 - Tx page - Artifacts - Pages - Verify status components for Mobile view.md new file mode 100644 index 0000000000..100e59f1b2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Artifacts /Tx page /id1687 - Tx page - Artifacts - Pages - Verify status components for Mobile view.md @@ -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 \ 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) diff --git a/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id217 - Search field - Batch Numbers - Fields - Incorrect batch number.md b/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id217 - Search field - Batch Numbers - Fields - Incorrect batch number.md new file mode 100644 index 0000000000..422838a733 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id217 - Search field - Batch Numbers - Fields - Incorrect batch number.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id218 - Search field - Batch Numbers - Fields - Correct batch number.md b/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id218 - Search field - Batch Numbers - Fields - Correct batch number.md new file mode 100644 index 0000000000..fa82e0763c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id218 - Search field - Batch Numbers - Fields - Correct batch number.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id227 - Search field - Batch Numbers - Fields - Random batch number inexistent.md b/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id227 - Search field - Batch Numbers - Fields - Random batch number inexistent.md new file mode 100644 index 0000000000..bcc18519c8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Batch Numbers /Search field /id227 - Search field - Batch Numbers - Fields - Random batch number inexistent.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id712 - SmartContractVerification page - Common - Verify adding files for Multi-Contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id712 - SmartContractVerification page - Common - Verify adding files for Multi-Contract.md new file mode 100644 index 0000000000..7532a6d882 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id712 - SmartContractVerification page - Common - Verify adding files for Multi-Contract.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id716 - SmartContractVerification page - Common - Verify removing files for Multi-Contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id716 - SmartContractVerification page - Common - Verify removing files for Multi-Contract.md new file mode 100644 index 0000000000..1a5137bf3d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id716 - SmartContractVerification page - Common - Verify removing files for Multi-Contract.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /API /id546 - API - Common - Get balance.md b/packages/testing-docs/docs/BE Tests/ Common /API /id546 - API - Common - Get balance.md new file mode 100644 index 0000000000..2bd8562985 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /API /id546 - API - Common - Get balance.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Footer /id232 - Footer - Common - Internal links Redirection.md b/packages/testing-docs/docs/BE Tests/ Common /Footer /id232 - Footer - Common - Internal links Redirection.md new file mode 100644 index 0000000000..514c93a5d4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Footer /id232 - Footer - Common - Internal links Redirection.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Footer /id255 - Footer - Common - BE version.md b/packages/testing-docs/docs/BE Tests/ Common /Footer /id255 - Footer - Common - BE version.md new file mode 100644 index 0000000000..4772bce9d1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Footer /id255 - Footer - Common - BE version.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Header /id231 - Header - Common - External links SN icons.md b/packages/testing-docs/docs/BE Tests/ Common /Header /id231 - Header - Common - External links SN icons.md new file mode 100644 index 0000000000..d469916745 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Header /id231 - Header - Common - External links SN icons.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Header /id251 - Header - Common - Internal links.md b/packages/testing-docs/docs/BE Tests/ Common /Header /id251 - Header - Common - Internal links.md new file mode 100644 index 0000000000..01bb34fb55 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Header /id251 - Header - Common - Internal links.md @@ -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/ diff --git a/packages/testing-docs/docs/BE Tests/ Common /Header /id252 - Header - Common - Internal links-BE.md b/packages/testing-docs/docs/BE Tests/ Common /Header /id252 - Header - Common - Internal links-BE.md new file mode 100644 index 0000000000..d11ec448fe --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Header /id252 - Header - Common - Internal links-BE.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Header /id253 - Header - Common - Internal links-Tools.md b/packages/testing-docs/docs/BE Tests/ Common /Header /id253 - Header - Common - Internal links-Tools.md new file mode 100644 index 0000000000..44dfc972ea --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Header /id253 - Header - Common - Internal links-Tools.md @@ -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/ diff --git a/packages/testing-docs/docs/BE Tests/ Common /Header /id254 - Header - Common - Drop Down obj.md b/packages/testing-docs/docs/BE Tests/ Common /Header /id254 - Header - Common - Drop Down obj.md new file mode 100644 index 0000000000..436e633619 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Header /id254 - Header - Common - Drop Down obj.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Header /id705 - Header - Common - Artifacts Network Drop Down.md b/packages/testing-docs/docs/BE Tests/ Common /Header /id705 - Header - Common - Artifacts Network Drop Down.md new file mode 100644 index 0000000000..ebb47f96b7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Header /id705 - Header - Common - Artifacts Network Drop Down.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Prod) /id565 - Networks navigation Prod - Common - Navigation to Sepolia.md b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Prod) /id565 - Networks navigation Prod - Common - Navigation to Sepolia.md new file mode 100644 index 0000000000..72ae6c48f3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Prod) /id565 - Networks navigation Prod - Common - Navigation to Sepolia.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Prod) /id566 - Networks navigation Prod - Common - Navigation to Mainnet.md b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Prod) /id566 - Networks navigation Prod - Common - Navigation to Mainnet.md new file mode 100644 index 0000000000..29b437dbe0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Prod) /id566 - Networks navigation Prod - Common - Navigation to Mainnet.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Navigation', 'Network', 'regression', 'To Automate', 'ZKF-2507', 'Active'] +--- + +# id566 Networks navigation (Prod) - Common - Navigation to Mainnet + +## Description + - Preconditions: user opens any production BE page (https://explorer.zksync.io/) with zkSync Era Sepolia network selected + +## Precondition + + +## Scenario +- Open drop down list with networks +- Select zkSync Era Mainnet network +- User is redirected to explorer.zksync.io domain +- The same page opened on the new domain diff --git a/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id561 - Networks navigation Staging - Common - Navigation to Goerli Stage2.md b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id561 - Networks navigation Staging - Common - Navigation to Goerli Stage2.md new file mode 100644 index 0000000000..11d8513da4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id561 - Networks navigation Staging - Common - Navigation to Goerli Stage2.md @@ -0,0 +1,18 @@ +--- +tags: ['Full test', 'manual', 'Navigation', 'Network', 'Smoke test', 'ZKF-2507', 'Automated'] +--- + +# id561 Networks navigation (Staging) - Common - Navigation to Goerli (Stage2) + +## Description + - Preconditions: user opens any BE page with zkSync Era Mainnet or local network selected + - Note: only local environment should be used. + +## Precondition + + +## Scenario +- Open drop down list with networks +- Select Goerli (Stage2) network +- User is redirected to URL/?network=goerli-beta domain +- The same page opened on the new domain diff --git a/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id562 - Networks navigation Staging - Common - Navigation to zkSync Era Testnet.md b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id562 - Networks navigation Staging - Common - Navigation to zkSync Era Testnet.md new file mode 100644 index 0000000000..431a866d75 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id562 - Networks navigation Staging - Common - Navigation to zkSync Era Testnet.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Navigation', 'Network', 'Smoke test', 'ZKF-2507', 'Automated'] +--- + +# id562 Networks navigation (Staging) - Common - Navigation to zkSync Era Testnet + +## Description + - Preconditions: user opens any BE page with zkSync Era Mainnet or Goerli (Stage2) network selected + +## Precondition + + +## Scenario +- Open drop down list with networks +- Select zkSync Era Sepolia Testnet network +- User is redirected to URL/?network=sepolia domain +- The same page opened on the new domain diff --git a/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id563 - Networks navigation Staging - Common - Navigation to Mainnet.md b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id563 - Networks navigation Staging - Common - Navigation to Mainnet.md new file mode 100644 index 0000000000..35fa46b5dd --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /Networks navigation (Staging) /id563 - Networks navigation Staging - Common - Navigation to Mainnet.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Navigation', 'Network', 'Smoke test', 'ZKF-2507', 'Automated'] +--- + +# id563 Networks navigation (Staging) - Common - Navigation to Mainnet + +## Description + - Preconditions: user opens any BE page with zkSync Era Testnet or Goerli (Stage2) network selected + +## Precondition + + +## Scenario +- Open drop down list with networks +- Select zkSync Era Mainnet network +- User is redirected to URL/?network=mainnet domain +- The same page opened on the new domain diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1619 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Single-Contract Vyper.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1619 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Single-Contract Vyper.md new file mode 100644 index 0000000000..dd8c4100a8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1619 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Single-Contract Vyper.md @@ -0,0 +1,42 @@ +--- +tags: ['Artifacts', 'Full test', 'Single-file', 'Smart Contract Verification page', 'Smoke test', 'Vyper', 'Active'] +--- + +# id1619 SmartContractVerification page - Common - Artifacts - Smart contract verification (UI for Single-Contract Vyper) + +## Description + - https://goerli.explorer.zksync.io/contracts/verify + - Select "Vyper (Single file)" in "Compiler type" dropdown + +## Precondition + + +## Scenario +- SCV interface: +- Notification + - You can also verify your smart-contract using HardHat Plugin +- Link - "HardHat Plugin" +- "Contract Address" headline + - Contract address field + - Placeholder - "0x0000..." +- Text - "The 0x address supplied on contract creation." +- "Compilation Info" headline + - "Compiler type" dropdown + - Text - "Contract verification method" +- "Zkvyper version" dropdown + - "Details" link +- "Vyper version" dropdown +- Optimization + - "Yes" radiobutton (enabled by default) +- "No" radiobutton +- Text - "If you enabled optimization during compilation, select yes." +- "Contract info" headline + - "Contract Name" field + - Placeholder: "Name" +- Text under the field + - Must match the filename. For example, in contract MyContract.vy MyContract is the contract name. +- Enter the Vyper Contract Code +- Field for Vyper code +- Constructor Arguments +- "Verify Smart Contract" button +- Clear button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1620 - SmartContractVerification page - Common - Actions - Clearing the page Single-file Vyper.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1620 - SmartContractVerification page - Common - Actions - Clearing the page Single-file Vyper.md new file mode 100644 index 0000000000..7a0f0d56a0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1620 - SmartContractVerification page - Common - Actions - Clearing the page Single-file Vyper.md @@ -0,0 +1,26 @@ +--- +tags: ['Actions', 'Artifacts', 'Full test', 'Single-file', 'Smart Contract Verification page', 'Smoke test', 'Vyper', 'Active'] +--- + +# id1620 SmartContractVerification page - Common - Actions - Clearing the page (Single-file Vyper) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- Select "Vyper (Single file)" in "Compiler type" dropdown +- Fill all the fields on Smart Contract Verification page: + - Contract address field +- Contract Name +- Optimization +- Zkvyper compiler version +- Vyper version +- Enter the Vyper Contract Code +- Constructor Arguments +- Click on Clear button +- Verify text fields are cleared +- Verify "Zkvyper version" and "Vyper Version" dropdowns set to default values (latest versions) +- Verify "Optimization" radio buttons set to default values (Yes) diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1621 - SmartContractVerification page - Common - Smart contract verification - functional check Vyper contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1621 - SmartContractVerification page - Common - Smart contract verification - functional check Vyper contract.md new file mode 100644 index 0000000000..5a1aa03dc1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1621 - SmartContractVerification page - Common - Smart contract verification - functional check Vyper contract.md @@ -0,0 +1,25 @@ +--- +tags: ['Common', 'FNC', 'Full test', 'manual', 'Positive', 'Smart Contract Verification page', 'Smoke test', 'Vyper', 'Active'] +--- + +# id1621 SmartContractVerification page - Common - Smart contract verification - functional check (Vyper contract) + +## Description + - To verify the contract you need to proceed with the Vyper tutorial https://era.zksync.io/docs/tools/hardhat/hardhat-zksync-vyper.html + +## Precondition + + +## Scenario +- Pass the tutorial +- Open https://goerli.explorer.zksync.io/contracts/verify +- Select Vyper (Single file) in "Compiler type" +- Fill all the fields and verify the contract +- Success screen shown after contract verification + - Success mark displayed +- Headline + - Contract verified! +- Text + - Anyone on block explorer could check it's code and interact with it +- "Block explorer" is a link +- "Back to Contract" button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1625 - SmartContractVerification page - Common - Smart contract verification - functional check Vyper Multi-part contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1625 - SmartContractVerification page - Common - Smart contract verification - functional check Vyper Multi-part contract.md new file mode 100644 index 0000000000..bd43006d16 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1625 - SmartContractVerification page - Common - Smart contract verification - functional check Vyper Multi-part contract.md @@ -0,0 +1,25 @@ +--- +tags: ['Common', 'FNC', 'Full test', 'manual', 'Multi-contract', 'Positive', 'Smart Contract Verification page', 'Smoke test', 'Vyper', 'Active'] +--- + +# id1625 SmartContractVerification page - Common - Smart contract verification - functional check (Vyper Multi-part contract) + +## Description + - To verify the contract you need to proceed with the Vyper tutorial https://era.zksync.io/docs/tools/hardhat/hardhat-zksync-vyper.html + +## Precondition + + +## Scenario +- Pass the tutorial +- Open https://goerli.explorer.zksync.io/contracts/verify +- Select "Vyper (Multi-part contract)" in "Compiler type" +- Fill all the fields and verify the contract +- Success screen shown after contract verification + - Success mark displayed +- Headline + - Contract verified! +- Text + - Anyone on block explorer could check it's code and interact with it +- "Block explorer" is a link +- "Back to Contract" button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1626 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Multi-part Vyper.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1626 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Multi-part Vyper.md new file mode 100644 index 0000000000..2b55b31901 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1626 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Multi-part Vyper.md @@ -0,0 +1,48 @@ +--- +tags: ['Artifacts', 'Full test', 'Multi-contract', 'Smart Contract Verification page', 'Smoke test', 'Vyper', 'Active'] +--- + +# id1626 SmartContractVerification page - Common - Artifacts - Smart contract verification (UI for Multi-part Vyper) + +## Description + - https://goerli.explorer.zksync.io/contracts/verify + - Select "Vyper (Multi-part contract)" in "Compiler type" dropdown + +## Precondition + + +## Scenario +- SCV interface: +- Notification + - You can also verify your smart-contract using HardHat Plugin +- Link - "HardHat Plugin" +- "Contract Address" headline + - Contract address field + - Placeholder - "0x0000..." +- Text - "The 0x address supplied on contract creation." +- "Compilation Info" headline + - "Compiler type" dropdown + - Text - "Contract verification method" +- "Zkvyper version" dropdown + - "Details" link +- "Vyper version" dropdown +- Optimization + - "Yes" radiobutton (enabled by default) +- "No" radiobutton +- Text - "If you enabled optimization during compilation, select yes." +- "Contract info" headline + - "Contract Name" field + - Placeholder: "Name" +- Text under the field + - Must match the filename. For example, in contract MyContract.vy MyContract is the contract name. +- Text: "Please select the Vyper (*.vy) files for upload" +- "Choose Files" button + - If files were added: +- "You Files" text +- Numeric list with added contracts +- Name of the contract file +- Bin logo each added contract +- "Constructor Arguments" + - "0x" Placeholder +- "Verify Smart Contract" button +- Clear button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1672 - SmartContractVerification page - Common - Smart contract verification - functional check Proxy Contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1672 - SmartContractVerification page - Common - Smart contract verification - functional check Proxy Contract.md new file mode 100644 index 0000000000..06ef1cdc86 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1672 - SmartContractVerification page - Common - Smart contract verification - functional check Proxy Contract.md @@ -0,0 +1,25 @@ +--- +tags: ['Common', 'Full test', 'manual', 'Positive', 'Proxy Contract', 'regression', 'Smart Contract Verification page', 'Active'] +--- + +# id1672 SmartContractVerification page - Common - Smart contract verification - functional check (Proxy Contract) + +## Description + - To verify the contract you need to proceed with the Proxy Contract tutorial https://era.zksync.io/docs/tools/hardhat/hardhat-zksync-upgradable.html + +## Precondition + + +## Scenario +- Pass the tutorial +- Open https://goerli.explorer.zksync.io/contracts/verify +- Select "Solidity (Single file)" in "Compiler type" +- Fill all the fields and verify the contract +- Success screen shown after contract verification + - Success mark displayed +- Headline + - Contract verified! +- Text + - Anyone on block explorer could check it's code and interact with it +- "Block explorer" is a link +- "Back to Contract" button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1673 - SmartContractVerification page - Common - Smart contract verification - Artifacts check Proxy Contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1673 - SmartContractVerification page - Common - Smart contract verification - Artifacts check Proxy Contract.md new file mode 100644 index 0000000000..b6d8ad9871 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1673 - SmartContractVerification page - Common - Smart contract verification - Artifacts check Proxy Contract.md @@ -0,0 +1,21 @@ +--- +tags: ['Common', 'Full test', 'manual', 'Positive', 'Proxy Contract', 'Smart Contract Verification page', 'Smoke test', 'Active'] +--- + +# id1673 SmartContractVerification page - Common - Smart contract verification - Artifacts check (Proxy Contract) + +## Description + - To verify the contract you need to proceed with the Proxy Contract tutorial https://era.zksync.io/docs/tools/hardhat/hardhat-zksync-upgradable.html + +## Precondition + + +## Scenario +- Deploy the contract (according to the manual in description) + - Open Proxy contract you will see next 2 new tabs: +- : "Read as Proxy" +- : "Write as Proxy" +- : "The implementation contract at \{Contract Address\} is not verified. +- Please verifv the implementation contract in order to Read/Write the contract as Proxv." +- Verify implementation contract: + - : "Implementation contract found at \{Contract Address\}" diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1871 - SmartContractVerification page - Common - Artifacts - Header.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1871 - SmartContractVerification page - Common - Artifacts - Header.md new file mode 100644 index 0000000000..f9b314addc --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1871 - SmartContractVerification page - Common - Artifacts - Header.md @@ -0,0 +1,17 @@ +--- +tags: ['Artifacts', 'Common', 'Full test', 'Header', 'Smart Contract Verification page', 'Active'] +--- + +# id1871 SmartContractVerification page - Common - Artifacts - Header + +## Description + - https://goerli.explorer.zksync.io/contracts/verify + +## Precondition + + +## Scenario +- Heading + - Text - "Smart Contract Verification" +- Text + - Source code verification provides transparency for users interacting with smart contracts. By uploading the source code, Era Explorer will match the compiled code with that on the blockchain. diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1906 - SmartContractVerification page - Common - Actions - Verify zkEVM dropdown Solidity.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1906 - SmartContractVerification page - Common - Actions - Verify zkEVM dropdown Solidity.md new file mode 100644 index 0000000000..0e1318c562 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id1906 - SmartContractVerification page - Common - Actions - Verify zkEVM dropdown Solidity.md @@ -0,0 +1,18 @@ +--- +tags: ['Actions', 'Artifacts', 'Full test', 'Smart Contract Verification page', 'Solidity', 'Active'] +--- + +# id1906 SmartContractVerification page - Common - Actions - Verify zkEVM dropdown (Solidity) + +## Description + - https://sepolia.explorer.zksync.io/contracts/verify + +## Precondition + + +## Scenario +- Select "Solidity (Single file)" or "Solidity (Multi-part contract)" in "Compiler type" dropdown +- Mark the "zkEVM" checkbox +- Verify only zkVM versions shown in the "Solc Version" dropdown +- Unmark the "zkEVM" checkbox +- Verify only solc versions shown in the "Solc Version" dropdown diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id212 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Single-Contract Solidity.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id212 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Single-Contract Solidity.md new file mode 100644 index 0000000000..199dc601e7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id212 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Single-Contract Solidity.md @@ -0,0 +1,48 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'Single-file', 'Smart Contract Verification page', 'Smoke test', 'Solidity', 'Active Partly Manual'] +--- + +# id212 SmartContractVerification page - Common - Artifacts - Smart contract verification (UI for Single-Contract Solidity) + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- SCV interface: +- Notification + - You can also verify your smart-contract using HardHat Plugin +- Link - "HardHat Plugin" +- "Contract Address" headline + - Contract address field + - Placeholder - "0x0000..." +- Text - "The 0x address supplied on contract creation." +- "Compilation Info" headline + - "Compiler type" dropdown + - Text - "Contract verification method" +- "Zksolc version" dropdown + - "Details" link +- "Solc version" dropdown + - "zkVM" checkbox +- Optimization + - "Yes" radiobutton (enabled by default) +- "No" radiobutton +- Text - "If you enabled optimization during compilation, select yes." +- "Contract info" headline + - "Contract Name" field + - Placeholder: "Name" +- Text under the field + - Must match the name specified in the code. For example, in contract MyContract \{..\} MyContract is the contract name. +- "Contract Path" field (for Zksolc \>=1.3.6 only) + - Placeholder: /contracts/ContractFile.sol +- Text under the field: Relative path to your contract at the moment of compilation +- Enter the Solidity Contract Code +- Field for Solidity code + - Text: "If your contract uses "imports", you will need to concatenate the code into one file ( otherwise known as "flattening" ). For that purpose you can use solidity-flattener or SolidityFlattery" +- Link: solidity-flattener +- Link: SolidityFlattery +- Constructor Arguments +- "Verify Smart Contract" button +- Clear button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id243 - SmartContractVerification page - Common - Smart contract verification - functional check Solidity contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id243 - SmartContractVerification page - Common - Smart contract verification - functional check Solidity contract.md new file mode 100644 index 0000000000..51b8bd1be1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id243 - SmartContractVerification page - Common - Smart contract verification - functional check Solidity contract.md @@ -0,0 +1,24 @@ +--- +tags: ['Common', 'FNC', 'Full test', 'manual', 'Positive', 'Smart Contract Verification page', 'Smoke test', 'Solidity', 'Active'] +--- + +# id243 SmartContractVerification page - Common - Smart contract verification - functional check (Solidity contract) + +## Description + - To verify the contract you need to proceed with the tutorial Hello world https://v2-docs.zksync.io/dev/developer-guides/hello-world.html#prerequisites + +## Precondition + + +## Scenario +- Open https://goerli.explorer.zksync.io/contracts/verify +- Select Solidity (Single file) in "Compiler type" +- Fill all the fields and verify the contract +- Success screen shown after contract verification + - Success mark displayed +- Headline + - Contract verified! +- Text + - Anyone on block explorer could check it's code and interact with it +- "Block explorer" is a link +- "Back to Contract" button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id301 - SmartContractVerification page - Common - Actions - Smart contract verification e2e - Solidity.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id301 - SmartContractVerification page - Common - Actions - Smart contract verification e2e - Solidity.md new file mode 100644 index 0000000000..6da4e77d66 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id301 - SmartContractVerification page - Common - Actions - Smart contract verification e2e - Solidity.md @@ -0,0 +1,28 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'Smart Contract Verification page', 'Smoke test', 'Solidity', 'Active Partly Manual'] +--- + +# id301 SmartContractVerification page - Common - Actions - Smart contract verification (e2e - Solidity) + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + - Need to perform Smart contract verification action. + - Need to add appropriate test data for that: + - - contract address + - - contract name + - - Solidity contract code + +## Precondition + + +## Scenario +- SCV interface: +- Contract address field +- Contract Name +- Optimization +- ZkSolc compiler version +- Solc version +- Enter the Solidity Contract Code +- Constructor Arguments +- Verify button +- Clear button diff --git "a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id341 - SmartContractVerification page - Common - \320\241heck Solc version dropdown.md" "b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id341 - SmartContractVerification page - Common - \320\241heck Solc version dropdown.md" new file mode 100644 index 0000000000..87b106e37f --- /dev/null +++ "b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id341 - SmartContractVerification page - Common - \320\241heck Solc version dropdown.md" @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Full test', 'regression', 'Smart Contract Verification page', 'ZKF-2258', 'Active'] +--- + +# id341 SmartContractVerification page - Common - Сheck Solc version dropdown + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- Open Smart Contract Verification page +- Click Solc version dropdown +- Verify list of versions that backend supports shown +- Verify default version is the last one in the list +- Verify the list sorted in descending order, e.g. [v.1.1.1, v1.1.0, v1.0.0]. But keep in mind, this is server, not a plain string diff --git "a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id342 - SmartContractVerification page - Common - \320\241heck Solc version dropdown pending state.md" "b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id342 - SmartContractVerification page - Common - \320\241heck Solc version dropdown pending state.md" new file mode 100644 index 0000000000..d2df98d4db --- /dev/null +++ "b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id342 - SmartContractVerification page - Common - \320\241heck Solc version dropdown pending state.md" @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Full test', 'regression', 'Smart Contract Verification page', 'ZKF-2258', 'Active'] +--- + +# id342 SmartContractVerification page - Common - Сheck Solc version dropdown pending state + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- Open Smart Contract Verification page +- Click Solc version dropdown +- Verify loader shown when request is pending +- Verify form buttons are disabled when request to list of versions is pending diff --git "a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id343 - SmartContractVerification page - Common - \320\241heck Solc version dropdown error state.md" "b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id343 - SmartContractVerification page - Common - \320\241heck Solc version dropdown error state.md" new file mode 100644 index 0000000000..47e023bef1 --- /dev/null +++ "b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id343 - SmartContractVerification page - Common - \320\241heck Solc version dropdown error state.md" @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Error', 'Full test', 'regression', 'Smart Contract Verification page', 'ZKF-2258', 'Active'] +--- + +# id343 SmartContractVerification page - Common - Сheck Solc version dropdown error state + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- Open Smart Contract Verification page +- Emulate an error when receiving the list of Solc versions + - (e.g. block solc_versions request in Dev Tools when loading "Smart Contract Verification" page) + - Verify error shown when failed to get list of versions below the dropdown: dropdown highlighted with red border + "Unable to get list of supported Solc versions" message shown diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id591 - SmartContractVerification page - Common - Smart contract verification - functional check negative.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id591 - SmartContractVerification page - Common - Smart contract verification - functional check negative.md new file mode 100644 index 0000000000..99fb3f134e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id591 - SmartContractVerification page - Common - Smart contract verification - functional check negative.md @@ -0,0 +1,14 @@ +--- +tags: ['Common', 'FNC', 'Full test', 'manual', 'Positive', 'regression', 'Smart Contract Verification page', 'Active'] +--- + +# id591 SmartContractVerification page - Common - Smart contract verification - functional check (negative) + +## Description + - To verify the contract you need to proceed with the tutorial Hello world https://v2-docs.zksync.io/dev/developer-guides/hello-world.html#prerequisites + +## Precondition + + +## Scenario +- In the "Enter the Solidity Contract Code" field instead of real solidity code use any array of symbols diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id711 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Multi-Contract Solidity.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id711 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Multi-Contract Solidity.md new file mode 100644 index 0000000000..15d8a9d6ad --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id711 - SmartContractVerification page - Common - Artifacts - Smart contract verification UI for Multi-Contract Solidity.md @@ -0,0 +1,47 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Multi-contract', 'regression', 'Smart Contract Verification page', 'ZKF-2841', 'Active'] +--- + +# id711 SmartContractVerification page - Common - Artifacts - Smart contract verification (UI for Multi-Contract Solidity) + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- SCV interface: +- Notification + - You can also verify your smart-contract using HardHat Plugin +- Link - "HardHat Plugin" +- "Contract Address" headline + - Contract address field + - Placeholder - "0x0000..." +- Text under the field: "The 0x address supplied on contract creation." +- "Compilation Info" headline + - Compiler Type dropdown +- "Zksolc version" dropdown + - "Details" link +- "Solc version" dropdown + - zkEVM dropdown +- Optimization + - "Yes" radiobutton (enabled by default) +- "No" radiobutton +- Text - "If you enabled optimization during compilation, select yes." +- "Contract info" headline + - Contract Name + - Placeholder: "Name" +- Text under the field + - Must match the name specified in the code. For example, in contract MyContract \{..\} MyContract is the contract name. +- "Please select the Solidity (*.sol) files for upload" headline + - "Choose Files" button +- "Your files" headline (shown after uploading files) + - File number +- File name +- "Remove" button +- Main File (shown after uploading files) + - "Choose main file" dropdown +- Constructor Arguments +- "Verify Smart Contract" button +- Clear button diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id717 - SmartContractVerification page - Common - Smart contract verification - functional check multi-file contract.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id717 - SmartContractVerification page - Common - Smart contract verification - functional check multi-file contract.md new file mode 100644 index 0000000000..aef23b5395 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id717 - SmartContractVerification page - Common - Smart contract verification - functional check multi-file contract.md @@ -0,0 +1,53 @@ +--- +tags: ['Common', 'FNC', 'Full test', 'manual', 'Positive', 'Smart Contract Verification page', 'Smoke test', 'ZKF-2841', 'Active'] +--- + +# id717 SmartContractVerification page - Common - Smart contract verification - functional check (multi-file contract) + +## Description + - 1) Download the latest version of repo https://github.com/JackHamer09/zkSync-era-Hardhat-example + - 2) Go to https://goerli.staging-scan-v2.zksync.dev/contracts/verify + - Example multifile contract: + - First file - Main.sol + - // SPDX-License-Identifier: MIT + - pragma solidity ^0.8.0; + - import "./Counter.sol"; + - contract Main \{ + - Counter private counter; + - constructor() \{ + - counter = new Counter(); + - \} + - function incrementCounter() public \{ + - counter.increment(); + - \} + - function getCounter() public view returns (uint256) \{ + - return counter.getCount(); + - \} + - \} + - _________________________________________________ + - Second file - Counter.sol + - // SPDX-License-Identifier: MIT + - pragma solidity ^0.8.0; + - contract Counter \{ + - uint256 private count; + - function increment() public \{ + - count++; + - \} + - function getCount() public view returns (uint256) \{ + - return count; + - \} + - \} + +## Precondition + + +## Scenario +- Open downloaded project zkSync-era-Hardhat-example +- Since we want to verify manually in the block explorer we need to comment line responsible for verification in the deployment script (deploy/custom.ts in our case). The line starts with 'await verify' +- Add file 1 and file 2 from description to contracts/ folder of downloaded zkSync-era-Hardhat-example project +- Run 'npm run compile' +- Run 'npm run deploy custom' +- Open Smart contract verification page +- Select "Multi-file contract" in "Compiler type" dropdown +- Fill all the fields +- Click "Verify smart contract" diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id778 - SmartContractVerification page - Common - Redirection.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id778 - SmartContractVerification page - Common - Redirection.md new file mode 100644 index 0000000000..894a605aa0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id778 - SmartContractVerification page - Common - Redirection.md @@ -0,0 +1,21 @@ +--- +tags: ['Actions', 'Full test', 'Navigation', 'Smart Contract Verification page', 'Smoke test', 'Active'] +--- + +# id778 SmartContractVerification page - Common - Redirection + +## Description + - https://staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- "Details" link redirects to + - https://era.zksync.io/docs/api/tools/block-explorer/contract-verification.html#enter-contract-details +- HardHat Plugin link redirects to + - https://era.zksync.io/docs/api/hardhat/hardhat-zksync-verify.html +- "solidity-flattener" link redirects to + - https://github.com/BlockCatIO/solidity-flattener +- "SolidityFlattery" link redirects to + - https://github.com/DaveAppleton/SolidityFlattery diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id808 - SmartContractVerification page - Common - Actions - Clearing the page Single-file Solidity.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id808 - SmartContractVerification page - Common - Actions - Clearing the page Single-file Solidity.md new file mode 100644 index 0000000000..70e9ce69f9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id808 - SmartContractVerification page - Common - Actions - Clearing the page Single-file Solidity.md @@ -0,0 +1,26 @@ +--- +tags: ['Actions', 'Artifacts', 'Full test', 'Single-file', 'Smart Contract Verification page', 'Smoke test', 'Solidity', 'Active'] +--- + +# id808 SmartContractVerification page - Common - Actions - Clearing the page (Single-file Solidity) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- Select "Solidity (Single file)" in "Compiler type" dropdown +- Fill all the fields on Smart Contract Verification page: + - Contract address field +- Contract Name +- Optimization +- ZkSolc compiler version +- Solc version +- Enter the Solidity Contract Code +- Constructor Arguments +- Click on Clear button +- Verify text fields are cleared +- Verify "ZkSolc version" and "Solc Version" dropdowns set to default values (latest versions) +- Verify "Optimization" radio buttons set to default values (Yes) diff --git a/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id809 - SmartContractVerification page - Common - Actions - Clearing the page Multi-file.md b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id809 - SmartContractVerification page - Common - Actions - Clearing the page Multi-file.md new file mode 100644 index 0000000000..00ed98c4da --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /SmartContractVerification page /id809 - SmartContractVerification page - Common - Actions - Clearing the page Multi-file.md @@ -0,0 +1,28 @@ +--- +tags: ['Actions', 'Artifacts', 'Full test', 'Multi-contract', 'Smart Contract Verification page', 'Smoke test', 'Active'] +--- + +# id809 SmartContractVerification page - Common - Actions - Clearing the page (Multi-file) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/contracts/verify + +## Precondition + + +## Scenario +- Select "Solidity (Multi-part contract)" in "Compiler type" dropdown +- Fill all the fields on Smart Contract Verification page: + - Contract address field +- Contract Name +- Optimization +- ZkSolc compiler version +- Solc version +- Upload files +- Select Main file in "Main File" dropdown +- Constructor Arguments +- Click on Clear button +- Verify text fields are cleared +- Verify "ZkSolc version" and "Solc Version" dropdowns set to default values (latest versions) +- Verify "Optimization" radio buttons set to default values (Yes) +- Verify uploaded files removed diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id344 - zkEVM Debugger - Common - Enter correct execution step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id344 - zkEVM Debugger - Common - Enter correct execution step.md new file mode 100644 index 0000000000..c36b94e0a4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id344 - zkEVM Debugger - Common - Enter correct execution step.md @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Smoke test', 'ZKF-2265', 'Active'] +--- + +# id344 zkEVM Debugger - Common - Enter correct execution step + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Enter correct number to "Execution Step" field +- Press Enter +- Verify correct contract line opened diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id345 - zkEVM Debugger - Common - Clear Execution step field.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id345 - zkEVM Debugger - Common - Clear Execution step field.md new file mode 100644 index 0000000000..7196020039 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id345 - zkEVM Debugger - Common - Clear Execution step field.md @@ -0,0 +1,20 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2265', 'Active'] +--- + +# id345 zkEVM Debugger - Common - Clear "Execution step" field + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Enter any correct number to "Execution Step" field +- Press Enter +- Clear "Execution Step" field +- Press Enter +- Verify default "1" value set and initial contract line opened diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id346 - zkEVM Debugger - Common - Verify error state for Execution Step field.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id346 - zkEVM Debugger - Common - Verify error state for Execution Step field.md new file mode 100644 index 0000000000..3473e41c8e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id346 - zkEVM Debugger - Common - Verify error state for Execution Step field.md @@ -0,0 +1,19 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2265', 'Active'] +--- + +# id346 zkEVM Debugger - Common - Verify error state for "Execution Step" field + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Enter any incorrect number to "Execution Step" field (e.g 0, number bigger than steps amount) +- Press Enter +- Verify default 1 step opened after pressing Enter +- Verify default "1" value set in "Execution Step" field after pressing Enter diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id347 - zkEVM Debugger - Common - Verify non numeric values for Execution Step field.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id347 - zkEVM Debugger - Common - Verify non numeric values for Execution Step field.md new file mode 100644 index 0000000000..34c8349df8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id347 - zkEVM Debugger - Common - Verify non numeric values for Execution Step field.md @@ -0,0 +1,19 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'regression', 'ZKF-2265', 'Active'] +--- + +# id347 zkEVM Debugger - Common - Verify non numeric values for "Execution Step" field + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Try to enter any non numeric value to "Execution Step" field (e.g special symbol, letters e.g) +- Verify entered non numeric value is not added to a field +- Press Enter +- Verify default 1 step opened after pressing Enter diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id348 - zkEVM Debugger - Common - Check submitting the form with Execution step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id348 - zkEVM Debugger - Common - Check submitting the form with Execution step.md new file mode 100644 index 0000000000..3eab8bda8a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id348 - zkEVM Debugger - Common - Check submitting the form with Execution step.md @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Smoke test', 'ZKF-2265', 'Active'] +--- + +# id348 zkEVM Debugger - Common - Check submitting the form with "Execution step" + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Enter any correct number to "Execution Step" field +- Click on another part of the interface +- Verify form is submitted and appropriate contract line opened diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id349 - zkEVM Debugger - Common - Verify Execution step field size.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id349 - zkEVM Debugger - Common - Verify Execution step field size.md new file mode 100644 index 0000000000..dd756a5d3d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id349 - zkEVM Debugger - Common - Verify Execution step field size.md @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2265', 'Active'] +--- + +# id349 zkEVM Debugger - Common - Verify "Execution step" field size + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Enter value to "Execution step" field +- Verify Max. amount of symbols in "Execution step" field = total execution steps counter diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id350 - zkEVM Debugger - Common - Verify Execution step max value.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id350 - zkEVM Debugger - Common - Verify Execution step max value.md new file mode 100644 index 0000000000..694e1a4ef4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id350 - zkEVM Debugger - Common - Verify Execution step max value.md @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2265', 'Active'] +--- + +# id350 zkEVM Debugger - Common - Verify "Execution step" max value + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Enter value to "Execution step" field +- Verify user can't enter values greater than the total execution step number. diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id351 - zkEVM Debugger - Common - Verify Not enough ergs error handling.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id351 - zkEVM Debugger - Common - Verify Not enough ergs error handling.md new file mode 100644 index 0000000000..8ae6e97d31 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id351 - zkEVM Debugger - Common - Verify Not enough ergs error handling.md @@ -0,0 +1,16 @@ +--- +tags: ['Debugger', 'Error', 'Full test', 'regression', 'ZKF-2263', 'Active'] +--- + +# id351 zkEVM Debugger - Common - Verify "Not enough ergs" error handling + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON trace file with execution error +- Verify user can see visualization of the problem near the execution step ("Not enough ergs" error message) diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id354 - zkEVM Debugger - Common - Navigate to the last execution step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id354 - zkEVM Debugger - Common - Navigate to the last execution step.md new file mode 100644 index 0000000000..0c83b12ffa --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id354 - zkEVM Debugger - Common - Navigate to the last execution step.md @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Navigation', 'Smoke test', 'ZKF-2279', 'Active'] +--- + +# id354 zkEVM Debugger - Common - Navigate to the last execution step + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click on the "End" button right to the "Next step" button +- Verify user navigated to the last execution step +- Verify "End" and "Next step" buttons are disabled diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id355 - zkEVM Debugger - Common - Navigate to the first execution step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id355 - zkEVM Debugger - Common - Navigate to the first execution step.md new file mode 100644 index 0000000000..87e7283e10 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id355 - zkEVM Debugger - Common - Navigate to the first execution step.md @@ -0,0 +1,19 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Navigation', 'Smoke test', 'ZKF-2279', 'Active'] +--- + +# id355 zkEVM Debugger - Common - Navigate to the first execution step + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Navigate to any execution step except 1 +- Click on the "Start" button left to the "Previous step" button +- Verify user navigated to the filled execution step +- Verify "Start" and "Previous step" buttons are disabled diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id357 - zkEVM Debugger - Common - Verify Not enough ergs error handling with no errors.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id357 - zkEVM Debugger - Common - Verify Not enough ergs error handling with no errors.md new file mode 100644 index 0000000000..892a1acfbf --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id357 - zkEVM Debugger - Common - Verify Not enough ergs error handling with no errors.md @@ -0,0 +1,16 @@ +--- +tags: ['Common', 'Debugger', 'Error', 'Full test', 'regression', 'ZKF-2263', 'Active'] +--- + +# id357 zkEVM Debugger - Common - Verify "Not enough ergs" error handling with no errors + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON trace file with no errors +- Verify user see 0 error messages diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id358 - zkEVM Debugger - Common - Verify Not enough ergs error handling with bunch of errors.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id358 - zkEVM Debugger - Common - Verify Not enough ergs error handling with bunch of errors.md new file mode 100644 index 0000000000..9b787b061b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id358 - zkEVM Debugger - Common - Verify Not enough ergs error handling with bunch of errors.md @@ -0,0 +1,16 @@ +--- +tags: ['Common', 'Debugger', 'Error', 'Full test', 'regression', 'ZKF-2263', 'Active'] +--- + +# id358 zkEVM Debugger - Common - Verify "Not enough ergs" error handling with bunch of errors + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON trace file bunch of "Not enough ergs" values for "error" parameter +- Verify user can see visualization of the problem near the execution steps ("Not enough ergs" error messages) diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id359 - zkEVM Debugger - Common - Verify hotkey with navigation to the next step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id359 - zkEVM Debugger - Common - Verify hotkey with navigation to the next step.md new file mode 100644 index 0000000000..eb747c2a0b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id359 - zkEVM Debugger - Common - Verify hotkey with navigation to the next step.md @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Navigation', 'Smoke test', 'ZKF-2279', 'Active'] +--- + +# id359 zkEVM Debugger - Common - Verify hotkey with navigation to the next step + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Press on right arrow button +- Verify user navigated to the next execution step diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id360 - zkEVM Debugger - Common - Verify hotkey with navigation to the previous step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id360 - zkEVM Debugger - Common - Verify hotkey with navigation to the previous step.md new file mode 100644 index 0000000000..01395e6255 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id360 - zkEVM Debugger - Common - Verify hotkey with navigation to the previous step.md @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Navigation', 'Smoke test', 'ZKF-2279', 'Active'] +--- + +# id360 zkEVM Debugger - Common - Verify hotkey with navigation to the previous step + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Press on left arrow button +- Verify user navigated to the previous execution step diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id361 - zkEVM Debugger - Common - Verify hotkey with focusing on the search.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id361 - zkEVM Debugger - Common - Verify hotkey with focusing on the search.md new file mode 100644 index 0000000000..0df265e0b9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id361 - zkEVM Debugger - Common - Verify hotkey with focusing on the search.md @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Smoke test', 'ZKF-2279', 'Active'] +--- + +# id361 zkEVM Debugger - Common - Verify hotkey with focusing on the search + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Press Cmd+k (for Mac) or Ctrl+k (for Windows) +- Verify the search field is focused diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id363 - zkEVM Debugger - Common - Verify contract with single execution step.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id363 - zkEVM Debugger - Common - Verify contract with single execution step.md new file mode 100644 index 0000000000..06565df5f2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id363 - zkEVM Debugger - Common - Verify contract with single execution step.md @@ -0,0 +1,16 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2279', 'Active'] +--- + +# id363 zkEVM Debugger - Common - Verify contract with single execution step + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON with single execution step +- Verify "Start", "End", "Next step" and "Previous step" buttons are disabled diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id385 - zkEVM Debugger - Common - Artifacts with JSON after starting debugging.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id385 - zkEVM Debugger - Common - Artifacts with JSON after starting debugging.md new file mode 100644 index 0000000000..6ebb0a60d3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id385 - zkEVM Debugger - Common - Artifacts with JSON after starting debugging.md @@ -0,0 +1,48 @@ +--- +tags: ['Artifacts', 'Common', 'Debugger', 'Full test', 'manual', 'Smoke test', 'ZKF-2240', 'Active'] +--- + +# id385 zkEVM Debugger - Common - Artifacts (with JSON) after starting debugging + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Metadata block + - Contract (current) +- "Full screen mode" toggle button +- Flags +- Registers +- Memory + - Stack tab +- Heap tab +- Code tab +- Returndata tab +- Calldata tab +- Memory type label +- Parent contract tab + - Stack tab +- Heap tab +- Code tab +- Returndata tab +- Calldata tab +- Child contract tab + - Stack tab +- Heap tab +- Code tab +- Returndata tab +- Calldata tab +- Upload file + - "Upload JSON file" button +- Drag-n-drop area for files +- Navigation + - Search input field +- Navigation to the first step (the beginning of a list of steps) button +- "Previous step" button +- "Next step" button +- Navigation to end (the end of a list of steps) button +- Execution Step +- Instruction list diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id386 - zkEVM Debugger - Common - Artifacts with JSON before debugging.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id386 - zkEVM Debugger - Common - Artifacts with JSON before debugging.md new file mode 100644 index 0000000000..911fb07454 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id386 - zkEVM Debugger - Common - Artifacts with JSON before debugging.md @@ -0,0 +1,21 @@ +--- +tags: ['Artifacts', 'Common', 'Debugger', 'Full test', 'Smoke test', 'ZKF-2240', 'Active'] +--- + +# id386 zkEVM Debugger - Common - Artifacts (with JSON) before debugging + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Upload file + - "Upload JSON file" button +- Drag-n-drop area for files +- Navigation + - Search input field +- "Start" button +- Execution Step +- Instructions list diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id387 - zkEVM Debugger - Common - Verify Start button.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id387 - zkEVM Debugger - Common - Verify Start button.md new file mode 100644 index 0000000000..02e7abbb18 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id387 - zkEVM Debugger - Common - Verify Start button.md @@ -0,0 +1,16 @@ +--- +tags: ['Actions', 'Common', 'Debugger', 'Full test', 'regression', 'ZKF-2240', 'Active'] +--- + +# id387 zkEVM Debugger - Common - Verify "Start" button + +## Description + - I'm on https://staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Upload JSON file to debugger +- Verify "Start" button displayed on debugger page until it is clicked +- Verify "1" value set in current step field of "Execution step" area diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id388 - zkEVM Debugger - Common - Verify starting debugging.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id388 - zkEVM Debugger - Common - Verify starting debugging.md new file mode 100644 index 0000000000..c318943827 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id388 - zkEVM Debugger - Common - Verify starting debugging.md @@ -0,0 +1,18 @@ +--- +tags: ['Actions', 'Common', 'Debugger', 'Full test', 'regression', 'ZKF-2240', 'Active'] +--- + +# id388 zkEVM Debugger - Common - Verify starting debugging + +## Description + - I'm on https://staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Upload JSON file to debugger +- Click "Start" button displayed on debugger page +- Verify "1" value set in current step field of "Execution step" area +- Verify "First step", "Next step", "Previous step" and "End" navigation buttons displayed on navigation area +- Verify "Start" button not displayed after clicking on it diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id418 - zkEVM Debugger - Common - Verify debugger general state after starting debugging.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id418 - zkEVM Debugger - Common - Verify debugger general state after starting debugging.md new file mode 100644 index 0000000000..ef3c844bea --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id418 - zkEVM Debugger - Common - Verify debugger general state after starting debugging.md @@ -0,0 +1,19 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'Smoke test', 'ZKF-2383', 'Active'] +--- + +# id418 zkEVM Debugger - Common - Verify debugger general state after starting debugging + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON with execution steps +- Start debugging +- Verify user is able to see a complete memory state at particular step for current contract +- Verify user can switch between Memory tabs (stack, heap, code, returndata, calldata) +- Verify memory state is updated in tabs after step back/forward diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id592 - zkEVM Debugger - Common - Verify memory state label.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id592 - zkEVM Debugger - Common - Verify memory state label.md new file mode 100644 index 0000000000..0f9dac5170 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id592 - zkEVM Debugger - Common - Verify memory state label.md @@ -0,0 +1,17 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'Memory', 'regression', 'ZKF-2465', 'Active'] +--- + +# id592 zkEVM Debugger - Common - Verify memory state label + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Start debugging +- Verify correct memory state label displayed for the memory interaction in "Memory" block diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id598 - zkEVM Debugger - Common - Turn on full screen mode.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id598 - zkEVM Debugger - Common - Turn on full screen mode.md new file mode 100644 index 0000000000..58324f0323 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id598 - zkEVM Debugger - Common - Turn on full screen mode.md @@ -0,0 +1,19 @@ +--- +tags: ['Common', 'Debugger', 'Fullscreen mode', 'Full test', 'manual', 'regression', 'ZKF-2528', 'Active'] +--- + +# id598 zkEVM Debugger - Common - Turn on full screen mode + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click "Start" button +- Full screen toggle button displayed above the metadata block +- Click full screen toggle button +- Verify "parent contract" and "child contract" blocks moved to the right part of the screen diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id599 - zkEVM Debugger - Common - Turn off full screen mode.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id599 - zkEVM Debugger - Common - Turn off full screen mode.md new file mode 100644 index 0000000000..1bea331e58 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id599 - zkEVM Debugger - Common - Turn off full screen mode.md @@ -0,0 +1,20 @@ +--- +tags: ['Common', 'Debugger', 'Fullscreen mode', 'Full test', 'manual', 'regression', 'ZKF-2528', 'Active'] +--- + +# id599 zkEVM Debugger - Common - Turn off full screen mode + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click "Start" button +- Full screen toggle button displayed above the metadata block +- Click full screen toggle button to turn on full screen mode +- Click full screen toggle button again to turn off full screen mode +- Verify "parent contract" and "child contract" blocks moved from right part of the screen under the "current contract" block diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id600 - zkEVM Debugger - Common - Verify hotkey for full screen mode.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id600 - zkEVM Debugger - Common - Verify hotkey for full screen mode.md new file mode 100644 index 0000000000..eeff5105a9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id600 - zkEVM Debugger - Common - Verify hotkey for full screen mode.md @@ -0,0 +1,20 @@ +--- +tags: ['Common', 'Debugger', 'Fullscreen mode', 'Full test', 'Hotkey', 'manual', 'regression', 'ZKF-2528', 'Active'] +--- + +# id600 zkEVM Debugger - Common - Verify hotkey for full screen mode + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click "Start" button +- Press 'Сmnd+S' (Mac)/'Ctrl+S' (Win) keyboard buttons to turn on full screen mode +- Verify full screen mode enabled +- Press 'Esc' (Mac) keyboard button again to turn off full screen mode +- Verify full screen mode disabled diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id602 - zkEVM Debugger - Common - Verify full screen mode for different screen resolutions.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id602 - zkEVM Debugger - Common - Verify full screen mode for different screen resolutions.md new file mode 100644 index 0000000000..08dc99e30b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id602 - zkEVM Debugger - Common - Verify full screen mode for different screen resolutions.md @@ -0,0 +1,24 @@ +--- +tags: ['Common', 'Debugger', 'Fullscreen mode', 'Full test', 'manual', 'regression', 'ZKF-2528', 'Active'] +--- + +# id602 zkEVM Debugger - Common - Verify full screen mode for different screen resolutions + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click "Start" button +- Click full screen toggle button +- For 1920+ screen resolution + - Verify instructions list, "current contract" and "parent contract"/"child contract" blocks shown in 3 columns with equal width +- 3 columns have equal width +- For less than 1920 screen resolution + - Verify instructions list, "current contract" and "parent contract"&"child contract" blocks shown in 2 columns +- 3 columns have width 1/3 vs 2/3 +- Verify each column has separate scroll diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id605 - zkEVM Debugger - Common - Verify calldata memory tab.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id605 - zkEVM Debugger - Common - Verify calldata memory tab.md new file mode 100644 index 0000000000..caf329a3ad --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id605 - zkEVM Debugger - Common - Verify calldata memory tab.md @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'Memory', 'regression', 'ZKF-2527', 'Active'] +--- + +# id605 zkEVM Debugger - Common - Verify calldata memory tab + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Start debugging +- Verify "calldata" tab is dispayed in case it has non zero index +- Verify "calldata" tab is not dispayed in case it has '0' index diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id606 - zkEVM Debugger - Common - Verify returndata memory tab.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id606 - zkEVM Debugger - Common - Verify returndata memory tab.md new file mode 100644 index 0000000000..7ba5be7f38 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id606 - zkEVM Debugger - Common - Verify returndata memory tab.md @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'Memory', 'regression', 'ZKF-2527', 'Active'] +--- + +# id606 zkEVM Debugger - Common - Verify returndata memory tab + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tools/debugger + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Start debugging +- Verify "returndata" tab is dispayed in case it has non zero index +- Verify "returndata" tab is not dispayed in case it has '0' index diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id609 - zkEVM Debugger - Common - Verify Child block functionality no Parent block.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id609 - zkEVM Debugger - Common - Verify Child block functionality no Parent block.md new file mode 100644 index 0000000000..c533b4c649 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id609 - zkEVM Debugger - Common - Verify Child block functionality no Parent block.md @@ -0,0 +1,29 @@ +--- +tags: ['Child/Parent block', 'Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2467', 'Active'] +--- + +# id609 zkEVM Debugger - Common - Verify Child block functionality (no Parent block) + +## Description + - https://goerli.explorer.zksync.io/ + - Check that user can navigate to Parent Smart Contract (SC). + - For checking this issue you can use trace file attached to the test case. + - A small explanation for the step 3. Why do we choose exactly command line # 21? + - Explanation: + - It's the last number of the parent SC (first one that initiated full sequence) and next line (line 22) will be the first command line of next SC (Child one). + +## Precondition + + +## Scenario +- Open zkEVM Debugger page (https://goerli.explorer.zksync.io/tools/debugger) +- Drag and drop or download file attached in the test case (ZKF-2467 test file.json) + - Information about JSON file is displayed +- Enter "Execution step" value 21 and press Enter + - Appropriate command line is opened +- Child block information should display information about Child SC + - Tab title should show contract address + label Child +- Tab address has a link to SC +- Info on the tab shows return data of current contract (child) +- Child block is automatically opened +- No Parent tab is displayed diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id611 - zkEVM Debugger - Common - Verify Parent block functionality in Debugger ParentChild is present.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id611 - zkEVM Debugger - Common - Verify Parent block functionality in Debugger ParentChild is present.md new file mode 100644 index 0000000000..9ee9ea3e46 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id611 - zkEVM Debugger - Common - Verify Parent block functionality in Debugger ParentChild is present.md @@ -0,0 +1,32 @@ +--- +tags: ['Child/Parent block', 'Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2467', 'Active'] +--- + +# id611 zkEVM Debugger - Common - Verify Parent block functionality in Debugger (Parent&Child is present) + +## Description + - https://goerli.explorer.zksync.io/ + - Check that user can navigate to Parent Smart Contract (SC). + - For checking this issue you can use trace file attached to the test case. + - A small explanation for the step 3. Why do we choose exactly command line # 22? + - Explanation: + - It's the first number of the Child SC (second one that was initiated by the parent one). + +## Precondition + + +## Scenario +- Open zkEVM Debugger page (https://goerli.explorer.zksync.io/tools/debugger) +- Drag and drop or download file attached in the test case (ZKF-2467 test file.json) +- Enter "Execution step" value 22 and press Enter + - Appropriate command line is opened +- Child block information should display information about Child SC + - Tab title should show contract address + label Child +- Tab address has a link to SC +- Info on the tab shows return data of current contract (child) +- Parent block information should display information about Parent SC + - Tab title should show contract address + label Parent +- Tab address has a link to SC +- Tab address redirects to this SC inside of the block explorer +- Parent tab is opened automatically +- Info on the tab shows return data of current contract (parent) diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id612 - zkEVM Debugger - Common - Verify Parent block functionality in Debugger no Child block.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id612 - zkEVM Debugger - Common - Verify Parent block functionality in Debugger no Child block.md new file mode 100644 index 0000000000..3ef553999f --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id612 - zkEVM Debugger - Common - Verify Parent block functionality in Debugger no Child block.md @@ -0,0 +1,27 @@ +--- +tags: ['Child/Parent block', 'Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2467', 'Active'] +--- + +# id612 zkEVM Debugger - Common - Verify Parent block functionality in Debugger (no Child block) + +## Description + - https://goerli.explorer.zksync.io/ + - Check that user can navigate to Parent Smart Contract (SC). + - For checking this issue you can use trace file attached to the test case. + - A small explanation for the step 3. Why do we choose exactly the last command line? + - Explanation: + - It's the command line of the last SC in the sequence (it will not have Child SC). + +## Precondition + + +## Scenario +- Open zkEVM Debugger page (https://goerli.explorer.zksync.io/tools/debugger) +- Drag and drop or download file attached in the test case (ZKF-2467 test file.json) +- Click on the "End" button right to the "Next step" button + - Last command line is opened +- Parent block information should display information about Parent SC + - Tab title should show contract address + label Parent +- Info on the tab shows return data of current contract (parent) +- Parent tab is opened automatically +- No Child tab is displayed diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id613 - zkEVM Debugger - Common - Verify navigation via clicks on instructions.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id613 - zkEVM Debugger - Common - Verify navigation via clicks on instructions.md new file mode 100644 index 0000000000..daae9c8509 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id613 - zkEVM Debugger - Common - Verify navigation via clicks on instructions.md @@ -0,0 +1,21 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'Navigation', 'Smoke test', 'ZKF-2464', 'Active'] +--- + +# id613 zkEVM Debugger - Common - Verify navigation via clicks on instructions + +## Description + - https://goerli.staging-scan-v2.zksync.dev/ + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click "Start" to start debugging +- Click on any highlighted instruction line from the list +- Verify the execution step is opened +- Verify the memory block displayed for opened execution step +- Verify correct value set in "execution step" field after clicking on instruction line +- Verify user can't click on not highlighted lines diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id614 - zkEVM Debugger - Common - Verify highlighted instructions.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id614 - zkEVM Debugger - Common - Verify highlighted instructions.md new file mode 100644 index 0000000000..68947d6ff2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id614 - zkEVM Debugger - Common - Verify highlighted instructions.md @@ -0,0 +1,18 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'Navigation', 'Smoke test', 'ZKF-2464', 'Active'] +--- + +# id614 zkEVM Debugger - Common - Verify highlighted instructions + +## Description + - https://goerli.staging-scan-v2.zksync.dev/ + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON +- Click "Start" to start debugging +- Verify each line in source code is highlighted if it was executed at least once in the particular trace +- Verify lines in source code aren't highlighted in case they aren't executed at least once in the particular trace diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id646 - zkEVM Debugger - Common - Verify HEX to Decimals switcher.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id646 - zkEVM Debugger - Common - Verify HEX to Decimals switcher.md new file mode 100644 index 0000000000..b2b242b659 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id646 - zkEVM Debugger - Common - Verify HEX to Decimals switcher.md @@ -0,0 +1,25 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2698', 'Active'] +--- + +# id646 zkEVM Debugger - Common - Verify HEX to Decimals switcher + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON file (example in the attachments) +- Check that HEX to Decimals switcher is present + - Dropdown button is present +- By default should be value is HEX +- In Dropdown 2 options: HEX/DEC +- HEX to Decimals switcher should be clickable (active) +- Press on Fullscreen button + - Check that HEX to Decimals switcher is present +- Check that HEX to Decimals switcher is present +- In Dropdown 2 options: HEX/DEC +- HEX to Decimals switcher should be clickable (active) diff --git a/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id647 - zkEVM Debugger - Common - Verify HEX to Decimals switcher changes format of data.md b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id647 - zkEVM Debugger - Common - Verify HEX to Decimals switcher changes format of data.md new file mode 100644 index 0000000000..d0df6abe07 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Common /zkEVM Debugger /id647 - zkEVM Debugger - Common - Verify HEX to Decimals switcher changes format of data.md @@ -0,0 +1,26 @@ +--- +tags: ['Common', 'Debugger', 'Full test', 'manual', 'regression', 'ZKF-2698', 'Active'] +--- + +# id647 zkEVM Debugger - Common - Verify HEX to Decimals switcher changes format of data + +## Description + - https://staging-scan-v2.zksync.dev/tools/debugger?network=goerli-beta + +## Precondition + + +## Scenario +- Open Debugger +- Upload JSON file (example is attached) + - Information in Current Contract, Parent, Child components are shown in HEX format +- HEX to Decimals switcher is present +- HEX to Decimals switcher is active and clickable +- Press on HEX to Decimals switcher and choose Decimal format + - Information in Current Contract is presented in DEC format +- Information in Parent tab is presented in DEC format +- Information in Child tab is presented in DEC format +- Press on HEX to Decimals switcher and choose HEX format + - Information in Current Contract is presented in DEC format +- Information in Parent tab is presented in DEC format +- Information in Child tab is presented in DEC format diff --git a/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id219 - Search field - Contract hash - Fields - Correct contract hash.md b/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id219 - Search field - Contract hash - Fields - Correct contract hash.md new file mode 100644 index 0000000000..722ade571a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id219 - Search field - Contract hash - Fields - Correct contract hash.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Full test', 'Positive', 'Search', 'Automated'] +--- + +# id219 Search field - Contract hash - Fields - Correct contract hash + +## Description + + +## Precondition + + +## Scenario +- Check correct contract hash + - You are redirected to contract page diff --git a/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id220 - Search field - Contract hash - Fields - Incorrect contract hash.md b/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id220 - Search field - Contract hash - Fields - Incorrect contract hash.md new file mode 100644 index 0000000000..da5aa4483b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id220 - Search field - Contract hash - Fields - Incorrect contract hash.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Negative', 'Search', 'Automated'] +--- + +# id220 Search field - Contract hash - Fields - Incorrect contract hash + +## Description + - 0x98ddd69b2443fc67755f0901aeb9828a8a62cc65 --\> add spaces or spec symbols (eg, 0x98ddd6!9b2443fc67755f0901aeb9828a8a62cc65) + +## Precondition + + +## Scenario +- Check incorrect contract hash + - The search field will change the color to red +- User remains on the same page diff --git a/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id229 - Search field - Contract hash - Fields - Random contract hash inexistent.md b/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id229 - Search field - Contract hash - Fields - Random contract hash inexistent.md new file mode 100644 index 0000000000..97082b74f0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Contract hash /Search field /id229 - Search field - Contract hash - Fields - Random contract hash inexistent.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Search', 'Automated'] +--- + +# id229 Search field - Contract hash - Fields - Random contract hash / inexistent + +## Description + - from 0x98ddd69b2443fc67755f0901aeb9828a8a62cc65 --\> + - to 0x98ddd69b2443fc67755f0901aeb9828a8a62cc61 + +## Precondition + + +## Scenario +- Check random contract + - You will get an empty acc page diff --git a/packages/testing-docs/docs/BE Tests/ Other /UAT /id1561 - UAT - Other - for New user in the system.md b/packages/testing-docs/docs/BE Tests/ Other /UAT /id1561 - UAT - Other - for New user in the system.md new file mode 100644 index 0000000000..61e33ab67c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Other /UAT /id1561 - UAT - Other - for New user in the system.md @@ -0,0 +1,27 @@ +--- +tags: ['UAT', 'Active'] +--- + +# id1561 UAT - Other - for New user in the system + +## Description + - New user test cases (new one in crypto): + - In this part we will focus on read-only areas of Block Explorer which don’t require interaction from user or cases when user wants to get some basic block explorer data (e.g. primarily viewing data related to blockchain - transactions, blocks, accounts etc.) + - Notion Page: https://www.notion.so/matterlabs/UAT-checklist-for-Block-Explorer-00bfcb41b88d4d1fb3a70089892d5429?pvs=4#2a3ae33c8116484da7171fe159666efc + +## Precondition + + +## Scenario +- Navigation menu is always available for the user +- Navigation menu items name are clear and unequivocal +- User has always possibility to find Support buttons/links during all user flows +- User can switch between Mainnet and Testnet networks +- User can switch between available languages (EN and UA) +- Other Era products can be reached from Block Explorer via header links + - Portal +- Bridge +- Documentation +- Search field is a common element and available for user from **every** BE page +- Search field has clear placeholder with text explaining what inputs can be accepted +- User always has breadcrumbs to understand what page/flow is currently active and how to reach previous pages diff --git a/packages/testing-docs/docs/BE Tests/ Other /UAT /id1562 - UAT - Other - for Experienced user.md b/packages/testing-docs/docs/BE Tests/ Other /UAT /id1562 - UAT - Other - for Experienced user.md new file mode 100644 index 0000000000..7b69064d1b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Other /UAT /id1562 - UAT - Other - for Experienced user.md @@ -0,0 +1,44 @@ +--- +tags: ['UAT', 'Active'] +--- + +# id1562 UAT - Other - for Experienced user + +## Description + - Experienced user test cases (user type - Developer) + - In this part we will focus on the areas of Block Explorer which require interaction from user (like connecting MetaMask wallet for adding data to contracts via ABI, verifying smart contracts and working with Debugger tool) + - Notion Page: https://www.notion.so/matterlabs/UAT-checklist-for-Block-Explorer-00bfcb41b88d4d1fb3a70089892d5429?pvs=4#23f2fb8a2b5e4d92bd6aa6cb2fcecd53 + +## Precondition + + +## Scenario +- Smart Contract verification page can be reached via navigation menu +- User gets the explanation of the mechanism of Smart Contract verification (SCV) flow (what is the purpose of it and what data required for verification) +- User can proceed with using Debugger with slow 3G internet connection +- User can proceed with Smart Contract verification (SCV) flow with slow 3G internet connection +- User gets an informative error message in case of losing internet connection +- All the fields for SCV has names/placeholder/text explaining what inputs can be accepted +- Additional Docs/Github links available for user to simplify/speed up interaction process +- User gets a clear notification about SCV process completing/further steps +- Debugger tool currently can be reached via direct link only \{env_link/tools/debugger\} +- Debugger tool accepts only specific trace JSON files +- In case uploaded JSON file can’t be parsed user receives appropriate error notification +- User can upload JSON trace file in any state of debugger (no matter if he already inspecting any file or just has empty state with no file uploaded) +- User has all the necessary toolkit for interacting with JSON trace file + - Instruction list +- Search +- Step counter/navigation +- Memory state etc. +- User can switch between data types available +- User has a possibility to use full screen/collapsed modes +- User can interact with Debugger via buttons to keyboard hotkeys (commands highlighted) +- User can get a state of parent/child contracts memory state +- Errors for instruction list displayed correctly (in case they mentioned in JSON file) +- User can interact with “Contract” tab of verified contracts +- “Read” ABI methods of verified contracts can be called by any users +- Contract owner user can interact with “Write” ABI methods after connecting his MetaMask wallet (appropriate instructions for it available in ABI design) +- User is notified about state of his MetaMask wallet when using ABI contract methods +- Balance state of searched account is displayed on “Account” page +- User can get list of all events for specific contract address (“Events” tab of “Account” page) +- User can get “Logs” for each transaction with all the internal parameters diff --git a/packages/testing-docs/docs/BE Tests/ Other /UAT /id1563 - UAT - Other - General test cases.md b/packages/testing-docs/docs/BE Tests/ Other /UAT /id1563 - UAT - Other - General test cases.md new file mode 100644 index 0000000000..13034827a9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Other /UAT /id1563 - UAT - Other - General test cases.md @@ -0,0 +1,22 @@ +--- +tags: ['UAT', 'Active'] +--- + +# id1563 UAT - Other - General test cases + +## Description + - General test cases (common for all BE users) + - Notion Page: https://www.notion.so/matterlabs/UAT-checklist-for-Block-Explorer-00bfcb41b88d4d1fb3a70089892d5429?pvs=4#7a26e80004f84fd2b593449e6edea523 + +## Precondition + + +## Scenario +- “Transaction" page contains extensive information about the concrete tx +- All BE data is linked, so user research any BE item from related pages (Tx page → Block page → Address page → Batch page → Tx page etc) +- All the field names of “Transaction" page are clear and have tooltips revealing additional data about the field +- Detailed explanation about fee mechanism and refunds (with link to Docs page) available on “Transaction" page +- Precise status, state and flow of transaction (with all the L1 Etherscan links and additional text explanation) +- User can see decoded view of “Input data” field on “Transaction" page (verified contract only) +- Pagination element simplify the navigation between pages for Blocks/Batches/Txs +- User can find the list of all tokens and their data diff --git a/packages/testing-docs/docs/BE Tests/ Pages /404 page /id586 - 404 page - Pages - Check error message for Search field.md b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id586 - 404 page - Pages - Check error message for Search field.md new file mode 100644 index 0000000000..056138803b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id586 - 404 page - Pages - Check error message for Search field.md @@ -0,0 +1,18 @@ +--- +tags: ['404 page', 'Error', 'Full test', 'regression', 'Search', 'ZKF-2591', 'Active'] +--- + +# id586 404 page - Pages - Check error message for Search field + +## Description + - https://goerli.staging-scan-v2.zksync.dev/a + +## Precondition + + +## Scenario +- Open page https://goerli.staging-scan-v2.zksync.dev/a +- Insert non-existing hash 0x7e7f53d0a3716698db00ad03847a36439772fbf7111cfb70a5933c610ad8dc4a22 + - Press Enter/Click on Search button +- 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. diff --git a/packages/testing-docs/docs/BE Tests/ Pages /404 page /id713 - 404 page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id713 - 404 page - Pages - Artifacts.md new file mode 100644 index 0000000000..acbca9ac82 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id713 - 404 page - Pages - Artifacts.md @@ -0,0 +1,25 @@ +--- +tags: ['404 page', 'Artifacts', 'Full test', 'Pages', 'regression', 'Active'] +--- + +# id713 404 page - Pages - Artifacts + +## Description + - https://goerli.staging-scan-v2.zksync.dev/a + +## Precondition + + +## Scenario +- 404 page includes: + - Headline text + - Oops, we can’t find anything +- Search icon +- Text + - Sorry we can’t find anything on your search result, please try one more time via seach bar below +- Search field + - Placeholder text: Search by address, batch number, contract, or tx hash +- Search button +- Text + - If you think this is a problem with us, please contact support +- "contact support" link diff --git a/packages/testing-docs/docs/BE Tests/ Pages /404 page /id714 - 404 page - Pages - Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id714 - 404 page - Pages - Redirection.md new file mode 100644 index 0000000000..838b4885ca --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id714 - 404 page - Pages - Redirection.md @@ -0,0 +1,14 @@ +--- +tags: ['404 page', 'Full test', 'Pages', 'Redirection', 'regression', 'ZKF-3228', 'Active'] +--- + +# id714 404 page - Pages - Redirection + +## Description + - https://goerli.staging-scan-v2.zksync.dev/a + +## Precondition + + +## Scenario +- "Contact support" link navigates to https://zksync.io/contact diff --git a/packages/testing-docs/docs/BE Tests/ Pages /404 page /id715 - 404 page - Pages - Verify opening 404 page.md b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id715 - 404 page - Pages - Verify opening 404 page.md new file mode 100644 index 0000000000..d4f32d3f7e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /404 page /id715 - 404 page - Pages - Verify opening 404 page.md @@ -0,0 +1,18 @@ +--- +tags: ['404 page', 'Error', 'Full test', 'regression', 'Search', 'Active'] +--- + +# id715 404 page - Pages - Verify opening 404 page + +## Description + - Check error message after inserting random (not existing) hash to search field. + - For example: 0x7e7f53d0a3716698db00ad03847a36439772fbf7111cfb70a5933c610ad8dc4a + +## Precondition + + +## Scenario +- Open page https://goerli.staging-scan-v2.zksync.dev/ + - Instert non-existing hash to Search field 0x7e7f53d0a3716698db00ad03847a36439772fbf7111cfb70a5933c610ad8dc4a +- Press on Enter/Click on Search button +- You will see "Oops, we can’t find anything" page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id244 - Acc page - Pages - hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id244 - Acc page - Pages - hashes copying.md new file mode 100644 index 0000000000..612a9c14f7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id244 - Acc page - Pages - hashes copying.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id259 - Acc page - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id259 - Acc page - Pages - Navigation.md new file mode 100644 index 0000000000..9c05e3e935 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id259 - Acc page - Pages - Navigation.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id260 - Acc page - Pages - Artifacts Account info.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id260 - Acc page - Pages - Artifacts Account info.md new file mode 100644 index 0000000000..4e72a3d6e2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id260 - Acc page - Pages - Artifacts Account info.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id261 - Acc page - Pages - Artifacts Balances.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id261 - Acc page - Pages - Artifacts Balances.md new file mode 100644 index 0000000000..950cda7c71 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id261 - Acc page - Pages - Artifacts Balances.md @@ -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) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id262 - Acc page - Pages - Artifacts Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id262 - Acc page - Pages - Artifacts Transactions.md new file mode 100644 index 0000000000..f5bbf6f747 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id262 - Acc page - Pages - Artifacts Transactions.md @@ -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) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id339 - Acc page - Pages - Accounts URL.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id339 - Acc page - Pages - Accounts URL.md new file mode 100644 index 0000000000..4746c04824 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id339 - Acc page - Pages - Accounts URL.md @@ -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 \/address/\ structure diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id367 - Acc page - Pages - L1 Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id367 - Acc page - Pages - L1 Redirection.md new file mode 100644 index 0000000000..62cf4aa0b5 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id367 - Acc page - Pages - L1 Redirection.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id380 - Acc page - Pages - Verify IN label.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id380 - Acc page - Pages - Verify IN label.md new file mode 100644 index 0000000000..111168fb08 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id380 - Acc page - Pages - Verify IN label.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id381 - Acc page - Pages - Verify OUT label.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id381 - Acc page - Pages - Verify OUT label.md new file mode 100644 index 0000000000..98be317783 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id381 - Acc page - Pages - Verify OUT label.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id382 - Acc page - Pages - Verify SELF label.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id382 - Acc page - Pages - Verify SELF label.md new file mode 100644 index 0000000000..7e74527631 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id382 - Acc page - Pages - Verify SELF label.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id593 - Acc page - Pages - Verify hover state for Age field.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id593 - Acc page - Pages - Verify hover state for Age field.md new file mode 100644 index 0000000000..762b6bd5ed --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id593 - Acc page - Pages - Verify hover state for Age field.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id800 - Acc page - Pages - Verify collapsed state for Balances.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id800 - Acc page - Pages - Verify collapsed state for Balances.md new file mode 100644 index 0000000000..fedac550f7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id800 - Acc page - Pages - Verify collapsed state for Balances.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id807 - Acc page - Pages - Artifacts Empty state.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id807 - Acc page - Pages - Artifacts Empty state.md new file mode 100644 index 0000000000..cc020844c5 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id807 - Acc page - Pages - Artifacts Empty state.md @@ -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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id928 - Acc page - Pages - Artifacts Transactions - Transfers tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id928 - Acc page - Pages - Artifacts Transactions - Transfers tab.md new file mode 100644 index 0000000000..53ce9c4083 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Acc page /id928 - Acc page - Pages - Artifacts Transactions - Transfers tab.md @@ -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) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id235 - Block page - Pages - Navigation Addresses.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id235 - Block page - Pages - Navigation Addresses.md new file mode 100644 index 0000000000..c66f195ad9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id235 - Block page - Pages - Navigation Addresses.md @@ -0,0 +1,23 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Block', 'Full test', 'Navigation', 'Automated'] +--- + +# id235 Block page - Pages - Navigation (Addresses) + +## Description + + +## Precondition + + +## Scenario +- Transaction hash navigates to transaction page + - https://staging-scan-v2.zksync.dev/tx/0x25c1a603795255747ce369ed69a6ac72086444240b9fae1d2f8cae025c91e834 +- FROM L2 (if any) hash navigates to Account page + - https://staging-scan-v2.zksync.dev/address/0x61ef8dcfb266228794676ff3de7f383f9e33d61a +- TO L2 (if any) hash navigates to Account page + - https://staging-scan-v2.zksync.dev/address/0x61ef8dcfb266228794676ff3de7f383f9e33d61a +- Fee -\> Contract + - https://staging-scan-v2.zksync.dev/address/0x0000000000000000000000000000000000000000 +- Amount -\> Contract + - https://staging-scan-v2.zksync.dev/address/0x0000000000000000000000000000000000000000 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id236 - Block page - Pages - Artifacts Left table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id236 - Block page - Pages - Artifacts Left table.md new file mode 100644 index 0000000000..af4acdb004 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id236 - Block page - Pages - Artifacts Left table.md @@ -0,0 +1,20 @@ +--- +tags: ['Artifacts', 'automated', 'Block', 'Flaky', 'Full test', 'Pages', 'Smoke test', 'ZKF-2535', 'Active Partly Manual'] +--- + +# id236 Block page - Pages - Artifacts (Left table) + +## Description + - /block/63781 + +## Precondition + + +## Scenario +- Left block table contains the following fields: + - Block Number +- Block Size +- Status +- Batch +- Root Hash +- Timestamp diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id264 - Block page - Pages - Artifacts Right table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id264 - Block page - Pages - Artifacts Right table.md new file mode 100644 index 0000000000..19cdd51641 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id264 - Block page - Pages - Artifacts Right table.md @@ -0,0 +1,23 @@ +--- +tags: ['Artifacts', 'automated', 'Block', 'Flaky', 'Full test', 'Pages', 'Smoke test', 'ZKF-2535', 'Active Partly Manual'] +--- + +# id264 Block page - Pages - Artifacts (Right table) + +## Description + + +## Precondition + + +## Scenario +- Right block table contains the following fields: + - Commit tx hash + - Link to goerli.etherscan.io +- Committed +- Prove tx hash + - Link to goerli.etherscan.io +- Proven +- Execute tx hash + - Link to goerli.etherscan.io +- Executed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id265 - Block page - Pages - Artifacts Block Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id265 - Block page - Pages - Artifacts Block Transactions.md new file mode 100644 index 0000000000..704e56d55a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id265 - Block page - Pages - Artifacts Block Transactions.md @@ -0,0 +1,28 @@ +--- +tags: ['Artifacts', 'automated', 'Block', 'Full test', 'regression', 'Active Partly Manual'] +--- + +# id265 Block page - Pages - Artifacts (Block Transactions) + +## Description + - /block/8198862 + +## Precondition + + +## Scenario +- Block Transactions contains the following rows: + - Status +- Transaction hash +- Method +- Age + - Timestamp can be copied on click +- From + - L1/L2 labels displayed +- Direction + - In/Out/Self +- To + - L1/L2 labels displayed +- Value +- Fee (Fee in ETH only) +- Pagination element (if any) can be displayed under Block Transaction table (optional) in case block contains 10+ txs diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id266 - Block page - Pages - Hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id266 - Block page - Pages - Hashes copying.md new file mode 100644 index 0000000000..87350c7f52 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id266 - Block page - Pages - Hashes copying.md @@ -0,0 +1,19 @@ +--- +tags: ['Account', 'automated', 'Copying', 'Full test', 'manual', 'Automated'] +--- + +# id266 Block page - Pages - Hashes copying + +## Description + - USDC example: 0x54a14d7559baf2c8e8fa504e019d32479739018c + +## Precondition + + +## Scenario +- The following hashes can be copied: + - Root hash +- Commit tx hash +- Prove tx hash +- Execute tx hash +- Block # diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id368 - Block page - Pages - Redirection Addresses.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id368 - Block page - Pages - Redirection Addresses.md new file mode 100644 index 0000000000..3748d2caeb --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id368 - Block page - Pages - Redirection Addresses.md @@ -0,0 +1,17 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Block', 'Full test', 'Redirection', 'Smoke test', 'Automated'] +--- + +# id368 Block page - Pages - Redirection (Addresses) + +## Description + - http://localhost:3000/block/12 + +## Precondition + + +## Scenario +- FROM L1 (if any) hash redirects to goerli.etherscan.io + - https://goerli.etherscan.io/address/0x388ea662ef2c223ec0b047d41bf3c0f362142ad5 +- TO L1 (if any) hash redirects to goerli.etherscan.io + - https://goerli.etherscan.io/address/0x388ea662ef2c223ec0b047d41bf3c0f362142ad5 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id553 - Block page - Pages - Redirection Hashes.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id553 - Block page - Pages - Redirection Hashes.md new file mode 100644 index 0000000000..74012d874c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id553 - Block page - Pages - Redirection Hashes.md @@ -0,0 +1,19 @@ +--- +tags: ['Block', 'Full test', 'manual', 'Pages', 'Redirection', 'Smoke test', 'To Automate', 'ZKF-2535', 'Active'] +--- + +# id553 Block page - Pages - Redirection (Hashes) + +## Description + - Open https://explorer.zksync.io/block/1085863 page + +## Precondition + + +## Scenario +- Commit tx hash link redirects to to goerli.etherscan.io + - https://goerli.etherscan.io/tx/0xb542d8ea547718ab507d24b4ac477e05da389ef2bdf9f2d18562b4dd68697da5 +- Prove tx hash link redirects to to goerli.etherscan.io + - https://goerli.etherscan.io/tx/0x0fa305cfbbf1061cfda3a0ed7d2c6b130446ddfd4e8b39040af9716f7e228b8d +- Execute tx hash link redirects to to goerli.etherscan.io + - https://goerli.etherscan.io/tx/0x1999cbc497d3046fdc31a14a290ceed91ab382d9ffb03e096920128801a2cb81 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id554 - Block page - Pages - Verify hover state for links.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id554 - Block page - Pages - Verify hover state for links.md new file mode 100644 index 0000000000..0a83ef0b9c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id554 - Block page - Pages - Verify hover state for links.md @@ -0,0 +1,29 @@ +--- +tags: ['Block', 'Full test', 'Hover state', 'manual', 'Pages', 'regression', 'ZKF-2535', 'Active'] +--- + +# id554 Block page - Pages - Verify hover state for links + +## Description + - Open https://explorer.zksync.io/block/1085863 page + +## Precondition + + +## Scenario +- Verify links on the Block page change the color to bright purple in hover state + - Commit tx hash link + - https://goerli.etherscan.io/tx/0xb542d8ea547718ab507d24b4ac477e05da389ef2bdf9f2d18562b4dd68697da5 +- Prove tx hash link + - https://goerli.etherscan.io/tx/0x0fa305cfbbf1061cfda3a0ed7d2c6b130446ddfd4e8b39040af9716f7e228b8d +- Execute tx hash link + - https://goerli.etherscan.io/tx/0x1999cbc497d3046fdc31a14a290ceed91ab382d9ffb03e096920128801a2cb81 +- Transaction hash links + - https://staging-scan-v2--pr167-zkf-2535-commit-prov-4myhh1jq.web.app/tx/0x062961cd3c256e0cd57bbe43240babb9685c869462617f587d109cfa5d15876f +- https://staging-scan-v2--pr167-zkf-2535-commit-prov-4myhh1jq.web.app/tx/0xbf90e275875f19d91479c4fb729be56c72de0f533f1bf9604b5b4563acea3bc8 +- From links + - https://staging-scan-v2--pr167-zkf-2535-commit-prov-4myhh1jq.web.app/address/0x2b595cd75093440be9451bc363e5998b10481e42 +- To links + - https://staging-scan-v2--pr167-zkf-2535-commit-prov-4myhh1jq.web.app/address/0xb3ff73f6d56f381d093d1b2fb20215aa2c79da0e +- Amount token links +- Fee token links diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id555 - Block page - Pages - Artifacts Zero block state.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id555 - Block page - Pages - Artifacts Zero block state.md new file mode 100644 index 0000000000..0b7650de2a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id555 - Block page - Pages - Artifacts Zero block state.md @@ -0,0 +1,17 @@ +--- +tags: ['Artifacts', 'Block', 'Full test', 'manual', 'Pages', 'regression', 'Zero block', 'ZKF-2427', 'Active'] +--- + +# id555 Block page - Pages - Artifacts (Zero block state) + +## Description + - Open any zero block page (e.g. block/1109873) + +## Precondition + + +## Scenario +- Zero Block page contains the following elements: + - Block Transactions + - Headline - "This Block doesn't have any transactions" +- Search icon diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id567 - Block page - Pages - Verify icons for informational tooltips Left table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id567 - Block page - Pages - Verify icons for informational tooltips Left table.md new file mode 100644 index 0000000000..bb0206bbc9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id567 - Block page - Pages - Verify icons for informational tooltips Left table.md @@ -0,0 +1,20 @@ +--- +tags: ['Artifacts', 'Block', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-2463', 'Active'] +--- + +# id567 Block page - Pages - Verify icons for informational tooltips (Left table) + +## Description + - /block/63781 + +## Precondition + + +## Scenario +- Informational tooltip icon available for the fields labels of left block table: + - Block Number +- Block Size +- Status +- Batch +- Root Hash +- Timestamp diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id568 - Block page - Pages - Verify informational tooltips on hover Left table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id568 - Block page - Pages - Verify informational tooltips on hover Left table.md new file mode 100644 index 0000000000..1f3baa6f08 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id568 - Block page - Pages - Verify informational tooltips on hover Left table.md @@ -0,0 +1,27 @@ +--- +tags: ['Artifacts', 'Block', 'Full test', 'manual', 'Pages', 'Smoke test', 'Tooltip', 'ZKF-2463', 'Active'] +--- + +# id568 Block page - Pages - Verify informational tooltips on hover (Left table) + +## Description + - /block/63781 + +## Precondition + + +## Scenario +- Informational tooltip of icon reveal the next content on hover (left block table): + - Block Number + - Block height, indicates the length of the blockchain, increases after the addition of the new block. +- Block Size + - Numer of transactions inside the block +- Status + - The finality status of the block. +- Batch + - The batch index where the block transactions are submitted to L1 +- Root Hash + - State root hash obtained after this block execution. +- Timestamp + - The date and time at which a block is mined. +- Tooltips displayed correctly in mobile view diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id569 - Block page - Pages - Verify icons for informational tooltips Right table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id569 - Block page - Pages - Verify icons for informational tooltips Right table.md new file mode 100644 index 0000000000..ea3769b4cb --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id569 - Block page - Pages - Verify icons for informational tooltips Right table.md @@ -0,0 +1,20 @@ +--- +tags: ['Artifacts', 'Block', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-2463', 'Active'] +--- + +# id569 Block page - Pages - Verify icons for informational tooltips (Right table) + +## Description + - /block/63781 + +## Precondition + + +## Scenario +- Informational tooltip icon available for the fields labels of right block table: + - Commit tx hash +- Committed +- Prove tx hash +- Proven +- Execute tx hash +- Executed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id570 - Block page - Pages - Verify informational tooltips on hover Right table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id570 - Block page - Pages - Verify informational tooltips on hover Right table.md new file mode 100644 index 0000000000..2fb544298c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id570 - Block page - Pages - Verify informational tooltips on hover Right table.md @@ -0,0 +1,27 @@ +--- +tags: ['Artifacts', 'Block', 'Full test', 'manual', 'Pages', 'Smoke test', 'Tooltip', 'ZKF-2463', 'Active'] +--- + +# id570 Block page - Pages - Verify informational tooltips on hover (Right table) + +## Description + - /block/63781 + +## Precondition + + +## Scenario +- Informational tooltip icon available for the fields labels of right block table: + - Commit tx hash + - Hash of the L1 transaction sent to the smart contract to commit the block. +- Committed + - Time when the block was committed +- Prove tx hash + - Hash of the L1 transaction in which block was proven. +- Proven + - Time when block was proven +- Execute tx hash + - Hash of the L1 transaction in which block was executed. +- Executed + - Time when block was executed. +- Tooltips displayed correctly in mobile view diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id594 - Block page - Pages - Verify hover state for Age field.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id594 - Block page - Pages - Verify hover state for Age field.md new file mode 100644 index 0000000000..ef8132a638 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id594 - Block page - Pages - Verify hover state for Age field.md @@ -0,0 +1,16 @@ +--- +tags: ['Block', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-2301', 'Active'] +--- + +# id594 Block page - Pages - Verify hover state for 'Age' field + +## Description + - https://goerli.explorer.zksync.io/block/3272675 + +## Precondition + + +## Scenario +- Open block page +- Homer the cursor over "Age" field of any transaction raw +- Verify tooltip with timestamp shown on hover diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id692 - Block page - Pages - Hashes cant be highlighted.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id692 - Block page - Pages - Hashes cant be highlighted.md new file mode 100644 index 0000000000..77b1586eb2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id692 - Block page - Pages - Hashes cant be highlighted.md @@ -0,0 +1,21 @@ +--- +tags: ['Artifacts', 'Block', 'Copying', 'Full test', 'manual', 'Positive', 'regression', 'Active'] +--- + +# id692 Block page - Pages - Hashes can't be highlighted + +## Description + - Open BE and check Block # 13874 for testing purposes. + +## Precondition + + +## Scenario +- Open Block # 13874 +- Check that user can't highlight "Root hash" value + - By double left click +- By hold of left mouse +- By right mouse click +- Press Copy button + - Tooltip "Copied!" is displayed +- Root hash value is copied diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Block page /id752 - Block page - Pages - Navigation Block info table.md b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id752 - Block page - Pages - Navigation Block info table.md new file mode 100644 index 0000000000..0ac1511257 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Block page /id752 - Block page - Pages - Navigation Block info table.md @@ -0,0 +1,15 @@ +--- +tags: ['Block', 'Full test', 'manual', 'Navigation', 'Pages', 'Smoke test', 'Txn Batch', 'Active'] +--- + +# id752 Block page - Pages - Navigation (Block info table) + +## Description + - Open https://goerli.staging-scan-v2.zksync.dev/block/1 page + +## Precondition + + +## Scenario +- Batch link redirects to to batch page + - https://goerli.staging-scan-v2.zksync.dev/batch/1 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id245 - Blocks page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id245 - Blocks page - Pages - Artifacts.md new file mode 100644 index 0000000000..9cb323ec1c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id245 - Blocks page - Pages - Artifacts.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'automated', 'Block', 'Full test', 'Automated'] +--- + +# id245 Blocks page - Pages - Artifacts + +## Description + + +## Precondition + + +## Scenario +- Blocks page contains: + - 10 items/rows of blocks +- Status +- Age + - Timestamp can be copied on click +- Navigation between blocks diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id246 - Blocks page - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id246 - Blocks page - Pages - Navigation.md new file mode 100644 index 0000000000..12ee57afed --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id246 - Blocks page - Pages - Navigation.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Block', 'Full test', 'Navigation', 'Automated'] +--- + +# id246 Blocks page - Pages - Navigation + +## Description + - - I am on http://localhost:3000/blocks page + +## Precondition + + +## Scenario +- Block number navigates to the block page + - f.e. https://staging-scan-v2.zksync.dev/block/466417 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id607 - Blocks page - Pages - Verify hover state for Age field.md b/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id607 - Blocks page - Pages - Verify hover state for Age field.md new file mode 100644 index 0000000000..07a2a563c2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Blocks page /id607 - Blocks page - Pages - Verify hover state for Age field.md @@ -0,0 +1,16 @@ +--- +tags: ['Block', 'Full test', 'Hover state', 'manual', 'regression', 'ZKF-2694', 'Active'] +--- + +# id607 Blocks page - Pages - Verify hover state for 'Age' field + +## Description + - https://goerli.explorer.zksync.io/blocks/ + +## Precondition + + +## Scenario +- Open blocks page +- Hover the cursor over "Age" field of any block raw +- Verify tooltip with timestamp shown on hover diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Common /id103 - Common - Pages - Artifacts Search field.md b/packages/testing-docs/docs/BE Tests/ Pages /Common /id103 - Common - Pages - Artifacts Search field.md new file mode 100644 index 0000000000..109733da86 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Common /id103 - Common - Pages - Artifacts Search field.md @@ -0,0 +1,14 @@ +--- +tags: ['Account', 'Artifacts', 'automated', 'Full test', 'Search', 'Smoke test', 'Automated'] +--- + +# id103 Common - Pages - Artifacts (Search field) + +## Description + + +## Precondition + + +## Scenario +- Search field is displayed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Common /id238 - Common - Pages - Navigation Home - Logo.md b/packages/testing-docs/docs/BE Tests/ Pages /Common /id238 - Common - Pages - Navigation Home - Logo.md new file mode 100644 index 0000000000..f5795f9842 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Common /id238 - Common - Pages - Navigation Home - Logo.md @@ -0,0 +1,16 @@ +--- +tags: ['Account', 'automated', 'Full test', 'Navigation', 'Automated'] +--- + +# id238 Common - Pages - Navigation (Home -> Logo) + +## Description + - Input an account address to the search field, f.e. 0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6 + - url: https://staging-scan-v2.zksync.dev/address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6 + +## Precondition + + +## Scenario +- Redirects to the main page: + - Logo diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Common /id276 - Common - Pages - Navigation Home - Dashboard.md b/packages/testing-docs/docs/BE Tests/ Pages /Common /id276 - Common - Pages - Navigation Home - Dashboard.md new file mode 100644 index 0000000000..e0b00861ef --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Common /id276 - Common - Pages - Navigation Home - Dashboard.md @@ -0,0 +1,16 @@ +--- +tags: ['Account', 'automated', 'Full test', 'Navigation', 'Automated'] +--- + +# id276 Common - Pages - Navigation (Home -> Dashboard) + +## Description + - Input an account address to the search field, f.e. 0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6 + - url: https://staging-scan-v2.zksync.dev/address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6 + +## Precondition + + +## Scenario +- Navigation to the main page: + - Dashboard diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id211 - Contract page - Pages - Artifacts Contract Info.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id211 - Contract page - Pages - Artifacts Contract Info.md new file mode 100644 index 0000000000..35dac23df5 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id211 - Contract page - Pages - Artifacts Contract Info.md @@ -0,0 +1,17 @@ +--- +tags: ['Artifacts', 'automated', 'Contract', 'Full test', 'Automated'] +--- + +# id211 Contract page - Pages - Artifacts (Contract Info) + +## Description + - https://staging-scan-v2.zksync.dev/address/0xe9f4149276e8a4f8db89e0e3bb78fd853f01e87d + +## Precondition + + +## Scenario +- Contract info contains: + - Address +- Creator +- Transactions diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id242 - Contract page - Pages - Navigation Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id242 - Contract page - Pages - Navigation Transactions.md new file mode 100644 index 0000000000..49702f3c6c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id242 - Contract page - Pages - Navigation Transactions.md @@ -0,0 +1,26 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Contract', 'Full test', 'Navigation', 'regression', 'Active Partly Manual'] +--- + +# id242 Contract page - Pages - Navigation (Transactions) + +## Description + - I am on Contract page, eg /address/0x0faF6df7054946141266420b43783387A78d82A9 + +## Precondition + + +## Scenario +- Item \{\} navigates to \{\}: + - Creator to an Account page + - https://goerli.explorer.zksync.io/address/0xA38EDFcc55164a59e0f33918D13a2d559BC11df8 +- Transaction Hash to a Transaction page + - https://goerli.explorer.zksync.io/tx/0xae9287595367760af18e1a7ed347a496a57b46a660c8d06c241c3a94e3cb6314 +- L2 From -\> to Account page + - https://goerli.explorer.zksync.io/address/0x6c10d9C1744F149D4B17660E14FaA247964749c7 +- L2 To -\> to Account page + - https://goerli.explorer.zksync.io/address/0xA80Fce6A62F46ea8f59C8540aAa3F620c17593Ec +- VALUE to contract + - https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A +- FEE to contract + - https://goerli.explorer.zksync.io/address/0x000000000000000000000000000000000000800A diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id267 - Contract page - Pages - Artifacts Balances.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id267 - Contract page - Pages - Artifacts Balances.md new file mode 100644 index 0000000000..558577b5bf --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id267 - Contract page - Pages - Artifacts Balances.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'Balances', 'Full test', 'manual', 'To Automate'] +--- + +# id267 Contract page - Pages - Artifacts (Balances) + +## Description + - Automation temporary switched off due to regenesis, check before release + - https://staging-scan-v2.zksync.dev/address/0xe9f4149276e8a4f8db89e0e3bb78fd853f01e87d + +## Precondition + + +## Scenario +- Balances table contains: + - Asset +- Balance +- Address +- Balances table values are optional diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id268 - Contract page - Pages - Navigation Contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id268 - Contract page - Pages - Navigation Contract.md new file mode 100644 index 0000000000..94e185687e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id268 - Contract page - Pages - Navigation Contract.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Contract', 'Full test', 'Navigation', 'Automated'] +--- + +# id268 Contract page - Pages - Navigation (Contract) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x0faF6df7054946141266420b43783387A78d82A9 + - - I am on Contract page, eg USDC page/address/0x0faF6df7054946141266420b43783387A78d82A9 + +## Precondition + + +## Scenario +- Contract button navigates to the verification interface + - https://goerli.staging-scan-v2.zksync.dev/contracts/verify?address=0x0faF6df7054946141266420b43783387A78d82A9 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id269 - Contract page - Pages - Hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id269 - Contract page - Pages - Hashes copying.md new file mode 100644 index 0000000000..1be0470014 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id269 - Contract page - Pages - Hashes copying.md @@ -0,0 +1,17 @@ +--- +tags: ['automated', 'Contract', 'Copying', 'Full test', 'Automated'] +--- + +# id269 Contract page - Pages - Hashes copying + +## Description + + +## Precondition + + +## Scenario +- Hashes can be copied: + - Address +- *Contract hashes - if any +- Contract hash from the title diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id270 - Contract page - Pages - Artifacts Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id270 - Contract page - Pages - Artifacts Transactions.md new file mode 100644 index 0000000000..27430aa812 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id270 - Contract page - Pages - Artifacts Transactions.md @@ -0,0 +1,30 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'Smoke test', 'Transaction', 'Active Partly Manual'] +--- + +# id270 Contract page - Pages - Artifacts (Transactions) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x614cbc518294b54bd41f41b31c4f1ebfdd81cd39 + +## Precondition + + +## Scenario +- Transactions tab contains: + - Status +- Transaction hash +- Method +- Age + - Timestamp can be copied on click +- From + - L1/L2 displayed +- Direction - In/Out (as value) +- To + - L1/L2 displayed +- Value +- Fee +- Check that address has 4 digits after ... +- Pagination element displayed for 'Latest transactions' (in case there are 10+ txs for this contract) +- Open any page +- Verify 10 other transactions loaded (if so many exist) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id271 - Contract page - Pages - Artifacts Contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id271 - Contract page - Pages - Artifacts Contract.md new file mode 100644 index 0000000000..7168807bc1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id271 - Contract page - Pages - Artifacts Contract.md @@ -0,0 +1,22 @@ +--- +tags: ['Artifacts', 'automated', 'Contract', 'Full test', 'Automated'] +--- + +# id271 Contract page - Pages - Artifacts (Contract) + +## Description + - https://staging-scan-v2.zksync.dev/address/0xe9f4149276e8a4f8db89e0e3bb78fd853f01e87d + +## Precondition + + +## Scenario +- Contract tab contains: + - Brief text notification + - Are you owner of this smart-contract? +- Verify and Publish your contract source code today! +- This contract was created by the contract code at (CONTRACT_HASH) + - Button + - Verify Smart Contract +- Drop Down menu + - DEPLOYED BYTECODE HASH diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id272 - Contract page - Pages - Contract tab hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id272 - Contract page - Pages - Contract tab hashes copying.md new file mode 100644 index 0000000000..ed0649654a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id272 - Contract page - Pages - Contract tab hashes copying.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Contract', 'Copying', 'Full test', 'Automated'] +--- + +# id272 Contract page - Pages - Contract tab (hashes copying) + +## Description + + +## Precondition + + +## Scenario +- Hashes can be copied: + - DEPLOYED BYTECODE HASH diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id340 - Contract page - Pages - Tokens URL.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id340 - Contract page - Pages - Tokens URL.md new file mode 100644 index 0000000000..15bcebd331 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id340 - Contract page - Pages - Tokens URL.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Pages', 'Smoke test', 'ZKF-2246', 'Automated'] +--- + +# id340 Contract page - Pages - Token's URL + +## Description + - https://staging-portal.zksync.dev/ + +## Precondition + + +## Scenario +- Open transactions's link from "Latest Transactions" section +- Click on the token ticker's link +- Verify opened page has \/address/\ structure diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id369 - Contract page - Pages - Redirection Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id369 - Contract page - Pages - Redirection Transactions.md new file mode 100644 index 0000000000..5a0f7fd1c5 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id369 - Contract page - Pages - Redirection Transactions.md @@ -0,0 +1,17 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Contract', 'Full test', 'Navigation', 'Smoke test', 'Automated'] +--- + +# id369 Contract page - Pages - Redirection (Transactions) + +## Description + - I am on Contract page, eg /address/0x92131f10c54f9b251a5deaf3c05815f7659bbe02 + - , contracts/0xe252ad90e4e19a6fb27e7443ffedd18fc6f9ba5c + +## Precondition + + +## Scenario +- Item \{\} navigates to \{\}: + - L1 From -\> to goerli.etherscan.io page (*if any) + - https://goerli.etherscan.io/address/0x388ea662ef2c223ec0b047d41bf3c0f362142ad5 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id383 - Contract page - Pages - Verify IN label.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id383 - Contract page - Pages - Verify IN label.md new file mode 100644 index 0000000000..2754536ee3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id383 - Contract page - Pages - Verify IN label.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144', 'Active'] +--- + +# id383 Contract page - Pages - Verify "IN" label + +## Description + - I am on Contract page, eg /address/0x92131f10c54f9b251a5deaf3c05815f7659bbe02 + - Preconditions: Make transaction from L1/L2 address to another L2 address + +## Precondition + + +## Scenario +- Open Contract page ("Transaction" tab) for the token you transferred +- Find the transaction you made previously +- Verify "IN" label displayed for the transaction diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id384 - Contract page - Pages - Verify SELF label.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id384 - Contract page - Pages - Verify SELF label.md new file mode 100644 index 0000000000..5f4eb1b229 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id384 - Contract page - Pages - Verify SELF label.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144', 'Active'] +--- + +# id384 Contract page - Pages - Verify "SELF" label + +## Description + - I am on Contract page, eg /address/0x92131f10c54f9b251a5deaf3c05815f7659bbe02 + - Preconditions: Make transaction from L2 to the same own L2 address + +## Precondition + + +## Scenario +- Open Contract page ("Transaction" tab) for the token you transferred +- Find the transaction you made previously +- Verify "SELF" label displayed for the transaction diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id427 - Contract page - Pages - Verify list of methods on the Contracts tab for contract with events.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id427 - Contract page - Pages - Verify list of methods on the Contracts tab for contract with events.md new file mode 100644 index 0000000000..1a18045c4f --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id427 - Contract page - Pages - Verify list of methods on the Contracts tab for contract with events.md @@ -0,0 +1,23 @@ +--- +tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active'] +--- + +# id427 Contract page - Pages - Verify list of methods on the "Contracts" tab for contract with events + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0xaed6e18d8fe6397fc622a17402e8eb350d6d6c45 contract + - 1. upload your own contract with methods + - 2. verify this contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify correct Read and Write methods for interacting with this smart contract displayed (below are the methods for test contract from description) + - Read + - greet +- Write + - setGreeting diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id428 - Contract page - Pages - Verify method components on the Contracts tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id428 - Contract page - Pages - Verify method components on the Contracts tab.md new file mode 100644 index 0000000000..0049b73280 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id428 - Contract page - Pages - Verify method components on the Contracts tab.md @@ -0,0 +1,21 @@ +--- +tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active'] +--- + +# id428 Contract page - Pages - Verify method components on the "Contracts" tab + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - 1. upload your own contract with methods + - 2. verify this contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- 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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id429 - Contract page - Pages - Verify the content of method components on the Contracts tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id429 - Contract page - Pages - Verify the content of method components on the Contracts tab.md new file mode 100644 index 0000000000..f0784bad33 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id429 - Contract page - Pages - Verify the content of method components on the Contracts tab.md @@ -0,0 +1,23 @@ +--- +tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'Active'] +--- + +# id429 Contract page - Pages - Verify the content of method components on the "Contracts" tab + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with methods + - 2. verify this contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Open any method component +- Verify method contains: + - Description of the parameter +- Type of this parameter +- Input for this parameter (optional) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id430 - Contract page - Pages - Artifacts Contracts tab for verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id430 - Contract page - Pages - Artifacts Contracts tab for verified contract.md new file mode 100644 index 0000000000..ac5a35b447 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id430 - Contract page - Pages - Artifacts Contracts tab for verified contract.md @@ -0,0 +1,32 @@ +--- +tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2090', 'ZKF-2134', 'ZKF-3180', 'ZKF-3181', 'Active'] +--- + +# id430 Contract page - Pages - Artifacts ("Contracts" tab for verified contract) + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0xaed6e18d8fe6397fc622a17402e8eb350d6d6c45 contract + - 1. upload your own contract with methods + - 2. verify this contract + +## Precondition + + +## Scenario +- Contract tab for verified contract contains: + - Contract Name + - Name of the contract displayed under the "Contract Name" title +- Compiler version + - Version of compiler displayed under the "Compiler version" title +- Zksolc version + - Version of zksolc displayed under the "Zksolc version" title +- Optimization + - Optimization parameter (yes/no) displayed under the "Optimization" title +- Contract Source Code + - Text: "Single file contract" +- "Copy" button +- "Expand" button +- Block with contract's code +- Drop Down menu + - DEPLOYED BYTECODE HASH diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id432 - Contract page - Pages - Verify list of methods on the Contracts tab for tokens contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id432 - Contract page - Pages - Verify list of methods on the Contracts tab for tokens contract.md new file mode 100644 index 0000000000..248a3223ef --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id432 - Contract page - Pages - Verify list of methods on the Contracts tab for tokens contract.md @@ -0,0 +1,21 @@ +--- +tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2134', 'ZKF-2704', 'Active'] +--- + +# id432 Contract page - Pages - Verify list of methods on the "Contracts" tab for token's contract + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - 1. upload your own contract for token with methods + - 2. verify this contract + - https://goerli.staging-scan-v2.zksync.dev/address/0x4A80888F58D004c5ef2013d2Cf974f00f42DD934#contract - page for verified contract, method name has abbereviation + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify correct Read and Write methods for interacting with this smart contract displayed +- Verify exact method name displayed for method name with abbereviation (with no extra spaces) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id571 - Contract page - Pages - Connect MetaMask.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id571 - Contract page - Pages - Connect MetaMask.md new file mode 100644 index 0000000000..0897215ee1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id571 - Contract page - Pages - Connect MetaMask.md @@ -0,0 +1,25 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'Smoke test', 'ZKF-2090', 'Active'] +--- + +# id571 Contract page - Pages - Connect MetaMask + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - upload your own contract for token with methods + - verify this contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Go to "Write" tab +- Verify "Connect MetaMask" button available +- Click "Connect MetaMask" button +- 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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id572 - Contract page - Pages - Verify Read methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id572 - Contract page - Pages - Verify Read methods.md new file mode 100644 index 0000000000..b9345dff94 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id572 - Contract page - Pages - Verify Read methods.md @@ -0,0 +1,24 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2090', 'Active'] +--- + +# id572 Contract page - Pages - Verify Read methods + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - upload your own contract for token with methods + - verify this contract + - Contract for data types check: https://goerli.explorer.zksync.io/address/0x17F9DE77Bd0737Eeb47cD01f30424f5D08A21b25#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify can interact with Read Methods without connecting a wallet +- Verify all the data types work correctly + - uint256 +- string +- bool diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id573 - Contract page - Pages - Verify Write methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id573 - Contract page - Pages - Verify Write methods.md new file mode 100644 index 0000000000..b5c35bb06d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id573 - Contract page - Pages - Verify Write methods.md @@ -0,0 +1,27 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2090', 'Active'] +--- + +# id573 Contract page - Pages - Verify Write methods + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - upload your own contract for token with methods + - verify this contract + - Contract for data types check: https://goerli.explorer.zksync.io/address/0x17F9DE77Bd0737Eeb47cD01f30424f5D08A21b25#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify user can't interact with Write Methods when MetaMask wallet is not connected - Write Methods should be inactive +- 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 +- Verify all the data types work correctly as inputs + - uint256 +- string +- bool diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id574 - Contract page - Pages - Verify adding inputs for methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id574 - Contract page - Pages - Verify adding inputs for methods.md new file mode 100644 index 0000000000..32cc2ae60d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id574 - Contract page - Pages - Verify adding inputs for methods.md @@ -0,0 +1,17 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id574 Contract page - Pages - Verify adding inputs for methods + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Click "+" button for the method which can accept several values +- Verify one more input for this parameter added diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id575 - Contract page - Pages - Artifacts Empty state of Events tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id575 - Contract page - Pages - Artifacts Empty state of Events tab.md new file mode 100644 index 0000000000..ecfb3bdaf1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id575 - Contract page - Pages - Artifacts Empty state of Events tab.md @@ -0,0 +1,17 @@ +--- +tags: ['Artifacts', 'Contract', 'Empty state', 'Events', 'Full test', 'manual', 'Pages', 'regression', 'ZKF-2363', 'Active'] +--- + +# id575 Contract page - Pages - Artifacts (Empty state of Events tab) + +## Description + - Open any contract with no events + +## Precondition + + +## Scenario +- Events tab of Contract page in empty state (no events) contains: + - Text + - Smart Contract doesn't have any events at this moment +- Search icon diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id576 - Contract page - Pages - Artifacts Events tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id576 - Contract page - Pages - Artifacts Events tab.md new file mode 100644 index 0000000000..c31ecfc931 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id576 - Contract page - Pages - Artifacts Events tab.md @@ -0,0 +1,29 @@ +--- +tags: ['Artifacts', 'Contract', 'Events', 'Full test', 'manual', 'Pages', 'regression', 'ZKF-2363', 'Active'] +--- + +# id576 Contract page - Pages - Artifacts (Events tab) + +## Description + - Open Contract page of a contract that has tx with events + - E.g. https://goerli.staging-scan-v2.zksync.dev/address/0x0000000000000000000000000000000000008006 (Events tab) + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Events tab of Contract page contain: + - Txn Hash + - Hash of tx with the event +- Block in which this event have been emitted +- Method + - Method name displayed in human readable format if the SC is verified +- Logs + - Address +- Topics +- Data +- Verify 25 items per one page displayed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id577 - Contract page - Pages - Navigation Events tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id577 - Contract page - Pages - Navigation Events tab.md new file mode 100644 index 0000000000..e358866356 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id577 - Contract page - Pages - Navigation Events tab.md @@ -0,0 +1,21 @@ +--- +tags: ['Contract', 'Events', 'Full test', 'manual', 'Navigation', 'Pages', 'regression', 'ZKF-2363', 'Active'] +--- + +# id577 Contract page - Pages - Navigation (Events tab) + +## Description + - Open Contract page of a contract that has tx with events + - E.g. https://goerli.staging-scan-v2.zksync.dev/address/0x0000000000000000000000000000000000008006 (Events tab) + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Txn Hash link navigates to the Transaction page +- Block link navigates to the Block page +- Address link navigates to Contract page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id578 - Contract page - Pages - Verify Method column for non verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id578 - Contract page - Pages - Verify Method column for non verified contract.md new file mode 100644 index 0000000000..a279d4a4a9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id578 - Contract page - Pages - Verify Method column for non verified contract.md @@ -0,0 +1,16 @@ +--- +tags: ['Contract', 'Full test', 'manual', 'Pages', 'Smoke test', 'Transaction', 'ZKF-2371', 'Automated'] +--- + +# id578 Contract page - Pages - Verify "Method" column for non verified contract + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x0000000000000000000000000000000000000000 + +## Precondition + + +## Scenario +- Open page for non verified contract +- Verify "Method" column displayed for non verified contract in "Transactions" tab +- Verify method signature (not method name) displayed in "Method" column for non verified contract (first 10 symbols of calldata/input data of the contract) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id579 - Contract page - Pages - Verify Method column for verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id579 - Contract page - Pages - Verify Method column for verified contract.md new file mode 100644 index 0000000000..ac8d226aa3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id579 - Contract page - Pages - Verify Method column for verified contract.md @@ -0,0 +1,16 @@ +--- +tags: ['Contract', 'Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2371', 'Active'] +--- + +# id579 Contract page - Pages - Verify "Method" column for verified contract + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x614cbc518294b54bd41f41b31c4f1ebfdd81cd39#transactions - page for verified contract with at least 1 tx + +## Precondition + + +## Scenario +- Open page for verified contract +- Verify "Method" column displayed for verified contract in "Transactions" tab +- Verify method name displayed in "Method" column for verified contract diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id580 - Contract page - Pages - Verify Method column for verified tokens contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id580 - Contract page - Pages - Verify Method column for verified tokens contract.md new file mode 100644 index 0000000000..9ddc5d2146 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id580 - Contract page - Pages - Verify Method column for verified tokens contract.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Contract', 'Full test', 'Pages', 'Smoke test', 'Transaction', 'ZKF-2371', 'Automated'] +--- + +# id580 Contract page - Pages - Verify "Method" column for verified token's contract + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x1babcaea2e4be1f1e1a149c454806f2d21d7f47c - page for verified token's contract with at least 1 tx + +## Precondition + + +## Scenario +- Open page for verified token's contract +- Verify "Method" column displayed for verified contract in "Transactions" tab +- Verify method name displayed in "Method" column for verified contract diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id581 - Contract page - Pages - Disconnect MetaMask Logout.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id581 - Contract page - Pages - Disconnect MetaMask Logout.md new file mode 100644 index 0000000000..4b8c7d3031 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id581 - Contract page - Pages - Disconnect MetaMask Logout.md @@ -0,0 +1,26 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'Smoke test', 'ZKF-2090', 'Active'] +--- + +# id581 Contract page - Pages - Disconnect MetaMask (Logout) + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - upload your own contract for token with methods + - verify this contract + - Prerequisites: + - Connect MetaMask wallet on "Contract" tab + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Go to "Write" tab of Contract +- Click 3 dots button next to the wallet address +- "Logout" option available +- Click "Logout" +- Verify Metamask disconnected +- Verify wallet address changed to "Connect MetaMask" button diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id595 - Contract page - Pages - Verify hover state for Age field.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id595 - Contract page - Pages - Verify hover state for Age field.md new file mode 100644 index 0000000000..aadf10040d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id595 - Contract page - Pages - Verify hover state for Age field.md @@ -0,0 +1,16 @@ +--- +tags: ['Contract', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'ZKF-2301', 'Active'] +--- + +# id595 Contract page - Pages - Verify hover state for 'Age' field + +## Description + - https://goerli.explorer.zksync.io/address/0x0000000000000000000000000000000000000000 + +## Precondition + + +## Scenario +- Open contract page +- Homer the cursor over "Age" field of any transaction raw +- Verify tooltip with timestamp shown on hover diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id617 - Contract page - Pages - Verify Contract tab of pure functions with only Read methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id617 - Contract page - Pages - Verify Contract tab of pure functions with only Read methods.md new file mode 100644 index 0000000000..92fcddca15 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id617 - Contract page - Pages - Verify Contract tab of pure functions with only Read methods.md @@ -0,0 +1,18 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2701', 'Active'] +--- + +# id617 Contract page - Pages - Verify "Contract" tab of pure functions with only Read methods + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0xe51268b15fa9c9fc69213f6815210e791472a4fb#contract + - Prerequisites: open page of contract with pure functions or search for 0xe51268b15fa9c9fc69213f6815210e791472a4fb contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify functions are visible under a Read section +- Verify no MetaMask connect button displayed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id618 - Contract page - Pages - Empty state of Contract tab for pure functions.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id618 - Contract page - Pages - Empty state of Contract tab for pure functions.md new file mode 100644 index 0000000000..128410b1ef --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id618 - Contract page - Pages - Empty state of Contract tab for pure functions.md @@ -0,0 +1,20 @@ +--- +tags: ['ABI', 'Contract', 'Empty state', 'Full test', 'Pages', 'regression', 'ZKF-2701', 'Active'] +--- + +# id618 Contract page - Pages - Empty state of "Contract" tab for pure functions + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0xe51268b15fa9c9fc69213f6815210e791472a4fb#contract + - Prerequisites: open page of contract with pure functions (when no functions are available to interaction) or search for 0xe51268b15fa9c9fc69213f6815210e791472a4fb contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify no Write/Read headers displayed +- Verify no MetaMask connect button displayed +- Text shown + - This contract does not have Read/Write functions for interaction diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id619 - Contract page - Pages - Verify Method column for method names with abbreviations.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id619 - Contract page - Pages - Verify Method column for method names with abbreviations.md new file mode 100644 index 0000000000..e388123120 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id619 - Contract page - Pages - Verify Method column for method names with abbreviations.md @@ -0,0 +1,16 @@ +--- +tags: ['Contract', 'Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2704', 'Automated'] +--- + +# id619 Contract page - Pages - Verify "Method" column for method names with abbreviations + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x4A80888F58D004c5ef2013d2Cf974f00f42DD934 - page for verified contract, method name has abbereviation + +## Precondition + + +## Scenario +- Open page for verified contract +- Verify "Method" column displayed for verified contract in "Transactions" tab +- Verify exact method name displayed in method name column (with no extra spaces) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id648 - Contract page - Pages - Verify contract name for verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id648 - Contract page - Pages - Verify contract name for verified contract.md new file mode 100644 index 0000000000..2f7cdebb1c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id648 - Contract page - Pages - Verify contract name for verified contract.md @@ -0,0 +1,16 @@ +--- +tags: ['Contract', 'Full test', 'manual', 'Pages', 'regression', 'ZKF-2478', 'Active'] +--- + +# id648 Contract page - Pages - Verify contract name for verified contract + +## Description + - Open any pege of verified contract (e.g. https://goerli.staging-scan-v2.zksync.dev/address/0xE6c391927f0B42d82229fd3CFe3426F209D16b48) + +## Precondition + + +## Scenario +- Open Contract's page +- Verify contract address not shown in a headline on the top of the page +- Verify the name of the contract added to the headline of the page. diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id649 - Contract page - Pages - Verify contract name for non verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id649 - Contract page - Pages - Verify contract name for non verified contract.md new file mode 100644 index 0000000000..a4333903c3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id649 - Contract page - Pages - Verify contract name for non verified contract.md @@ -0,0 +1,15 @@ +--- +tags: ['Contract', 'Full test', 'manual', 'Pages', 'regression', 'ZKF-2478', 'Active'] +--- + +# id649 Contract page - Pages - Verify contract name for non verified contract + +## Description + - Open any pege of non verified contract (e.g. https://goerli.staging-scan-v2.zksync.dev/address/0x0000000000000000000000000000000000000000) + +## Precondition + + +## Scenario +- Open Contract's page +- Verify contract address shown in a headline on the top of the page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id658 - Contract page - Pages - Verify removing inputs for methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id658 - Contract page - Pages - Verify removing inputs for methods.md new file mode 100644 index 0000000000..8e96e3c3b8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id658 - Contract page - Pages - Verify removing inputs for methods.md @@ -0,0 +1,20 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id658 Contract page - Pages - Verify removing inputs for methods + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify Icon "+" is available for parameter if this parameter could accept several values. +- Click "+" button +- One more input for this parameter is added +- Click "Remove" button +- Verify the input for parameter is removed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id659 - Contract page - Pages - Verify error message when submitting incorrect input.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id659 - Contract page - Pages - Verify error message when submitting incorrect input.md new file mode 100644 index 0000000000..5bbe992e73 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id659 - Contract page - Pages - Verify error message when submitting incorrect input.md @@ -0,0 +1,21 @@ +--- +tags: ['ABI', 'Contract', 'Error', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id659 Contract page - Pages - Verify error message when submitting incorrect input + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify Icon "+" is available for parameter if this parameter could accept several values. +- Click "+" button +- One more input for this parameter is added +- Enter incorrect input (e.g. text string in uint256 field) +- Click "Write" button +- Verify error message displayed for the field with incorrect input diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id660 - Contract page - Pages - Verify button for adding inputs for methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id660 - Contract page - Pages - Verify button for adding inputs for methods.md new file mode 100644 index 0000000000..ddde7f9566 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id660 - Contract page - Pages - Verify button for adding inputs for methods.md @@ -0,0 +1,17 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id660 Contract page - Pages - Verify "+" button for adding inputs for methods + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Verify "+" button shown only for writing methods which can receive an array as an input - value type has [] (e.g. uint 256[]) +- Verify button "+" isn't available for parameter if this parameter could accept single value (e.g. uint256). diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id661 - Contract page - Pages - Verify dynamic arrays as an input.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id661 - Contract page - Pages - Verify dynamic arrays as an input.md new file mode 100644 index 0000000000..c6cf5ed1ac --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id661 - Contract page - Pages - Verify dynamic arrays as an input.md @@ -0,0 +1,20 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id661 Contract page - Pages - Verify dynamic arrays as an input + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Click "setDynamicArray" dropdown (method with dynamic array) +- Verify only one input is displayed by default +- Click "+" button to add one more input +- Verify only last input can be empty (newly added inputs are highlighted and value is required) +- Verify more inputs can be added or removed (using "+" and "Remove" buttons) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id662 - Contract page - Pages - Verify fixed-size arrays as an input.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id662 - Contract page - Pages - Verify fixed-size arrays as an input.md new file mode 100644 index 0000000000..6b4ba2f0c8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id662 - Contract page - Pages - Verify fixed-size arrays as an input.md @@ -0,0 +1,19 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id662 Contract page - Pages - Verify fixed-size arrays as an input + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Click "setFixedArray" dropdown (method with fixed array) +- Verify none of the inputs can be empty +- Verify amount of inputs is equal to predefined array size (3) +- Verify inputs can't be added or removed - buttons "+" and "remove" not shown diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id663 - Contract page - Pages - Verify fixed header for write methods.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id663 - Contract page - Pages - Verify fixed header for write methods.md new file mode 100644 index 0000000000..d5044853fc --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id663 - Contract page - Pages - Verify fixed header for write methods.md @@ -0,0 +1,20 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2699', 'Active'] +--- + +# id663 Contract page - Pages - Verify fixed header for "write" methods + +## Description + - https://https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Click "setDynamicArray" dropdown +- Click "+" button to add more inputs +- Add 15 new inputs +- Scroll the page +- Verify "setDynamicArray" dropdown header is sticked on the top of the page while scrolling diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id673 - Contract page - Pages - Connect MetaMask with incorrect network.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id673 - Contract page - Pages - Connect MetaMask with incorrect network.md new file mode 100644 index 0000000000..9415859353 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id673 - Contract page - Pages - Connect MetaMask with incorrect network.md @@ -0,0 +1,26 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'MetaMask', 'Pages', 'regression', 'ZKF-2661', 'Active'] +--- + +# id673 Contract page - Pages - Connect MetaMask with incorrect network + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - * Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0x772ab24587013a106e08f3868ef18361c8f3a4da contract + - * upload your own contract for token with methods + - verify this contract + - * you need to have MetaMask with Mainnet network only + +## Precondition + + +## Scenario +- Open Contract's page +- Click on the "Contract" tab +- Click "Connect MetaMask" button +- MetaMask message for adding a network shown +- MetaMask message for switching a network shown +- Verify MetaMask wallet switched to correct testnet network from Mainnet +- Verify appropriate testnet network added in MetaMask (open MetaMask network list to check) +- Verify wallet is connected +- "Connect Metamask" label changed to the wallet address diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id674 - Contract page - Pages - Verify amount input for a payable function.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id674 - Contract page - Pages - Verify amount input for a payable function.md new file mode 100644 index 0000000000..5a99ee884c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id674 - Contract page - Pages - Verify amount input for a payable function.md @@ -0,0 +1,17 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2700', 'Active'] +--- + +# id674 Contract page - Pages - Verify amount input for a payable function + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + - Example of contract is added to the attachments section. + +## Precondition + + +## Scenario +- Open Contract's page +- Click on "Contract" tab +- Verify that input for payable function is present diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id675 - Contract page - Pages - Verify amount input validation for a payable function.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id675 - Contract page - Pages - Verify amount input validation for a payable function.md new file mode 100644 index 0000000000..c47e78a723 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id675 - Contract page - Pages - Verify amount input validation for a payable function.md @@ -0,0 +1,22 @@ +--- +tags: ['ABI', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2700', 'Active'] +--- + +# id675 Contract page - Pages - Verify amount input validation for a payable function + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0xAED6e18d8fe6397fc622A17402e8EB350d6D6c45#contract + - Example of contract is added to the attachments section. + +## Precondition + + +## Scenario +- Open Contract's page +- Click on "Contract" tab + - Make input to Charge function active +- Input data: + - letters - error message should be displayed +- numbers \<0 - error message should be displayed +- -*/- symbols - error message should be displayed +- positive number (e.g. 50) - no error message should be displayed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id706 - Contract page - Pages - Artifacts Write tab for verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id706 - Contract page - Pages - Artifacts Write tab for verified contract.md new file mode 100644 index 0000000000..e25e560597 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id706 - Contract page - Pages - Artifacts Write tab for verified contract.md @@ -0,0 +1,22 @@ +--- +tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-3181', 'Active'] +--- + +# id706 Contract page - Pages - Artifacts ("Write" tab for verified contract) + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address (e.g. 0x1bAbcaeA2e4BE1f1e1A149c454806F2D21d7f47C) + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0xaed6e18d8fe6397fc622a17402e8eb350d6d6c45 contract + - 1. upload your own contract with methods + - 2. verify this contract + +## Precondition + + +## Scenario +- Write tab for verified contract contains: + - "Write" method components list + - Label - Description of the parameter +- Label - Type of this parameter +- Optional - Input for this parameter +- "Write" button (if MetaMask is connected) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id707 - Contract page - Pages - Artifacts Read tab for verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id707 - Contract page - Pages - Artifacts Read tab for verified contract.md new file mode 100644 index 0000000000..4a9e2b78d1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id707 - Contract page - Pages - Artifacts Read tab for verified contract.md @@ -0,0 +1,22 @@ +--- +tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-3181', 'Active'] +--- + +# id707 Contract page - Pages - Artifacts ("Read" tab for verified contract) + +## Description + - https://staging-scan-v2.zksync.dev/address/contract_address + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) or search for 0xaed6e18d8fe6397fc622a17402e8eb350d6d6c45 contract + - 1. upload your own contract with methods + - 2. verify this contract + +## Precondition + + +## Scenario +- Contract tab for verified contract contains: + - "Read" method components list + - Label - Description of the parameter +- Label - Type of this parameter +- Input for this parameter (if available) +- "Query" button diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id708 - Contract page - Pages - Artifacts Contracts tab for verified multi-file contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id708 - Contract page - Pages - Artifacts Contracts tab for verified multi-file contract.md new file mode 100644 index 0000000000..ef3133d2d7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id708 - Contract page - Pages - Artifacts Contracts tab for verified multi-file contract.md @@ -0,0 +1,29 @@ +--- +tags: ['Artifacts', 'Contract', 'Full test', 'Pages', 'regression', 'ZKF-2842', 'Active'] +--- + +# id708 Contract page - Pages - Artifacts ("Contracts" tab for verified multi-file contract) + +## Description + - https://staging-scan-v2--pr292-dr-zkf-2842-support-hzmgsgbc.web.app/address/0x894DFD731681a8615614533637938a4e337d1F8f#contract + +## Precondition + + +## Scenario +- Contract tab for verified multi-file contract contains: + - Contract Name + - Name of the contract displayed under the "Contract Name" title +- Compiler version + - Version of compiler displayed under the "Compiler version" title +- Zksolc version + - Version of zksolc displayed under the "Zksolc version" title +- Optimization + - Optimization parameter (yes/no) displayed under the "Optimization" title +- Contract Source Code + - Text displayed for each source code file + - File \ of \ +- File name +- Block with contract's code (displayed for each source code file) +- "Copy" button +- "Expand" button diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id709 - Contract page - Pages - Contract tab Source Code copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id709 - Contract page - Pages - Contract tab Source Code copying.md new file mode 100644 index 0000000000..e6da837ba1 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id709 - Contract page - Pages - Contract tab Source Code copying.md @@ -0,0 +1,15 @@ +--- +tags: ['Contract', 'Copying', 'Full test', 'Pages', 'regression', 'ZKF-2842', 'Active'] +--- + +# id709 Contract page - Pages - Contract tab (Source Code copying) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x1bAbcaeA2e4BE1f1e1A149c454806F2D21d7f47C#contract + +## Precondition + + +## Scenario +- Click "Copy" button of Source Code block +- Contract Source Code can be copied diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id710 - Contract page - Pages - Verify source code expanding Contract tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id710 - Contract page - Pages - Verify source code expanding Contract tab.md new file mode 100644 index 0000000000..dff3378f28 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id710 - Contract page - Pages - Verify source code expanding Contract tab.md @@ -0,0 +1,16 @@ +--- +tags: ['Contract', 'Full test', 'Pages', 'regression', 'ZKF-2842', 'Active'] +--- + +# id710 Contract page - Pages - Verify source code expanding (Contract tab) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/address/0x1bAbcaeA2e4BE1f1e1A149c454806F2D21d7f47C#contract + +## Precondition + + +## Scenario +- Click "Expand" button of Source Code block +- Contract Source Code block expanded +- "Expand" button changed to "Compress" diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id927 - Contract page - Pages - Artifacts Transactions - Transfers tab.md b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id927 - Contract page - Pages - Artifacts Transactions - Transfers tab.md new file mode 100644 index 0000000000..2ad9a74c6b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Contract page /id927 - Contract page - Pages - Artifacts Transactions - Transfers tab.md @@ -0,0 +1,25 @@ +--- +tags: ['Artifacts', 'Contract', 'Full test', 'Smoke test', 'Transaction', 'Active'] +--- + +# id927 Contract 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) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id101 - Dashboard - Pages - Artifacts Latest Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id101 - Dashboard - Pages - Artifacts Latest Transactions.md new file mode 100644 index 0000000000..47e7cfe5dd --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id101 - Dashboard - Pages - Artifacts Latest Transactions.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'main page', 'Smoke test', 'UEXP-4342', 'ZKF-2447', 'Active Partly Manual'] +--- + +# id101 Dashboard - Pages - Artifacts (Latest Transactions) + +## Description + - New satus design component: + - https://linear.app/matterlabs/issue/UEXP-4342/be-fe-improve-tx-statuses-on-tx-list-page + +## Precondition + + +## Scenario +- Latest transactions table has 10 lines +- Latest transactions table contains: + - Status +- Transaction hash +- Age diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id234 - Dashboard - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id234 - Dashboard - Pages - Navigation.md new file mode 100644 index 0000000000..000fbd5304 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id234 - Dashboard - Pages - Navigation.md @@ -0,0 +1,27 @@ +--- +tags: ['automated', 'Full test', 'main page', 'Navigation', 'Smoke test', 'ZKF-2447', 'Automated'] +--- + +# id234 Dashboard - Pages - Navigation + +## Description + - Block page example: https://staging-scan-v2.zksync.dev/block/78283 + - Transaction page example: https://staging-scan-v2.zksync.dev/tx/0x2bd6f6367091248fbfb5ed8de986340a56f00c04cd7a45a503a803d6228fa208 + - - I am on the main page + +## Precondition + + +## Scenario +- "Batch" navigates to the batch page + - https://goerli.staging-scan-v2.zksync.dev/batch/(batchnumber) +- "Size" link navigates to the batch page (Batch Transactions section) + - https://goerli.staging-scan-v2.zksync.dev/batch/(batchnumber) +- Transactions hash navigates to transaction page + - https://staging-scan-v2.zksync.dev/tx/0x2cc829a9697f2fce664d4f25ce78f2bfce41c8e1a167a85b45953385ddb2ee86 +- "Committed Blocks" navigates to Blocks page + - https://staging-scan-v2.zksync.dev/blocks/ +- "Verified Blocks" navigates to Blocks page + - https://staging-scan-v2.zksync.dev/blocks/ +- "Transactions" navigates to Transactions page + - https://staging-scan-v2.zksync.dev/transactions/ diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id273 - Dashboard - Pages - Artifacts Network stats Testnet.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id273 - Dashboard - Pages - Artifacts Network stats Testnet.md new file mode 100644 index 0000000000..9248c546a4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id273 - Dashboard - Pages - Artifacts Network stats Testnet.md @@ -0,0 +1,22 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'main page', 'Smoke test', 'ZKF-2447', 'Active Partly Manual'] +--- + +# id273 Dashboard - Pages - Artifacts (Network stats) [Testnet] + +## Description + - url: https://goerli.explorer.zksync.io/ + +## Precondition + + +## Scenario +- Network stats contains: + - Heading - "Network Stats" +- Text - "Stats are occasionally reset on testnet." +- Committed Blocks + - Number of blocks displayed under the title +- Verified Blocks + - Number of blocks displayed under the title +- Transactions + - Number of txs displayed under the title diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id274 - Dashboard - Pages - Artifacts Latest Batches.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id274 - Dashboard - Pages - Artifacts Latest Batches.md new file mode 100644 index 0000000000..8aa1b43a31 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id274 - Dashboard - Pages - Artifacts Latest Batches.md @@ -0,0 +1,23 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'main page', 'Smoke test', 'UEXP-4354', 'ZKF-2447', 'Automated'] +--- + +# id274 Dashboard - Pages - Artifacts (Latest Batches) + +## Description + - New status design + - https://linear.app/matterlabs/issue/UEXP-4354/be-fe-redesign-batch-statuses-on-batches-list-page + +## Precondition + + +## Scenario +- Latest Batches table has 10 lines +- Latest Batches has tooltip icon + - Text reveal on hover + - Latest batches submitted to Ethereum Network +- Latest Batches table contains: + - Status +- Batch +- Size +- Age diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id584 - Dashboard - Pages - Verify empty state enabling Latest Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id584 - Dashboard - Pages - Verify empty state enabling Latest Transactions.md new file mode 100644 index 0000000000..d2374e5aa6 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id584 - Dashboard - Pages - Verify empty state enabling Latest Transactions.md @@ -0,0 +1,19 @@ +--- +tags: ['Empty state', 'Full test', 'main page', 'Pages', 'regression', 'ZKF-2497', 'Active'] +--- + +# id584 Dashboard - Pages - Verify empty state enabling (Latest Transactions) + +## Description + - Preconditions: + - 1) Install Fiddler or au other traffic sniffer tool + - 2) Open BE homepage https://goerli.staging-scan-v2.zksync.dev/ + - 3) Find a quest with URL: https://zksync2-mainnet-explorer.zksync.io/transactions?limit=10&direction=older + +## Precondition + + +## Scenario +- Simulate empty transactions request response + - Modify response file - set '\{"list":[],"total":0\}' as response +- Verify empty state shown for Latest Transactions diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id608 - Dashboard - Pages - Verify hover state for Age field.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id608 - Dashboard - Pages - Verify hover state for Age field.md new file mode 100644 index 0000000000..a1b293ffcc --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id608 - Dashboard - Pages - Verify hover state for Age field.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'Hover state', 'main page', 'manual', 'regression', 'ZKF-2694', 'Active'] +--- + +# id608 Dashboard - Pages - Verify hover state for 'Age' field + +## Description + - https://goerli.explorer.zksync.io/ + +## Precondition + + +## Scenario +- Open BE Home page +- Hover the cursor over "Age" field of any Batches raw +- Hover the cursor over "Age" field of any Latest Transactions raw +- Verify tooltip with timestamp shown on hover diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id676 - Dashboard - Pages - Artifacts Network stats Mainnet.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id676 - Dashboard - Pages - Artifacts Network stats Mainnet.md new file mode 100644 index 0000000000..3366c849e0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id676 - Dashboard - Pages - Artifacts Network stats Mainnet.md @@ -0,0 +1,22 @@ +--- +tags: ['Artifacts', 'Full test', 'Mainnet', 'main page', 'Smoke test', 'ZKF-2656', 'Active'] +--- + +# id676 Dashboard - Pages - Artifacts (Network stats) [Mainnet] + +## Description + - url: https://explorer.zksync.io/ + +## Precondition + + +## Scenario +- Network stats contains: + - Heading - "Network Stats" +- Text - "zkSync Era Mainnet is open to everyone." +- Committed Blocks + - Number of blocks displayed under the title +- Verified Blocks + - Number of blocks displayed under the title +- Transactions + - Number of txs displayed under the title diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id792 - Dashboard - Pages - Timestamp copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id792 - Dashboard - Pages - Timestamp copying.md new file mode 100644 index 0000000000..5c4379a3a5 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id792 - Dashboard - Pages - Timestamp copying.md @@ -0,0 +1,17 @@ +--- +tags: ['Copying', 'Full test', 'main page', 'manual', 'Smoke test', 'Active'] +--- + +# id792 Dashboard - Pages - Timestamp copying + +## Description + - url: https://goerli.staging-scan-v2.zksync.dev/ + +## Precondition + + +## Scenario +- Click on "Age" field of 'Latest Batches' table item + - Timestamp copied on click +- Click on "Age" field of Latest transactions table item + - Timestamp copied on click diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id924 - Dashboard - Pages - Verify Error messages for empty state Blocks.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id924 - Dashboard - Pages - Verify Error messages for empty state Blocks.md new file mode 100644 index 0000000000..4ec6dfda07 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id924 - Dashboard - Pages - Verify Error messages for empty state Blocks.md @@ -0,0 +1,18 @@ +--- +tags: ['Artifacts', 'Block', 'Error', 'Full test', 'main page', 'Pages', 'regression', 'Active'] +--- + +# id924 Dashboard - Pages - Verify Error messages for empty state (Blocks) + +## Description + - I am on https://staging-scan-v2.zksync.dev/block/block_number page + +## Precondition + + +## Scenario +- Open Dev Tools +- Emulate an error when receiving the Block request + - (e.g. block the block request in Dev Tools when loading "Block" page) + - Verify error message is present: + - "Block information is unavailable. Please reload the page. diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id925 - Dashboard - Pages - Verify Error page messages for empty state Latest Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id925 - Dashboard - Pages - Verify Error page messages for empty state Latest Transactions.md new file mode 100644 index 0000000000..ee593113b8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Dashboard /id925 - Dashboard - Pages - Verify Error page messages for empty state Latest Transactions.md @@ -0,0 +1,18 @@ +--- +tags: ['Artifacts', 'Error', 'Full test', 'main page', 'Pages', 'regression', 'Transaction', 'Active'] +--- + +# id925 Dashboard - Pages - Verify Error page messages for empty state (Latest Transactions) + +## Description + - I am on https://staging-scan-v2.zksync.dev/block/block_number page + +## Precondition + + +## Scenario +- Open Dev Tools +- Emulate an error when receiving the Block request + - (e.g. block the block request in Dev Tools when loading "Block" page) + - Verify error message is present: + - "Transactions information is unavailable. Please reload the page. diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Error page /id372 - Error page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id372 - Error page - Pages - Artifacts.md new file mode 100644 index 0000000000..97da4207d4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id372 - Error page - Pages - Artifacts.md @@ -0,0 +1,18 @@ +--- +tags: ['Artifacts', 'Error', 'Full test', 'Pages', 'regression', 'ZKF-2235', 'Active'] +--- + +# id372 Error page - Pages - Artifacts + +## Description + + +## Precondition + + +## Scenario +- Maintenance page contains: + - Error icon +- Headline: Something went wrong +- Text: Unknown request, please try again, or go to the homepage. +- CTA: Homepage diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Error page /id373 - Error page - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id373 - Error page - Pages - Navigation.md new file mode 100644 index 0000000000..73de56cd9c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id373 - Error page - Pages - Navigation.md @@ -0,0 +1,15 @@ +--- +tags: ['Error', 'Full test', 'Navigation', 'Pages', 'regression', 'ZKF-2235', 'Active'] +--- + +# id373 Error page - Pages - Navigation + +## Description + + +## Precondition + + +## Scenario +- CTA: Homepage - link navigates to the Home page + - https://goerli.explorer.zksync.io/ diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Error page /id374 - Error page - Pages - Verify Error page enabling for Block page.md b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id374 - Error page - Pages - Verify Error page enabling for Block page.md new file mode 100644 index 0000000000..a80773b3ec --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id374 - Error page - Pages - Verify Error page enabling for Block page.md @@ -0,0 +1,17 @@ +--- +tags: ['Error', 'Full test', 'Pages', 'regression', 'ZKF-2235', 'Active'] +--- + +# id374 Error page - Pages - Verify Error page enabling for Block page + +## Description + - I am on https://staging-scan-v2.zksync.dev/block/block_number page + +## Precondition + + +## Scenario +- Open Dev Tools +- Emulate an error when receiving the Block request + - (e.g. block the block request in Dev Tools when loading "Block" page) + - Verify "Something went wrong" error shown on Block's page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Error page /id375 - Error page - Pages - Verify Error page enabling for Transaction page.md b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id375 - Error page - Pages - Verify Error page enabling for Transaction page.md new file mode 100644 index 0000000000..79df8e229c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id375 - Error page - Pages - Verify Error page enabling for Transaction page.md @@ -0,0 +1,17 @@ +--- +tags: ['Error', 'Full test', 'Pages', 'Smoke test', 'ZKF-2235', 'Active'] +--- + +# id375 Error page - Pages - Verify Error page enabling for Transaction page + +## Description + - I am on https://staging-scan-v2.zksync.dev/tx/transaction_hash page + +## Precondition + + +## Scenario +- Open Dev Tools +- Emulate an error when receiving the Tx request + - (e.g. block tx request in Dev Tools when loading "Transaction" page) + - Verify "Something went wrong" error shown on Transaction page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Error page /id376 - Error page - Pages - Verify Error page enabling for Address page.md b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id376 - Error page - Pages - Verify Error page enabling for Address page.md new file mode 100644 index 0000000000..ebf0622c78 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Error page /id376 - Error page - Pages - Verify Error page enabling for Address page.md @@ -0,0 +1,17 @@ +--- +tags: ['Error', 'Full test', 'Pages', 'regression', 'ZKF-2235', 'Active'] +--- + +# id376 Error page - Pages - Verify Error page enabling for Address page + +## Description + - I am on https://staging-scan-v2.zksync.dev/address/address_hash page + +## Precondition + + +## Scenario +- Open Dev Tools +- Emulate an error when receiving the address request + - (e.g. block address request in Dev Tools when loading "Address" page) + - Verify "Something went wrong" error shown on Address page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id364 - Maintenance page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id364 - Maintenance page - Pages - Artifacts.md new file mode 100644 index 0000000000..aefb75251b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id364 - Maintenance page - Pages - Artifacts.md @@ -0,0 +1,20 @@ +--- +tags: ['Artifacts', 'Full test', 'Maintenance', 'Pages', 'regression', 'ZKF-1970', 'Active'] +--- + +# id364 Maintenance page - Pages - Artifacts + +## Description + + +## Precondition + + +## Scenario +- Maintenance page contains: + - Endless loader +- Secondary CTA: UpTime +- Headline: zkSync [Network] is on Maintainance +- Text: zkSync [Network] is unavailable due to maintainance, you can find updates in out zkSync Developers or on UpTime +- UpTime link +- CTA: zkSync Developers diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id365 - Maintenance page - Pages - Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id365 - Maintenance page - Pages - Redirection.md new file mode 100644 index 0000000000..e0b5f478ea --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id365 - Maintenance page - Pages - Redirection.md @@ -0,0 +1,21 @@ +--- +tags: ['Full test', 'Maintenance', 'Pages', 'Redirection', 'regression', 'ZKF-1970', 'Active'] +--- + +# id365 Maintenance page - Pages - Redirection + +## Description + + +## Precondition + + +## Scenario +- CTA: zkSync Developers - link redirects to twitter page + - https://twitter.com/zkSyncDevs +- Secondary CTA: UpTime - link redirects to uptime page + - https://uptime.com/s/zkSync-testnet +- Status zkSync Developers - link redirects to twitter page + - https://twitter.com/zkSyncDevs +- UpTime - link redirects to uptime page + - https://uptime.com/s/zkSync-testnet diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id366 - Maintenance page - Pages - Verify Maintenance enabling.md b/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id366 - Maintenance page - Pages - Verify Maintenance enabling.md new file mode 100644 index 0000000000..92adf7d798 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Maintenance page /id366 - Maintenance page - Pages - Verify Maintenance enabling.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'Maintenance', 'Pages', 'regression', 'ZKF-1970', 'Active'] +--- + +# id366 Maintenance page - Pages - Verify Maintenance enabling + +## Description + + +## Precondition + + +## Scenario +- Open Firebase console https://console.firebase.google.com/project/staging-scan-v2/firestore/data/~2Fconfig~2Fv1 +- Set "Maintenance" parameter ON +- Open Block Explorer URL +- Verify Maintenance page shown diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id1873 - Tokens page - Pages - Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id1873 - Tokens page - Pages - Redirection.md new file mode 100644 index 0000000000..4b0d754b0e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id1873 - Tokens page - Pages - Redirection.md @@ -0,0 +1,16 @@ +--- +tags: ['Full test', 'manual', 'Redirection', 'Token', 'Active'] +--- + +# id1873 Tokens page - Pages - Redirection + +## Description + - https://goerli.explorer.zksync.io/tokenlist + +## Precondition + + +## Scenario +- Open Tokens page +- Click on the "CoinGecko API" link +- User redirected to https://www.coingecko.com/en/api diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id249 - Tokens page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id249 - Tokens page - Pages - Artifacts.md new file mode 100644 index 0000000000..754f6225fe --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id249 - Tokens page - Pages - Artifacts.md @@ -0,0 +1,23 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'Smoke test', 'Token', 'Active Partly Manual'] +--- + +# id249 Tokens page - Pages - Artifacts + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tokenlist + +## Precondition + + +## Scenario +- Top tokens page contains: + - Text + - Off-chain data powered by CoinGecko API +- Link + - CoinGecko API +- Token list + - Token name +- Price +- Token address + - L2 label for contract address is displayed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id250 - Tokens page - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id250 - Tokens page - Pages - Navigation.md new file mode 100644 index 0000000000..edeeaa34f9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id250 - Tokens page - Pages - Navigation.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Navigation', 'Smoke test', 'Token', 'Automated'] +--- + +# id250 Tokens page - Pages - Navigation + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tokenlist + +## Precondition + + +## Scenario +- Open Tokens page +- Click on the link of token address +- Token address link navigates to appropriate token page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id275 - Tokens page - Pages - Hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id275 - Tokens page - Pages - Hashes copying.md new file mode 100644 index 0000000000..afd0473272 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id275 - Tokens page - Pages - Hashes copying.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Copying', 'Full test', 'Smoke test', 'Token', 'Automated'] +--- + +# id275 Tokens page - Pages - Hashes copying + +## Description + + +## Precondition + + +## Scenario +- Hashes can be copied: + - Token address diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id815 - Tokens page - Pages - Token list Mainnet.md b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id815 - Tokens page - Pages - Token list Mainnet.md new file mode 100644 index 0000000000..d772f8da60 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id815 - Tokens page - Pages - Token list Mainnet.md @@ -0,0 +1,75 @@ +--- +tags: ['Artifacts', 'Full test', 'Mainnet', 'manual', 'Smoke test', 'Token', 'Active'] +--- + +# id815 Tokens page - Pages - Token list (Mainnet) + +## Description + - https://staging-scan-v2.zksync.dev/tokenlist + +## Precondition + + +## Scenario +- List if tokens available on Mainnet: + - ETH +- USDT +- USDC +- WBTC +- DAI +- SHIB +- BUSD +- rETH +- RPL +- PEPE +- WOO +- cbETH +- 1INCH +- FLOKI +- LUSD +- BAL +- crvUSD +- LQTY +- KNC +- STORJ +- BITCOIN +- MAV +- PERP +- BEL +- xcRMRK +- DEXTF +- MUTE +- BLID +- ZKS +- TGT +- SIS +- DVF +- ZZ +- SLR +- GOVI +- XWG +- JRT +- DERI +- POOL +- UFI +- IDO +- COMBO +- LSD +- UNIDX +- SCM +- BYN +- TiUSD +- PNDC +- CNG +- EPEP +- iZi +- iFARM +- TiTi +- WETH +- wTBT +- IBEX +- Each token has: + - Ticker +- Full name +- Icon +- Tokens are sorted by liquidity diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id816 - Tokens page - Pages - Token list Testnet.md b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id816 - Tokens page - Pages - Token list Testnet.md new file mode 100644 index 0000000000..2796dddbb8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tokens page /id816 - Tokens page - Pages - Token list Testnet.md @@ -0,0 +1,24 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Smoke test', 'Token', 'Active'] +--- + +# id816 Tokens page - Pages - Token list (Testnet) + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tokenlist + +## Precondition + + +## Scenario +- List if tokens available on Testnet: + - ETH +- UNI +- MCRN +- ZKSP +- DOGE +- veVC +- Each token has: + - Ticker +- Full name +- Icon diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id230 - Tx Logs - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id230 - Tx Logs - Pages - Artifacts.md new file mode 100644 index 0000000000..100fdc766c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id230 - Tx Logs - Pages - Artifacts.md @@ -0,0 +1,22 @@ +--- +tags: ['Artifacts', 'automated', 'Full test', 'Logs', 'Positive', 'Transaction', 'Automated'] +--- + +# id230 Tx Logs - Pages - Artifacts + +## Description + + +## Precondition + + +## Scenario +- Transaction page --\> "Logs Tab" contains: + - Address +- Name +- Topics +- Data +- Verified contract address: + - Number data value +- Unverified contract address: + - Hex data value diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id256 - Tx Logs - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id256 - Tx Logs - Pages - Navigation.md new file mode 100644 index 0000000000..ae2fc2003e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id256 - Tx Logs - Pages - Navigation.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Logs', 'Navigation', 'Positive', 'Transaction', 'Automated'] +--- + +# id256 Tx Logs - Pages - Navigation + +## Description + + +## Precondition + + +## Scenario +- Logs tab contains navigation for: + - Address + - https://staging-scan-v2.zksync.dev/address/0xe9f4149276e8a4f8db89e0e3bb78fd853f01e87d diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id257 - Tx Logs - Pages - Hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id257 - Tx Logs - Pages - Hashes copying.md new file mode 100644 index 0000000000..28cb2572cd --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id257 - Tx Logs - Pages - Hashes copying.md @@ -0,0 +1,24 @@ +--- +tags: ['automated', 'Copying', 'Full test', 'Logs', 'Positive', 'Transaction', 'Automated'] +--- + +# id257 Tx Logs - Pages - Hashes copying + +## Description + + +## Precondition + + +## Scenario +- Address hash can be copied +- Topics hashes can be copied in the format of: + - Hex +- Number +- Text +- Address +- Data hash can be copied in format of: + - Hex +- Number +- Text +- Address diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id258 - Tx Logs - Pages - Drop Down lists.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id258 - Tx Logs - Pages - Drop Down lists.md new file mode 100644 index 0000000000..b386d2df72 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id258 - Tx Logs - Pages - Drop Down lists.md @@ -0,0 +1,21 @@ +--- +tags: ['DropDown', 'Full test', 'Logs', 'manual', 'Smoke test', 'Transaction', 'Automated'] +--- + +# id258 Tx Logs - Pages - Drop Down lists + +## Description + + +## Precondition + + +## Scenario +- Logs tab contains Drop Down lists for: + - Topics +- Data +- Verify drop down list values: + - Hex +- Number +- Text +- Address diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id802 - Tx Logs - Pages - Pagination.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id802 - Tx Logs - Pages - Pagination.md new file mode 100644 index 0000000000..c25c7d5586 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx Logs /id802 - Tx Logs - Pages - Pagination.md @@ -0,0 +1,18 @@ +--- +tags: ['Full test', 'Logs', 'Pages', 'Pagination', 'Positive', 'regression', 'Transaction', 'Active'] +--- + +# id802 Tx Logs - Pages - Pagination + +## Description + - Tx page with 9001 logs - /tx/0x58451e9c3c942e9d8bb8d942aab5d74c278bd792df3e96241f0c8f25f9572d11#eventlog + +## Precondition + + +## Scenario +- Pagination element available in the end of page +- Displayed for transactions with 25+ logs +- User can navigate to the next page via "\>" buitton +- User can navigate to previous page via "\<" button +- User can navigate to any page number from the available pages diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1623 - Tx page - Pages - Verify Indexing status component.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1623 - Tx page - Pages - Verify Indexing status component.md new file mode 100644 index 0000000000..39616ae05f --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1623 - Tx page - Pages - Verify Indexing status component.md @@ -0,0 +1,21 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Transaction', 'Active'] +--- + +# id1623 Tx page - Pages - Verify "Indexing" status component + +## Description + - Open any newly made tx (Indexer has to have a delay to see this status) + - Indexing status displayed only on UI when no tx in API but exists in blockchain + +## Precondition + + +## Scenario +- Open any tx with "Indexing" status (you can use info from description) +- Open "General Info" tab +- Verify transaction has "Verified" value in "Status" field + - Icon is grey +- Loading mark shown before "Indexing" text +- Text - "Indexing" +- Tooltip icon is shown after "Indexing" diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1624 - Tx page - Pages - Verify informational tooltips on hoverStatus - Indexing.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1624 - Tx page - Pages - Verify informational tooltips on hoverStatus - Indexing.md new file mode 100644 index 0000000000..45a146868c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1624 - Tx page - Pages - Verify informational tooltips on hoverStatus - Indexing.md @@ -0,0 +1,16 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'Tooltip', 'Transaction', 'UEXP-4059', 'Active'] +--- + +# id1624 Tx page - Pages - Verify informational tooltips on hover(Status - Indexing) + +## Description + - Open any newly made tx (Indexer has to have a delay to see this status) + +## Precondition + + +## Scenario +- Informational tooltip icon reveal the next content on hover: + - "Indexing" icon in "Status" field of "Indexing" transaction + - Transaction is indexing and will be reflected shortly diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1650 - Tx page - Pages - Verify zkSync Era status component.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1650 - Tx page - Pages - Verify zkSync Era status component.md new file mode 100644 index 0000000000..193c10f4de --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1650 - Tx page - Pages - Verify zkSync Era status component.md @@ -0,0 +1,24 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Smoke test', 'Transaction', 'UEXP-4264', 'Active'] +--- + +# id1650 Tx page - Pages - Verify "zkSync Era" status component + +## Description + - Tx with Processed status + - tx/0x586c333379cecdf235de7d26ac9217d65f1652875ff7f15651e21fa700d0bf36 + +## Precondition + + +## Scenario +- Open any tx with "Processed" status (you can use link from description) +- Open "General Info" tab +- Verify transaction has "zkSync Processed" value in "Status" field + - Text + - zkSync +- Background is light green +- Text + - Processed +- Tick icon displayed before "Processed" status +- Background is green diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1651 - Tx page - Pages - Verify Ethereum status components.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1651 - Tx page - Pages - Verify Ethereum status components.md new file mode 100644 index 0000000000..194bb90898 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1651 - Tx page - Pages - Verify Ethereum status components.md @@ -0,0 +1,28 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Smoke test', 'Transaction', 'UEXP-4264', 'UEXP-4307', 'Active'] +--- + +# id1651 Tx page - Pages - Verify "Ethereum" status components + +## Description + - https://linear.app/matterlabs/issue/UEXP-4307/create-hover-component-with-detailed-tx-statuses-changes + - Open any tx link from "Latest transactions" + +## Precondition + + +## Scenario +- Open any tx with loading Ethereum status (see description) +- Open "General Info" tab +- Verify transaction has "Ethereum" value in "Status" field + - Text + - Ethereum +- Background is grey +- Verify Ethereum statuses available for txs + - Sending +- Validating +- Executing +- Loading spinner shown after the "Ethereum" text before the status +- Background is grey +- Verify the list of components reveal on hover for "Ethereum" status component +- Verify Ethereum status shown after "zkSyns Era" status diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1652 - Tx page - Pages - Verify Executed Ethereum status component.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1652 - Tx page - Pages - Verify Executed Ethereum status component.md new file mode 100644 index 0000000000..fe9236da81 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1652 - Tx page - Pages - Verify Executed Ethereum status component.md @@ -0,0 +1,32 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Smoke test', 'Transaction', 'UEXP-4264', 'UEXP-4307', 'Active'] +--- + +# id1652 Tx page - Pages - Verify "Executed" "Ethereum" status component + +## Description + - https://linear.app/matterlabs/issue/UEXP-4307/create-hover-component-with-detailed-tx-statuses-changes + - Tx with Processed status + - tx/0x586c333379cecdf235de7d26ac9217d65f1652875ff7f15651e21fa700d0bf36 + +## Precondition + + +## Scenario +- Open any tx with "Processed" status (you can use link from description) +- Open "General Info" tab +- Verify transaction has "Ethereum" value in "Status" field + - Text + - Ethereum +- Background is light green +- Text + - Executed +- Tick icon displayed before "Processed" status +- Background is green +- Verify the list of components reveal on hover for "Ethereum" status component + - Sent +- Validated +- Executed +- Status name is green +- Tick icon displayed before status +- Each item has icon notifying about redirect diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1671 - Tx page - Pages - Ethereum status links Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1671 - Tx page - Pages - Ethereum status links Redirection.md new file mode 100644 index 0000000000..94c8c9371a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1671 - Tx page - Pages - Ethereum status links Redirection.md @@ -0,0 +1,22 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Redirection', 'Smoke test', 'Transaction', 'UEXP-4307', 'Active'] +--- + +# id1671 Tx page - Pages - "Ethereum" status links (Redirection) + +## Description + - https://linear.app/matterlabs/issue/UEXP-4307/create-hover-component-with-detailed-tx-statuses-changes + - Open any completed (finalised) tx link - transaction with "Ethereum Executed" status + +## Precondition + + +## Scenario +- Open any tx with loading Ethereum status (see description) +- Open "General Info" tab +- Hover the cursor on the "Ethereum" status component +- Dropdown with statuses expanded + - Sent +- Validated +- Executed +- Verify each dropdown item link redirects to it's https://goerli.etherscan.io/tx/\{tx_hash\} page diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1904 - Tx page - Pages - Verify Reason field.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1904 - Tx page - Pages - Verify Reason field.md new file mode 100644 index 0000000000..8cde195a99 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1904 - Tx page - Pages - Verify Reason field.md @@ -0,0 +1,17 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'Transaction', 'Active'] +--- + +# id1904 Tx page - Pages - Verify "Reason" field + +## Description + - Tx with failed status mentioned above + +## Precondition + + +## Scenario +- Open any tx with "Failed" status (you can use link from description) +- Open "General Info" tab +- Verify transaction has "Reason" field with failure reason value + - Failure reason text is red diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1905 - Tx page - Pages - Redirection - Paid by Paymaster links.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1905 - Tx page - Pages - Redirection - Paid by Paymaster links.md new file mode 100644 index 0000000000..a52f347a85 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id1905 - Tx page - Pages - Redirection - Paid by Paymaster links.md @@ -0,0 +1,16 @@ +--- +tags: ['Fee', 'Pages', 'Redirection', 'Transaction', 'Active'] +--- + +# id1905 Tx page - Pages - Redirection - "Paid by Paymaster" links + +## Description + - 1. Open Paymaster transaction https://sepolia.explorer.zksync.io/tx/0xacbd86693e2d1e3da8812183f86617ff2e7e2c12951166b26b19f4458991985b + - 3. Click "More details" button + +## Precondition + + +## Scenario +- "Why is Paymaster being refunded?" link redirects to https://docs.zksync.io/build/developer-reference/fee-model.html#refunds +- "What is Paymaster?" link redirects to https://docs.zksync.io/build/developer-reference/account-abstraction.html#paymasters diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id209 - Tx page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id209 - Tx page - Pages - Artifacts.md new file mode 100644 index 0000000000..c1fca96f75 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id209 - Tx page - Pages - Artifacts.md @@ -0,0 +1,32 @@ +--- +tags: ['APIv1-APIv2', 'Artifacts', 'automated', 'Full test', 'Pages', 'Smoke test', 'Transaction', 'ZKF-2601', 'Active Partly Manual'] +--- + +# id209 Tx page - Pages - Artifacts + +## Description + - Testnet: /tx/0xe7a91cc9b270d062328ef995e0ef67195a3703d43ce4e1d375f87d5c64e51981 + - Mainnet: /tx/0xc598db886275ce5d7900fbfb6797afb3231a117446d91eb0dd8cf69addf90779 + +## Precondition + + +## Scenario +- Transactions table contains: + - Transaction Hash +- Status +- Block +- Batch +- From +- To +- Tokens Transferred + - From L2/L1 \{account URL\} for \{token amount\} \{token name + logo\} +- To L2/L1 \{account URL\} for \{token amount\} \{token name + logo\} +- Input data +- Value +- Fee (Fee in ETH only) + - "More details" button +- Gas limit & used +- Gas per pubdata +- Nonce +- Created diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id239 - Tx page - Pages - Hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id239 - Tx page - Pages - Hashes copying.md new file mode 100644 index 0000000000..501c573b7c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id239 - Tx page - Pages - Hashes copying.md @@ -0,0 +1,18 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Copying', 'Full test', 'manual', 'Transaction', 'Active Partly Manual'] +--- + +# id239 Tx page - Pages - Hashes copying + +## Description + + +## Precondition + + +## Scenario +- Hashes from Transaction table can be copied + - Transaction Hash - can be copied +- From - can be copied +- To - can be copied +- Input data - can be copied diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id241 - Tx page - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id241 - Tx page - Pages - Navigation.md new file mode 100644 index 0000000000..7ff15a4d30 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id241 - Tx page - Pages - Navigation.md @@ -0,0 +1,25 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Full test', 'Navigation', 'Pages', 'Smoke test', 'Transaction', 'ZKF-2601', 'Active Partly Manual'] +--- + +# id241 Tx page - Pages - Navigation + +## Description + + +## Precondition + + +## Scenario +- Block - navigates to block page + - block/70020 +- Batch - navigates to batch page + - batch/\ +- From - link navigates to Account page + - /address/0xF4B50fCb90b8b4412214d3f7ceDC5c6D837c9e62 +- To - link navigates to Account page + - /address/0xE4eDb277e41dc89aB076a1F049f4a3EfA700bCE8 +- L2 Tokens transfer navigates to Acc page + - accounts/0xF4B50fCb90b8b4412214d3f7ceDC5c6D837c9e62 +- Fee and Token pictures - navigates to contract page (Fee in ETH only) + - /address/0x000000000000000000000000000000000000800A diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id338 - Tx page - Pages - Transactions URL.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id338 - Tx page - Pages - Transactions URL.md new file mode 100644 index 0000000000..7116d17860 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id338 - Tx page - Pages - Transactions URL.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Full test', 'Pages', 'Smoke test', 'ZKF-2246', 'Automated'] +--- + +# id338 Tx page - Pages - Transaction's URL + +## Description + - https://staging-portal.zksync.dev/ + +## Precondition + + +## Scenario +- Open transactions's link from "Latest Transactions" section +- Verify opened page has \/tx/\ structure diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id370 - Tx page - Pages - Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id370 - Tx page - Pages - Redirection.md new file mode 100644 index 0000000000..67cdcbf576 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id370 - Tx page - Pages - Redirection.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Full test', 'Pages', 'Redirection', 'Transaction', 'UEXP-4309', 'ZKF-2601', 'Active Partly Manual'] +--- + +# id370 Tx page - Pages - Redirection + +## Description + - F.E. https://explorer.zksync.io/tx/0x64f2a63b721706d21e7ae86e95d3aa66bf8cf2c3a06cfb616003bb961c1097dc + +## Precondition + + +## Scenario +- L1 Tokens Transferred -\> to goerli.etherscan.io + - https://etherscan.io/address/0x08d211E22dB19741FF25838A22e4e696FeE7eD36 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id390 - Tx page - Pages - Verify tx with event.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id390 - Tx page - Pages - Verify tx with event.md new file mode 100644 index 0000000000..bdbf9e71b8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id390 - Tx page - Pages - Verify tx with event.md @@ -0,0 +1,16 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2109', 'Active'] +--- + +# id390 Tx page - Pages - Verify tx with event + +## Description + - https://goerli.explorer.zksync.io/tx/0x0935bcc7a755e61edc9bc51d8753022ab6b0e2267fa7201cbabc71164cb36d45#eventlog (Logs tab) + +## Precondition + + +## Scenario +- Open transaction page +- Open "Logs" tab +- Verify "Name" field with added event displayed (layer, type and parameter name) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id392 - Tx page - Pages - Verify tx with event for custom token.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id392 - Tx page - Pages - Verify tx with event for custom token.md new file mode 100644 index 0000000000..ef61ef10f3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id392 - Tx page - Pages - Verify tx with event for custom token.md @@ -0,0 +1,20 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2109', 'Active'] +--- + +# id392 Tx page - Pages - Verify tx with event for custom token + +## Description + - https://goerli.explorer.zksync.io/tx/0x7d40bc04f310be8b0a4bfdc4c0bada0606811a946aa677795cbd3c1c5e14f0cf#eventlog + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. Deploy your own token (contract need to have an event) + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction's page +- Open "Logs" tab +- Verify "Name" field with added event displayed (layer, type and parameter name) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id400 - Tx page - Pages - Verify transaction method interface.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id400 - Tx page - Pages - Verify transaction method interface.md new file mode 100644 index 0000000000..d72843d5e3 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id400 - Tx page - Pages - Verify transaction method interface.md @@ -0,0 +1,19 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2372', 'Active'] +--- + +# id400 Tx page - Pages - Verify transaction method interface + +## Description + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction page +- Verify the interface of the method that was called and the hex encoded Method ID are visible +- Verify the data is decoded by default diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id401 - Tx page - Pages - Verify decoded arguments.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id401 - Tx page - Pages - Verify decoded arguments.md new file mode 100644 index 0000000000..a274b3bfdc --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id401 - Tx page - Pages - Verify decoded arguments.md @@ -0,0 +1,19 @@ +--- +tags: ['Full test', 'manual', 'Smoke test', 'Transaction', 'ZKF-2372', 'Active'] +--- + +# id401 Tx page - Pages - Verify decoded arguments + +## Description + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction page +- Verify method arguments are visible +- Verify the data is decoded by default diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id402 - Tx page - Pages - Verify setting binary view for input data verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id402 - Tx page - Pages - Verify setting binary view for input data verified contract.md new file mode 100644 index 0000000000..f29f232815 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id402 - Tx page - Pages - Verify setting binary view for input data verified contract.md @@ -0,0 +1,23 @@ +--- +tags: ['Actions', 'Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2372', 'Active'] +--- + +# id402 Tx page - Pages - Verify setting binary view for input data (verified contract) + +## Description + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction page +- Verify transaction method interface and arguments have decoded view +- Verify "Show original input" button available +- Click "Show original input" button +- Verify transaction method interface and arguments have binary view +- Verify "Decode Input Data" button shown instead of "Show Binary" button +- Verify the dropdown with format selection shown with "Decoded bytecode" option available diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id403 - Tx page - Pages - Verify setting decoded view for input data verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id403 - Tx page - Pages - Verify setting decoded view for input data verified contract.md new file mode 100644 index 0000000000..eb720e8eec --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id403 - Tx page - Pages - Verify setting decoded view for input data verified contract.md @@ -0,0 +1,21 @@ +--- +tags: ['Actions', 'Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2372', 'Active'] +--- + +# id403 Tx page - Pages - Verify setting decoded view for input data (verified contract) + +## Description + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction page +- Click "Show binary" button to set binary view for transaction method interface and arguments +- Click "Decode Input Data" +- Verify transaction method interface and arguments have decoded view +- Verify "Show binary" button shown instead of "Decode Input Data" button diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id404 - Tx page - Pages - Verify error state for transaction method interface.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id404 - Tx page - Pages - Verify error state for transaction method interface.md new file mode 100644 index 0000000000..f9c37dd238 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id404 - Tx page - Pages - Verify error state for transaction method interface.md @@ -0,0 +1,22 @@ +--- +tags: ['Full test', 'manual', 'regression', 'Transaction', 'ZKF-2372', 'Active'] +--- + +# id404 Tx page - Pages - Verify error state for transaction method interface + +## Description + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction page +- Emulate an error when receiving the transaction method request + - (e.g. block transaction method request in Dev Tools when loading "Tx" page) + - Verify red "Error" message shown +- Verify "Try again" button shown +- Verify page reloaded after clicking "Try again" button diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id405 - Tx page - Pages - Verify loading state for transaction method interface.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id405 - Tx page - Pages - Verify loading state for transaction method interface.md new file mode 100644 index 0000000000..83421200d0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id405 - Tx page - Pages - Verify loading state for transaction method interface.md @@ -0,0 +1,18 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2372', 'Active'] +--- + +# id405 Tx page - Pages - Verify loading state for transaction method interface + +## Description + - Prerequisites: (you can use https://github.com/JackHamer09/zkSync-2.0-Hardhat-example guide) + - 1. upload your own contract with event + - 2. verify this contract + - 3. make a transaction + +## Precondition + + +## Scenario +- Open transaction page +- Verify "Loading transaction" and spinner shown when loading transaction method interface diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id550 - Tx page - Pages - Verify pending state for Batch field.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id550 - Tx page - Pages - Verify pending state for Batch field.md new file mode 100644 index 0000000000..669ec68532 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id550 - Tx page - Pages - Verify pending state for Batch field.md @@ -0,0 +1,14 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Smoke test', 'Transaction', 'ZKF-2498', 'Active'] +--- + +# id550 Tx page - Pages - Verify pending state for Batch field + +## Description + - Open page of any newly made transaction + +## Precondition + + +## Scenario +- Verify "Batch" field has a number, but link is not created yet diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id559 - Tx page - Pages - Verify icons for informational tooltips.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id559 - Tx page - Pages - Verify icons for informational tooltips.md new file mode 100644 index 0000000000..d68e6e55c8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id559 - Tx page - Pages - Verify icons for informational tooltips.md @@ -0,0 +1,28 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Transaction', 'ZKF-2462', 'Active'] +--- + +# id559 Tx page - Pages - Verify icons for informational tooltips + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tx/0x4efdc5ff8ce3cad95ec72d9caf8f3614225eea4f6d0afa0bd03c9114225df02a + +## Precondition + + +## Scenario +- Informational tooltip icon available for the fields labels: + - Transaction Hash +- Status +- Block +- Batch +- From +- To +- Tokens Transfered +- Input data +- Value +- Fee +- Gas limit & used +- Gas per pubdata +- Nonce +- Created diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id560 - Tx page - Pages - Verify informational tooltips on hover.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id560 - Tx page - Pages - Verify informational tooltips on hover.md new file mode 100644 index 0000000000..d3033b0722 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id560 - Tx page - Pages - Verify informational tooltips on hover.md @@ -0,0 +1,46 @@ +--- +tags: ['APIv1-APIv2', 'Artifacts', 'Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Transaction', 'ZKF-2448', 'ZKF-2462', 'Active'] +--- + +# id560 Tx page - Pages - Verify informational tooltips on hover + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tx/0x4efdc5ff8ce3cad95ec72d9caf8f3614225eea4f6d0afa0bd03c9114225df02a + +## Precondition + + +## Scenario +- Informational tooltip icon reveal the next content on hover: + - Transaction Hash + - Transaction hash is a unique 66-character identifier that is generated whenever a transaction is executed +- Status + - The status of the transaction. +- Reason (for failed tx) + - The failure reason of the transaction +- Block + - Number of the block in which the transaction is recorded. +- Batch + - The batch index where this transaction is submitted to L1 +- From + - The sending party of the transaction. +- To + - The receiving party of the transaction. +- Tokens Transfered + - List of tokens transferred within this transaction. +- Input data + - Additional data included for this transaction. Commonly used as part of contract interaction or as a message sent to the recipient. +- Value + - Amount of Ether being transferred from one address to another within a transaction +- Fee + - Fee which sender paid for this transaction, amount in choosen asset & price in USD at the current time +- Gas limit & used + - Maximum amount of gas allocated for the transaction & the amount eventually used +- Gas per pubdata + - Maximum amount of gas the user is willing to pay for a single byte of published data (pubdata) +- Nonce + - Number of transactions sent from a sender address. +- Created + - The date and time at which a transaction is added to the block. +- "Included" icon in "Status" + - Included diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id589 - Tx page - Pages - Verify Failed status component.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id589 - Tx page - Pages - Verify Failed status component.md new file mode 100644 index 0000000000..8a88a636d2 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id589 - Tx page - Pages - Verify Failed status component.md @@ -0,0 +1,20 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Smoke test', 'Transaction', 'ZKF-2448', 'Automated'] +--- + +# id589 Tx page - Pages - Verify "Failed" status component + +## Description + - Tx with failed status + - https://goerli.staging-scan-v2.zksync.dev/tx/0x6dd189e0205028282a85a74b75024c1d9624ce79bf4c7f914e400fa0521bbc0e#overview + +## Precondition + + +## Scenario +- Open any tx with "Verified" status (you can use link from description) +- Open "General Info" tab +- Verify transaction has "Failed" value in "Status" field + - Icon is red with explanation mark +- Text - "Failed" +- No icon displayed before "Failed" icon diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id653 - Tx page - Pages - Transactions logs copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id653 - Tx page - Pages - Transactions logs copying.md new file mode 100644 index 0000000000..9f096c1ee9 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id653 - Tx page - Pages - Transactions logs copying.md @@ -0,0 +1,17 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Smoke test', 'Transaction', 'ZKF-2109', 'Active'] +--- + +# id653 Tx page - Pages - Transactions logs copying + +## Description + - https://goerli.staging-scan-v2.zksync.dev/tx/0xd095034c0fb26dca6f9e4ea7fb8bb3431e0c9eef4d696745cf423ea8532bbc4f#eventlog (Logs tab) + +## Precondition + + +## Scenario +- Transactions logs table contains: + - Address - can be copied +- Topics - items can be copied +- Data - drop down list and can be copied diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id801 - Tx page - Pages - Verify input data non verified contract.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id801 - Tx page - Pages - Verify input data non verified contract.md new file mode 100644 index 0000000000..4185165972 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id801 - Tx page - Pages - Verify input data non verified contract.md @@ -0,0 +1,20 @@ +--- +tags: ['Actions', 'Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-3221', 'Active'] +--- + +# id801 Tx page - Pages - Verify input data (non verified contract) + +## Description + - Example of non verified contract + - https://goerli.staging-scan-v2.zksync.dev/address/0x3e7676937A7E96CFB7616f255b9AD9FF47363D4b + +## Precondition + + +## Scenario +- Open non verified contract page +- Click on any tx link from "Transactions" tab +- Verify "Input data" field has binary view +- Verify binary view can't be decoded +- Text displayed under the binary view + - Unable to decode input data (Contract not verified) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id882 - Tx page - Pages - Verify detailed Fee.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id882 - Tx page - Pages - Verify detailed Fee.md new file mode 100644 index 0000000000..f649784a8a --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id882 - Tx page - Pages - Verify detailed Fee.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'EUXP-3218', 'Fee', 'Full test', 'Pages', 'Smoke test', 'Transaction', 'Active'] +--- + +# id882 Tx page - Pages - Verify detailed Fee + +## Description + - https://goerli.explorer.zksync.io/tx/0xe7a91cc9b270d062328ef995e0ef67195a3703d43ce4e1d375f87d5c64e51981 + +## Precondition + + +## Scenario +- Fee field contains next data: + - Initial (ETH and $ amount) +- Refunded (ETH and $ amount) +- Refunds + - From L2 0x0000000000000000000000000000000000008001 to L2 \{account URL\} for \{token amount\} ETH (name + logo\} +- "Why I'm being refunded?" link diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id883 - Tx page - Pages - Verify Fee expandingcollapsing.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id883 - Tx page - Pages - Verify Fee expandingcollapsing.md new file mode 100644 index 0000000000..2d2a7ced1d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id883 - Tx page - Pages - Verify Fee expandingcollapsing.md @@ -0,0 +1,20 @@ +--- +tags: ['Artifacts', 'EUXP-3218', 'Fee', 'Full test', 'Pages', 'Smoke test', 'Transaction', 'Active'] +--- + +# id883 Tx page - Pages - Verify Fee expanding/collapsing + +## Description + - https://staging-scan-v2.zksync.dev/tx/0x5327dbed82ee124bf4f95ca3ba37ea7228295fba5261d62f8d2b83456e4c83a0 + +## Precondition + + +## Scenario +- Click on "More Details" button of the "Fee" field +- Verify additional fee data (Initial, Refunded, Refunds) displayed +- "More Details" button changed to "Close Details" +- Verify the fee data displayed after expanding +- Click on "Close Details" button of the "Fee" field +- Verify additional fee data collapsed +- "Close Details" button changed to "More Details" diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id884 - Tx page - Pages - Verify Paymaster Fee.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id884 - Tx page - Pages - Verify Paymaster Fee.md new file mode 100644 index 0000000000..59a8fa82d7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id884 - Tx page - Pages - Verify Paymaster Fee.md @@ -0,0 +1,20 @@ +--- +tags: ['Artifacts', 'Fee', 'Pages', 'Paymaster', 'Transaction', 'Active'] +--- + +# id884 Tx page - Pages - Verify Paymaster Fee + +## Description + - Open Paymaster transaction + - https://sepolia.explorer.zksync.io/tx/0xacbd86693e2d1e3da8812183f86617ff2e7e2c12951166b26b19f4458991985b + +## Precondition + + +## Scenario +- Fee for Paymaster has 'Paid by paymaster' label +- Click "More details" button +- Expanded Fee for Paymaster contains next data: + - From L2 \{account URL\} to 'Paymaster address' L2 \{account URL\} for \{token amount\} \{token name + logo\} +- "Why is Paymaster being refunded?" link +- "What is Paymaster?" link diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id888 - Tx page - Pages - Redirection Fee links.md b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id888 - Tx page - Pages - Redirection Fee links.md new file mode 100644 index 0000000000..b5c1bd6bd0 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Tx page /id888 - Tx page - Pages - Redirection Fee links.md @@ -0,0 +1,17 @@ +--- +tags: ['EUXP-3218', 'Fee', 'Full test', 'Pages', 'Redirection', 'Smoke test', 'Transaction', 'Active'] +--- + +# id888 Tx page - Pages - Redirection (Fee links) + +## Description + - Regular tx - https://goerli.explorer.zksync.io/tx/0xe7a91cc9b270d062328ef995e0ef67195a3703d43ce4e1d375f87d5c64e51981 + +## Precondition + + +## Scenario +- Open Regular tx link +- Click "More details" button +- "Why I'm being refunded?" link redirects to + - https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html#refunds diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id1585 - Txn Batch page - Pages - Boojum prover message.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id1585 - Txn Batch page - Pages - Boojum prover message.md new file mode 100644 index 0000000000..bb5fd5993e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id1585 - Txn Batch page - Pages - Boojum prover message.md @@ -0,0 +1,21 @@ +--- +tags: ['APIv1-APIv2', 'Artifacts', 'Full test', 'Pages', 'Redirection', 'regression', 'Txn Batch', 'UEXP-4106', 'Active'] +--- + +# id1585 Txn Batch page - Pages - Boojum prover message + +## Description + - Testnet: /98717 + - Mainnet: /74249 + +## Precondition + + +## Scenario +- Txn Batch table contains all the general fields except: + - Prove Tx hash + - Message + - This transaction was also proved with our upcoming new prover, Boojum. Want to learn more and verify yourself? Check here. +- "Check here" is a link +- Verify "Check here" link redirects to Github page + - https://github.com/matter-labs/era-boojum-validator-cli diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id1872 - Txn Batch page - Pages - Artifacts Zero batch state.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id1872 - Txn Batch page - Pages - Artifacts Zero batch state.md new file mode 100644 index 0000000000..0d41c33f6f --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id1872 - Txn Batch page - Pages - Artifacts Zero batch state.md @@ -0,0 +1,18 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'regression', 'Txn Batch', 'Active'] +--- + +# id1872 Txn Batch page - Pages - Artifacts (Zero batch state) + +## Description + - Issued link: https://linear.app/matterlabs/issue/UEXP-4004/add-new-text-for-zero-batch-and-empty-batch-pages + - Open any zero block page (e.g. /batch/0) + +## Precondition + + +## Scenario +- Zero Batch page contains the following elements: + - Batch Transactions + - Headline - "This Batch doesn't have any transactions" +- Search icon diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id724 - Txn Batch page - Pages - Artifacts Batch Transactions.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id724 - Txn Batch page - Pages - Artifacts Batch Transactions.md new file mode 100644 index 0000000000..5bdf9d2e3d --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id724 - Txn Batch page - Pages - Artifacts Batch Transactions.md @@ -0,0 +1,24 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'regression', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id724 Txn Batch page - Pages - Artifacts (Batch Transactions) + +## Description + + +## Precondition + + +## Scenario +- Batch Transactions contains the following rows: + - Status +- Transaction hash +- Method +- Age +- From +- To +- Value +- Fee (Fee in ETH only) +- Timestamp can be copied on click +- Navigation tab diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id725 - Txn Batch page - Pages - Artifacts Left table.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id725 - Txn Batch page - Pages - Artifacts Left table.md new file mode 100644 index 0000000000..2c2c39daf8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id725 - Txn Batch page - Pages - Artifacts Left table.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'regression', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id725 Txn Batch page - Pages - Artifacts (Left table) + +## Description + + +## Precondition + + +## Scenario +- Left Txn Batch contains the following fields: + - Batch Index +- Batch Size +- Timestamp +- Batch Root (can be copied) +- Commit tx hash (can be copied) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id726 - Txn Batch page - Pages - Artifacts Right table.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id726 - Txn Batch page - Pages - Artifacts Right table.md new file mode 100644 index 0000000000..676242893c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id726 - Txn Batch page - Pages - Artifacts Right table.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'Full test', 'manual', 'Pages', 'regression', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id726 Txn Batch page - Pages - Artifacts (Right table) + +## Description + + +## Precondition + + +## Scenario +- Right Txn Batch contains the following fields: + - Committed +- Prove Tx hash (can be copied) +- Proven +- Execute Tx hash (can be copied) +- Executed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id727 - Txn Batch page - Pages - Verify icons for informational tooltips Left table.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id727 - Txn Batch page - Pages - Verify icons for informational tooltips Left table.md new file mode 100644 index 0000000000..c0415fe808 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id727 - Txn Batch page - Pages - Verify icons for informational tooltips Left table.md @@ -0,0 +1,19 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id727 Txn Batch page - Pages - Verify icons for informational tooltips (Left table) + +## Description + + +## Precondition + + +## Scenario +- Informational tooltip icon available for the fields labels of left Batch : + - Batch Index +- Batch Size +- Timestamp +- Batch Root +- Commit tx hash diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id728 - Txn Batch page - Pages - Verify icons for informational tooltips Right table.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id728 - Txn Batch page - Pages - Verify icons for informational tooltips Right table.md new file mode 100644 index 0000000000..479623c749 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id728 - Txn Batch page - Pages - Verify icons for informational tooltips Right table.md @@ -0,0 +1,19 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id728 Txn Batch page - Pages - Verify icons for informational tooltips (Right table) + +## Description + + +## Precondition + + +## Scenario +- Informational tooltip icon available for the fields labels of right Batch: + - Committed +- Prove Tx hash +- Proven +- Execute Tx hash +- Executed diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id729 - Txn Batch page - Pages - Redirection Hashes.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id729 - Txn Batch page - Pages - Redirection Hashes.md new file mode 100644 index 0000000000..64726eda3c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id729 - Txn Batch page - Pages - Redirection Hashes.md @@ -0,0 +1,16 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'Redirection', 'regression', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id729 Txn Batch page - Pages - Redirection (Hashes) + +## Description + + +## Precondition + + +## Scenario +- Commit tx hash link redirects to to goerli.etherscan.io +- Prove tx hash link redirects to to goerli.etherscan.io +- Execute tx hash link redirects to to goerli.etherscan.io diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id730 - Txn Batch page - Pages - Hashes copying.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id730 - Txn Batch page - Pages - Hashes copying.md new file mode 100644 index 0000000000..b51cc67ad5 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id730 - Txn Batch page - Pages - Hashes copying.md @@ -0,0 +1,19 @@ +--- +tags: ['Copying', 'Full test', 'manual', 'Pages', 'regression', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id730 Txn Batch page - Pages - Hashes copying + +## Description + + +## Precondition + + +## Scenario +- The following hashes can be copied: + - Batch # +- Batch Root +- Commit tx hash +- Prove tx hash +- Execute tx hash diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id731 - Txn Batch page - Pages - Verify informational tooltips on hover Left table.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id731 - Txn Batch page - Pages - Verify informational tooltips on hover Left table.md new file mode 100644 index 0000000000..1776a8695b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id731 - Txn Batch page - Pages - Verify informational tooltips on hover Left table.md @@ -0,0 +1,24 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id731 Txn Batch page - Pages - Verify informational tooltips on hover (Left table) + +## Description + + +## Precondition + + +## Scenario +- Informational tooltip of icon reveal the next content on hover (left Txn Batch table): + - Batch Index + - The L1 Batch number indicates the length of L1 Batches produced by grouping L2 blocks to be proven on Ethereum. +- Batch Size + - Number of transactions inside of the L1 Batch +- Timestamp + - The date and time at which L1 Batch is produced +- Batch Root + - The L1 Batch Root is a cryptographic hash (or Merkle root) that summarizes a batch of L2 transactions or data and is submitted to the L1 blockchain as a single transaction +- Commit tx hash + - Hash of L1 transaction on which this L1 Batch was committed. diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id732 - Txn Batch page - Pages - Verify informational tooltips on hover Right table.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id732 - Txn Batch page - Pages - Verify informational tooltips on hover Right table.md new file mode 100644 index 0000000000..c0e99fd1df --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batch page /id732 - Txn Batch page - Pages - Verify informational tooltips on hover Right table.md @@ -0,0 +1,24 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Txn Batch', 'ZKF-3254', 'Active'] +--- + +# id732 Txn Batch page - Pages - Verify informational tooltips on hover (Right table) + +## Description + + +## Precondition + + +## Scenario +- Informational tooltip of icon reveal the next content on hover (right Txn Batch table): + - Committed + - The date and time at which L1 Batch is committed to Ethereum +- Prove Tx hash + - Hash of L1 transaction on which this L1 Batch was proven. +- Proven + - The date and time at which L1 Batch is proven to Ethereum +- Execute Tx hash + - Hash of L1 transaction on which this L1 Batch was executed. +- Executed + - The date and time at which L1 Batch is executed on Ethereum diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batches page /id735 - Txn Batches page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batches page /id735 - Txn Batches page - Pages - Artifacts.md new file mode 100644 index 0000000000..245c55e643 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batches page /id735 - Txn Batches page - Pages - Artifacts.md @@ -0,0 +1,20 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Txn Batch', 'UEXP-4354', 'ZKF-3253', 'Active'] +--- + +# id735 Txn Batches page - Pages - Artifacts + +## Description + - Open URL: + - https://goerli.explorer.zksync.io/batches + +## Precondition + + +## Scenario +- Open URL https://goerli.explorer.zksync.io/batches/ +- Table has next columns: + - Status +- BATCH +- AGE +- SIZE diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txn Batches page /id736 - Txn Batches page - Pages - Navigations.md b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batches page /id736 - Txn Batches page - Pages - Navigations.md new file mode 100644 index 0000000000..7d1b39eea8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txn Batches page /id736 - Txn Batches page - Pages - Navigations.md @@ -0,0 +1,18 @@ +--- +tags: ['Full test', 'Navigation', 'Pages', 'regression', 'Txn Batch', 'ZKF-3253', 'Active'] +--- + +# id736 Txn Batches page - Pages - Navigations + +## Description + - https://goerli.explorer.zksync.io/batches + +## Precondition + + +## Scenario +- Open URL https://goerli.explorer.zksync.io/batches/ +- Click on BATCH link for batch in the list + - User is navigated to https://goerli.staging-scan-v2.zksync.dev/batch/(batchnumber) +- "Size" link navigates to the batch page (Batch Transactions section) + - https://goerli.staging-scan-v2.zksync.dev/batch/(batchnumber) diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id247 - Txs page - Pages - Artifacts.md b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id247 - Txs page - Pages - Artifacts.md new file mode 100644 index 0000000000..cb0a2c4fef --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id247 - Txs page - Pages - Artifacts.md @@ -0,0 +1,27 @@ +--- +tags: ['APIv1-APIv2', 'Artifacts', 'automated', 'Full test', 'Transaction', 'UEXP-4361', 'Active Partly Manual'] +--- + +# id247 Txs page - Pages - Artifacts + +## Description + - New status design + - https://linear.app/matterlabs/issue/UEXP-4342/be-fe-improve-tx-statuses-on-tx-list-page + +## Precondition + + +## Scenario +- Transactions page contains 10 rows of: + - Statuses + - Failled on \ +- Processed on \ +- Executed on \ +- Transaction Hash +- From Hash +- To In/Out/Self +- Nonce +- Amount +- Fee (Fee in ETH only) +- Age + - Timestamp can be copied on click diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id248 - Txs page - Pages - Navigation.md b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id248 - Txs page - Pages - Navigation.md new file mode 100644 index 0000000000..4fbe8714ee --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id248 - Txs page - Pages - Navigation.md @@ -0,0 +1,21 @@ +--- +tags: ['APIv1-APIv2', 'automated', 'Full test', 'Navigation', 'Pages', 'Transaction', 'ZKF-2601', 'Automated'] +--- + +# id248 Txs page - Pages - Navigation + +## Description + - - I am on https://staging-scan-v2.zksync.dev/transactions/ page + +## Precondition + + +## Scenario +- Transaction hash navigates to a transaction page + - https://staging-scan-v2.zksync.dev/tx/0x4e0c70607ba62c9d44607f196b4134999f1253445f24cf41182b16c1c8e0056f +- L2 From navigates to an account page + - https://staging-scan-v2.zksync.dev/address/0x158b1a9af8d9d23ed6e6d144bb6e055999fccbb8 +- L2 To navigates to an account page + - https://staging-scan-v2.zksync.dev/address/0x158b1a9af8d9d23ed6e6d144bb6e055999fccbb8 +- Fee and amount pic - navigates to a contract page (Fee in ETH only) + - https://staging-scan-v2.zksync.dev/address/0xe9f4149276e8a4f8db89e0e3bb78fd853f01e87d diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id371 - Txs page - Pages - Redirection.md b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id371 - Txs page - Pages - Redirection.md new file mode 100644 index 0000000000..5108116985 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id371 - Txs page - Pages - Redirection.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Redirection', 'Smoke test', 'To Automate', 'Transaction', 'Active'] +--- + +# id371 Txs page - Pages - Redirection + +## Description + - - I am on https://staging-scan-v2.zksync.dev/transactions/ page + +## Precondition + + +## Scenario +- L1 From redirects to goerli.etherscan.io + - https://goerli.etherscan.io/address/0x1a09ebdce481335c809c766a221909f1cabe9947 +- L1 To redirects to goerli.etherscan.io + - https://goerli.etherscan.io/address/0x1a09ebdce481335c809c766a221909f1cabe9947 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id377 - Txs page - Pages - Verify IN label.md b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id377 - Txs page - Pages - Verify IN label.md new file mode 100644 index 0000000000..822dc583a6 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id377 - Txs page - Pages - Verify IN label.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144', 'Active'] +--- + +# id377 Txs page - Pages - Verify "IN" label + +## Description + - - I am on https://staging-scan-v2.zksync.dev/transactions/ page + - 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 diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id379 - Txs page - Pages - Verify SELF label.md b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id379 - Txs page - Pages - Verify SELF label.md new file mode 100644 index 0000000000..1b04b7cc9c --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id379 - Txs page - Pages - Verify SELF label.md @@ -0,0 +1,17 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Transaction', 'ZKF-2144', 'Active'] +--- + +# id379 Txs page - Pages - Verify "SELF" label + +## Description + - - I am on https://staging-scan-v2.zksync.dev/transactions/ page + - Preconditions: Make transaction from L2 to the same own L2 address + +## Precondition + + +## Scenario +- Open transactions page +- Find the transaction you made previously +- Verify "SELF" label displayed for the transaction diff --git a/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id596 - Txs page - Pages - Verify hover state for Age field.md b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id596 - Txs page - Pages - Verify hover state for Age field.md new file mode 100644 index 0000000000..f74bd30b71 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Pages /Txs page /id596 - Txs page - Pages - Verify hover state for Age field.md @@ -0,0 +1,16 @@ +--- +tags: ['Full test', 'manual', 'Pages', 'regression', 'Tooltip', 'Transaction', 'ZKF-2301', 'Active'] +--- + +# id596 Txs page - Pages - Verify hover state for 'Age' field + +## Description + - https://goerli.explorer.zksync.io/transactions + +## Precondition + + +## Scenario +- Open transactions page +- Homer the cursor over "Age" field of any transaction raw +- Verify tooltip with timestamp shown on hover diff --git a/packages/testing-docs/docs/BE Tests/ Rediraction /Tx page /id1688 - Tx page - Rediraction - Pages - Verify status components for Mobile view.md b/packages/testing-docs/docs/BE Tests/ Rediraction /Tx page /id1688 - Tx page - Rediraction - Pages - Verify status components for Mobile view.md new file mode 100644 index 0000000000..6102c6d5a4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ Rediraction /Tx page /id1688 - Tx page - Rediraction - Pages - Verify status components for Mobile view.md @@ -0,0 +1,24 @@ +--- +tags: ['Full test', 'manual', 'Mobile view', 'Pages', 'Redirection', 'Smoke test', 'Status Component', 'Transaction', 'UEXP-4308', 'Active'] +--- + +# id1688 Tx page - Rediraction - 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 \ status +- Open "General Info" tab +- "Ethereum Sending" status is displayed + - Click on "Ethereum Executed" +- After tx was Validated: + - text (higlhighted) - redirects to https://goerli.etherscan.io/tx/\{address) +- text (highlighted) - redirects to https://goerli.etherscan.io/tx/\{address\} +- text (highlighted) - redirects to https://goerli.etherscan.io/tx/\{address\} diff --git a/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id223 - Search field - TX Hash FromTo - Fields - Incorrect tx hash.md b/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id223 - Search field - TX Hash FromTo - Fields - Incorrect tx hash.md new file mode 100644 index 0000000000..2d0ee58428 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id223 - Search field - TX Hash FromTo - Fields - Incorrect tx hash.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Negative', 'Search', 'Transaction', 'Automated'] +--- + +# id223 Search field - TX Hash From/To - Fields - Incorrect tx hash + +## Description + + +## Precondition + + +## Scenario +- Check incorrect tx hash + - The search field will change the color to red +- User remains on the same page diff --git a/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id224 - Search field - TX Hash FromTo - Fields - Correct tx hash.md b/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id224 - Search field - TX Hash FromTo - Fields - Correct tx hash.md new file mode 100644 index 0000000000..f0600f79e4 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id224 - Search field - TX Hash FromTo - Fields - Correct tx hash.md @@ -0,0 +1,15 @@ +--- +tags: ['automated', 'Full test', 'Positive', 'Search', 'Transaction', 'Automated'] +--- + +# id224 Search field - TX Hash From/To - Fields - Correct tx hash + +## Description + + +## Precondition + + +## Scenario +- Check correct tx hash + - You are redirected to transaction page diff --git a/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id228 - Search field - TX Hash FromTo - Fields - Random tx hash inexistent.md b/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id228 - Search field - TX Hash FromTo - Fields - Random tx hash inexistent.md new file mode 100644 index 0000000000..fc00a87531 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ TX Hash From/To /Search field /id228 - Search field - TX Hash FromTo - Fields - Random tx hash inexistent.md @@ -0,0 +1,17 @@ +--- +tags: ['automated', 'Full test', 'Search', 'Transaction', 'Automated'] +--- + +# id228 Search field - TX Hash From/To - Fields - Random tx hash / inexistent + +## Description + - from 0x16adbc2511be767d03be088a4242d07829433e0bbb9d8a27489b971f1113ecff --\> change latter or digit + - 0x16adbc2511be767d03be088a4242d07829433e0bbb9d8a27489b971f1113ecfa + - 0x16adbc2511be767d03be088a4242d07829433e0bbb9d8a27489b971f1114ecff + +## Precondition + + +## Scenario +- Check random tx hash + - You will see 404 page diff --git a/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1863 - Common - URL query support - Batch.md b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1863 - Common - URL query support - Batch.md new file mode 100644 index 0000000000..0f6a37ec8b --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1863 - Common - URL query support - Batch.md @@ -0,0 +1,19 @@ +--- +tags: ['Navigation', 'Pages', 'Positive', 'regression', 'Search', 'URL', 'Active'] +--- + +# id1863 Common - URL query support - Batch + +## Description + - https://linear.app/matterlabs/issue/UEXP-4596/be-fe-search-query-url + - https://explorer.zksync.io/search?q=\{batch number\} - will open a batch page for the specified batch number. + +## Precondition + + +## Scenario +- Open https://goerli.explorer.zksync.io/ +- : + - Add "\{Basic URL\}/search?q=303647 to the URL address (note this batch number is for Mainnet Network) +- URL is converted to "\{Basic URL\}/batch/303647" +- Page for Batch information page is opened diff --git a/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1864 - Common - URL query support - Address.md b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1864 - Common - URL query support - Address.md new file mode 100644 index 0000000000..1e13663160 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1864 - Common - URL query support - Address.md @@ -0,0 +1,19 @@ +--- +tags: ['Navigation', 'Pages', 'Positive', 'regression', 'Search', 'URL', 'Active'] +--- + +# id1864 Common - URL query support - Address + +## Description + - https://linear.app/matterlabs/issue/UEXP-4596/be-fe-search-query-url + - https://explorer.zksync.io/search?q=\{address\} - will open an address page for the specified address. + +## Precondition + + +## Scenario +- Open https://goerli.explorer.zksync.io/ +- : + - add "\{Basic URL\}/search?q=0xd04DC491640f9cE57b343b404C277246272f6ee6" (note this address is for Mainnet Network) +- URL is converted automatically to "\{Basic URL\}/address/0xd04DC491640f9cE57b343b404C277246272f6ee6" +- Page with information about specified address is opened diff --git a/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1865 - Common - URL query support - Transaction Hash.md b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1865 - Common - URL query support - Transaction Hash.md new file mode 100644 index 0000000000..e996ae092e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1865 - Common - URL query support - Transaction Hash.md @@ -0,0 +1,19 @@ +--- +tags: ['Navigation', 'Pages', 'Positive', 'regression', 'Search', 'URL', 'Active'] +--- + +# id1865 Common - URL query support - Transaction Hash + +## Description + - https://linear.app/matterlabs/issue/UEXP-4596/be-fe-search-query-url + - https://explorer.zksync.io/search?q=\{txhash\} - will open a transaction page for the specified tx hash. + +## Precondition + + +## Scenario +- Open https://goerli.explorer.zksync.io/ +- : + - add \{Basic URL\}/search?q=0xa125a1072d2e8f0a27e6ffa0d29973bb07ef166448fdcaa0aef5bde40ad707c7 to the Basic page URL (note this tx hash is for Mainnet Network) +- URL is converted to "\{Basic URL\}/tx/0xa125a1072d2e8f0a27e6ffa0d29973bb07ef166448fdcaa0aef5bde40ad707c7" +- Transaction page is opened diff --git a/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1866 - Common - URL query support - Incorrect values.md b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1866 - Common - URL query support - Incorrect values.md new file mode 100644 index 0000000000..f66e24aab6 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/ URL query support /Common /id1866 - Common - URL query support - Incorrect values.md @@ -0,0 +1,23 @@ +--- +tags: ['Navigation', 'Negative', 'Pages', 'regression', 'Search', 'URL', 'Active'] +--- + +# id1866 Common - URL query support - Incorrect values + +## Description + - https://linear.app/matterlabs/issue/UEXP-4596/be-fe-search-query-url + +## Precondition + + +## Scenario +- Open https://goerli.explorer.zksync.io/ +- : + - add \{Basic URL\}/search?q=0xa125a1072d2e8f0a27e6ffa973bb07ef166448fdcaa0aef5bde40ad707c7 +- "Oops, we can’t find anything" page is opened +- : + - add "\{Basic URL\}/search?q=0xd04DC491640f9c123b404C277246272f6ee6" +- "Oops, we can’t find anything" page is opened +- : + - Add "\{Basic URL\}/search?q=31211122647 to the URL address +- "Oops, we can’t find anything" page is opened diff --git a/packages/testing-docs/docs/BE Tests/Common /Common /id127 - Common - Tab title.md b/packages/testing-docs/docs/BE Tests/Common /Common /id127 - Common - Tab title.md new file mode 100644 index 0000000000..dd44620802 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Common /Common /id127 - Common - Tab title.md @@ -0,0 +1,18 @@ +--- +tags: ['Artifacts', 'automated', 'Flaky', 'Full test', 'To Automate'] +--- + +# id127 Common - Tab title + +## Description + - Account: Address \ | zkSync Era Block Explorer + - Block: Block \ | zkSync Era Block Explorer + - Contraxt: Address \ | zkSync Era Block Explorer + - Transaction: Transaction \ | zkSync Era Block Explorer + +## Precondition + + +## Scenario +- Tabs titles have general pattern + - page specific | zkSync Era Block Explorer diff --git a/packages/testing-docs/docs/BE Tests/Common /Common /id695 - Common - Check metadata of the page ENG.md b/packages/testing-docs/docs/BE Tests/Common /Common /id695 - Common - Check metadata of the page ENG.md new file mode 100644 index 0000000000..8fcd486933 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Common /Common /id695 - Common - Check metadata of the page ENG.md @@ -0,0 +1,25 @@ +--- +tags: ['Artifacts', 'Common', 'Full test', 'main page', 'regression', 'Active'] +--- + +# id695 Common - Check metadata of the page (ENG) + +## Description + - Environment:https://goerli-beta.staging-scan-v2.zksync.dev/ + +## Precondition + + +## Scenario +- Open the Environment page +- Check that language is set to ENG +- Open Dev Chrome Tools (F12) + - Open Elements tab +- Check that we have \Transactions, Blocks, Contracts and much more | zkSync Era Block Explorer\ +- Check \ +- Open new tab in the browser + - Hover mouse over the tab with opened environment (step 1) +- Check that we have correct description "Transactions, Blocks, Contracts and much more | zkSync Era Block Explorer" +- Check the description of the block explorer + - Title: zkSync Era Block Explorer +- Description: zkSync Era Block Explorer provides all the information to deep dive into transactions, blocks, contracts, and much more. Deep dive into zkSync Era and explore the network. diff --git a/packages/testing-docs/docs/BE Tests/Common /Common /id697 - Common - Check metadata of the page UA.md b/packages/testing-docs/docs/BE Tests/Common /Common /id697 - Common - Check metadata of the page UA.md new file mode 100644 index 0000000000..efa5ec8cd7 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Common /Common /id697 - Common - Check metadata of the page UA.md @@ -0,0 +1,24 @@ +--- +tags: ['Artifacts', 'Common', 'Full test', 'main page', 'regression', 'Active'] +--- + +# id697 Common - Check metadata of the page (UA) + +## Description + - Environment:https://goerli-beta.staging-scan-v2.zksync.dev/ + +## Precondition + + +## Scenario +- Open the Environment page +- Check that language is set to ENG +- Open Dev Chrome Tools (F12) + - Open Elements tab +- Check that we have \Транзакції, Блоки, Контракти та інше | zkSync 2.0 Провідник\ +- Open new tab in the browser + - Hover mouse over the tab with opened environment (step 1) +- Check that we have correct description "Транзакції, Блоки, Контракти та інше | zkSync 2.0 Провідник" +- Check the description of the block explorer + - Title: "zkSync Era Провідник" +- Description: "Переглядайте в режимі реального часу інформацію про блоки, транзакції, контракти та іншу активність у мережі." diff --git a/packages/testing-docs/docs/BE Tests/Common /Common /id772 - Common - Check social image for BE.md b/packages/testing-docs/docs/BE Tests/Common /Common /id772 - Common - Check social image for BE.md new file mode 100644 index 0000000000..f42eb588b8 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Common /Common /id772 - Common - Check social image for BE.md @@ -0,0 +1,19 @@ +--- +tags: ['Artifacts', 'Common', 'Full test', 'Logs', 'Pages', 'regression', 'ZKF-3284', 'Active'] +--- + +# id772 Common - Check social image for BE + +## Description + - Environment: https://explorer.zksync.io/ + - https://socialsharepreview.com/ + +## Precondition + + +## Scenario +- Open environment page from the description +- Check social image + - 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." diff --git a/packages/testing-docs/docs/BE Tests/Common /Common /id806 - Common - Copy button should be disabled without Clipboard support.md b/packages/testing-docs/docs/BE Tests/Common /Common /id806 - Common - Copy button should be disabled without Clipboard support.md new file mode 100644 index 0000000000..4aa2a67270 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Common /Common /id806 - Common - Copy button should be disabled without Clipboard support.md @@ -0,0 +1,24 @@ +--- +tags: ['Account', 'Actions', 'Artifacts', 'Block', 'Common', 'Contract', 'Copying', 'Events', 'Active'] +--- + +# id806 Common - Copy button should be disabled without Clipboard support + +## Description + - Open environment: + - https://goerli.explorer.zksync.io/ + +## Precondition + + +## Scenario +- Open environment page https://goerli.explorer.zksync.io/ +- Proceed to Chrome settings + - Navigate to "Privacy and security" +- Navigate to "Site settings" +- Navigate to "View permissions and data stored across sites" +- Enter in Search field "goerli.explorer.zksync.io" +- Click on the correct record +- Find and disable Clipboard +- Open pages with Copy buttons (e.g. TX page) + - Check that no copy button is present diff --git a/packages/testing-docs/docs/BE Tests/Fields /Fields /id225 - Fields - Empty search field.md b/packages/testing-docs/docs/BE Tests/Fields /Fields /id225 - Fields - Empty search field.md new file mode 100644 index 0000000000..e4407cfc6e --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Fields /Fields /id225 - Fields - Empty search field.md @@ -0,0 +1,16 @@ +--- +tags: ['automated', 'Full test', 'Search', 'Automated'] +--- + +# id225 Fields - Empty search field + +## Description + + +## Precondition + + +## Scenario +- Try to make search for without any input + - The search field will change the color to red +- Nothing will happen diff --git a/packages/testing-docs/docs/BE Tests/Fields /Fields /id300 - Fields - Case sensitive search.md b/packages/testing-docs/docs/BE Tests/Fields /Fields /id300 - Fields - Case sensitive search.md new file mode 100644 index 0000000000..62d34f1292 --- /dev/null +++ b/packages/testing-docs/docs/BE Tests/Fields /Fields /id300 - Fields - Case sensitive search.md @@ -0,0 +1,19 @@ +--- +tags: ['Full test', 'regression', 'Search', 'Active'] +--- + +# id300 Fields - Case sensitive search + +## Description + - https://staging-scan-v2.zksync.dev/address/0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6 and https://staging-scan-v2.zksync.dev/address/0x8f0f33583a56908f7f933cd6f0aae382ac3fd8f6 + +## Precondition + + +## Scenario +- Use address with uppercase 0x8f0F33583a56908F7F933cd6F0AaE382aC3fd8f6 + - Search works well +- Direction of the transaction is correct +- Use address with lowercase 0x8f0f33583a56908f7f933cd6f0aae382ac3fd8f6 + - Search works well +- All fields are the same as for uppercase search