Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

test: re-stucturing API test suites/global hooks #67

Merged
merged 26 commits into from
Nov 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5dc4623
test: restructure test solution
abilevych Oct 24, 2023
1c6074e
test: the tokens API-related suite re-structuring
abilevych Oct 24, 2023
bacb018
test: the address API-related suite re-structuring
abilevych Oct 25, 2023
38723b1
test: the transaction API-related suite re-structuring
abilevych Oct 26, 2023
f18702f
chore: run lint
abilevych Oct 31, 2023
d2ea0e9
test: re-structure test suites for batches, stats, blocks endpoints
abilevych Oct 31, 2023
1730a71
chore: group the SDK-related test suites as pre-requisites
abilevych Nov 1, 2023
ca9e597
chore: hooks / aligning tests suites
abilevych Nov 1, 2023
6ed2427
chore: implemented a global hook for jest
abilevych Nov 3, 2023
cb7a237
chore: local hooks for the addresses endpoint
abilevych Nov 3, 2023
0816c80
chore: local hooks for the tokens endpoint
abilevych Nov 3, 2023
3aa0f34
chore: local hooks for the transaction endpoint
abilevych Nov 3, 2023
e848a0f
chore: add global hooks
abilevych Nov 6, 2023
4064634
chore: fix after lint
abilevych Nov 6, 2023
88cf5b3
chore: changed timeouts in addresses api suite
abilevych Nov 7, 2023
e1ecfa4
chore: optimized addresses/transactions test suites
abilevych Nov 7, 2023
96bce37
test: fix git runner and test issues
pcheremu Nov 8, 2023
cf18598
test: test with a cache
pcheremu Nov 9, 2023
d15df2c
test: test with a node
pcheremu Nov 9, 2023
43ba846
test: test with a cleaned cache in advance
pcheremu Nov 9, 2023
9c990c0
test: test with a node
pcheremu Nov 9, 2023
3b0693e
test: test with a cache
pcheremu Nov 9, 2023
19e5251
test: refactoring
pcheremu Nov 9, 2023
8831d1b
test: refactoring
pcheremu Nov 9, 2023
427d64a
test: remove an issue workaround for husky
pcheremu Nov 9, 2023
37765e0
Merge pull request #83 from matter-labs/QA-522-fix-issues-ci
abilevych Nov 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: run lint
  • Loading branch information
abilevych committed Oct 31, 2023
commit f18702fcf06e07a7233ceaf2da03e4c78f31a8e4
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ describe("Transactions", () => {
);
});

// //@id1478
//@id1478
it("Verify transaction for the ETH via /transactions/${txHash}", async () => {
// txHash = await helper.getStringFromFile(bufferFile + Buffer.txMultiTransferETH);
contract = await playbook.deployMultiTransferETH();
Expand Down Expand Up @@ -705,7 +705,6 @@ describe("Transactions", () => {
.expect((res) => expect(typeof res.body.links.last).toStrictEqual("string"));
});

// describe("Verify the multicall transactions via /transactions/${txHash}/transfers", () => {
//@id1472
it("Verify transaction for the Root contract via /transactions/${txHash}/transfers", async () => {
await setTimeout(localConfig.standardPause); //works unstable without timeout
Expand Down Expand Up @@ -881,9 +880,7 @@ describe("Transactions", () => {
.expect((res) => expect(res.body.items[0]).toStrictEqual(expect.objectContaining({ fields: null })))
.expect((res) => expect(res.body.items[0]).toStrictEqual(expect.objectContaining({ token: null })));
});
// });
//
// describe("Verify the multicall transactions via /transactions/${txHash}", () => {

//@id1464:I --> @id1468
it("Verify transaction for the Root contract via /transactions/${txHash}", async () => {
await setTimeout(localConfig.standardPause); //works unstable without timeout
Expand Down Expand Up @@ -962,8 +959,7 @@ describe("Transactions", () => {
.expect((res) => expect(res.body).toStrictEqual(expect.objectContaining({ isL1Originated: false })))
.expect((res) => expect(res.body).toStrictEqual(expect.objectContaining({ transactionIndex: 0 })));
});
// });
//

//@id645
it("Verify the transactions with failed state", async () => {
token = await playbook.deployERC20toL2();
Expand Down
Loading