-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: new formatting and screenshots addition #231
Closed
olehbairak
wants to merge
37
commits into
QA-613-add-docusaurus-docs-project
from
oleh-bairak-qa-789-docusaurus-add-screenshots-and-check-test-case-correctness2
Closed
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
6e4bd01
feat: adding docusaurus docs project
amelnytskyi 3315bcc
feat: adding docusaurus docs project
amelnytskyi cc99738
add job workflow for build testing docs
otani88 6af93f2
add job workflow for build testing docs
otani88 d947f6a
add job workflow for build testing docs
otani88 bb5d2a6
Merge branch 'main' into QA-613-add-docusaurus-docs-project
otani88 e7bbf7f
change docusaurus config for deploy
otani88 ee17988
re-configure build for use custom dns
otani88 aa2824f
re-configure build for use custom dns
otani88 9c981ba
add workflow for build and publish test docs
otani88 610e366
adding instructions to readme
amelnytskyi 606b748
Merge branch 'main' into QA-613-add-docusaurus-docs-project
amelnytskyi ec4eaa3
test: fix package build on CI in docs workflow
pcheremu ef3a3b4
test: debug npm build
pcheremu 367756d
test: debug npm build without husky
pcheremu 0c083aa
test: test build
pcheremu e278b79
test: test build
pcheremu fefd445
test: build docs
pcheremu de4df79
test: build docs
pcheremu bdf931e
test: workable run of doc, do not run npm i for testing-docs
pcheremu a0ecd01
test: fix node dependencies (#223)
pcheremu 34ccf3b
test: tests migration from allure
pcheremu 8580045
test: added migration script
pcheremu 42fabcb
test: remove extra symbols to avoid 404 pages redirection (#229)
olehbairak 8b5b518
test: fixing folders structure for BE docs in docusaurus project (#227)
amelnytskyi 209808c
test: test docs deployment
pcheremu 0dd0842
test: test docs deployment
pcheremu 48ab2fd
test: debug docs workflow
pcheremu caa0303
test: debug docs workflow
pcheremu 43f6c2f
test: debug docs workflow
pcheremu a0b0685
Merge branch 'QA-613-add-docusaurus-docs-project' of https://github.c…
olehbairak 9c09efe
fix: new implementation
olehbairak 914ca21
Revert "fix: new implementation"
olehbairak 555c8f5
fix: add screens and fixes
olehbairak c998360
Merge branch 'QA-613-add-docusaurus-docs-project' into oleh-bairak-qa…
olehbairak 5a3c0da
fix: new one
olehbairak 90519c3
fix: remove tags
olehbairak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...Production/id565 - Networks navigation Prod - Common - Navigation to Sepolia.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
tags: ['Full test', 'manual', 'Navigation', 'Network', 'regression', 'Active'] | ||
--- | ||
|
||
# id565 Networks navigation Production - 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 |
17 changes: 17 additions & 0 deletions
17
...Production/id566 - Networks navigation Prod - Common - Navigation to Mainnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
tags: ['Full test', 'manual', 'Navigation', 'Network', 'regression', 'Active'] | ||
--- | ||
|
||
# id566 Networks navigation Production - 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 |
18 changes: 18 additions & 0 deletions
18
...g/id561 - Networks navigation Staging - Common - Navigation to Goerli Stage2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
tags: ['Full test', 'Navigation', 'Network', 'Smoke test', 'Automated'] | ||
--- | ||
|
||
# id561 Networks navigation Staging - Common - Navigation to Goerli - Stage 2 | ||
|
||
## 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 |
17 changes: 17 additions & 0 deletions
17
...62 - Networks navigation Staging - Common - Navigation to zkSync Era Testnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
tags: ['Full test', 'Navigation', 'Network', 'Smoke test', '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 |
17 changes: 17 additions & 0 deletions
17
...Staging/id563 - Networks navigation Staging - Common - Navigation to Mainnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
tags: ['Full test', 'Navigation', 'Network', 'Smoke test', '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 |
32 changes: 21 additions & 11 deletions
32
...ocs/docs/BE Tests/Common /Blockscout API /id546 - API - Common - Get balance.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,47 @@ | ||
--- | ||
tags: ['API', 'Common', 'Full test', 'regression', 'ZKF-2450', 'Active'] | ||
tags: ['API', 'Common', 'Full test', 'regression', '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. | ||
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 | ||
|
||
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 = == = == = | ||
|
||
== = == = == Use API = == = == = | ||
- https://zksync2-testnet.zkscan.io/api-docs#account | ||
- Example: https://zksync2-testnet.zkscan.io/api?module=account&action=tokenlist&address=0x6cC8cf7f6b488C58AA909B77E6e65c631c204784 | ||
|
||
## Precondition | ||
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 | ||
- ![Screenshot](../../../../static/img/screenshots/common/BlockscoutAPI/id546_1.png); | ||
- Default balance is empty | ||
- Inspect -\> Network -\> Address -\> Empty balance list | ||
![Screenshot](../../../../static/img/screenshots/common/BlockscoutAPI/id546_2.png); | ||
- Blockscout API shows balance | ||
- Inspect -\> Network - \> api?module... -\> Balance | ||
![Screenshot](../../../../static/img/screenshots/common/BlockscoutAPI/id546_3.png); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...E Tests/Common /Footer /id232 - Footer - Common - Internal links Redirection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/BE Tests/Common /Header /id231 - Header - Common - External links SN icons.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-docs/docs/BE Tests/Common /Header /id251 - Header - Common - Internal links.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cs/docs/BE Tests/Common /Header /id252 - Header - Common - Internal links-BE.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Production/id565 - Networks navigation Prod - Common - Navigation to Sepolia.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Production/id566 - Networks navigation Prod - Common - Navigation to Mainnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...g/id561 - Networks navigation Staging - Common - Navigation to Goerli Stage2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...62 - Networks navigation Staging - Common - Navigation to zkSync Era Testnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Staging/id563 - Networks navigation Staging - Common - Navigation to Mainnet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!