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: refactor and actualise Transactions tests #182

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

amelnytskyi
Copy link
Contributor

What ❔

Added coverage for all 0 items in responses for Transaction endpoints

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@amelnytskyi amelnytskyi added the automation writing/fixing/maintaining auto-tests/e2e-tests label Feb 22, 2024
@amelnytskyi amelnytskyi self-assigned this Feb 22, 2024
Copy link

github-actions bot commented Feb 22, 2024

API E2E Test Results

206 tests  ±0   206 ✅ ±0   28s ⏱️ ±0s
 14 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 67acbc6. ± Comparison against base commit d8d0a70.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 22, 2024

Visit the preview URL for this PR (updated for commit 67acbc6):

(expires Tue, 05 Mar 2024 13:21:35 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e508f9012944951194447cb8885950b451a24403

Copy link

github-actions bot commented Feb 22, 2024

Unit Test Results

    4 files  ±0    263 suites  ±0   13m 26s ⏱️ -12s
2 079 tests ±0  2 078 ✅ ±0  1 💤 ±0  0 ❌ ±0 
2 284 runs  ±0  2 283 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 67acbc6. ± Comparison against base commit d8d0a70.

♻️ This comment has been updated with latest results.

@@ -323,6 +522,37 @@ describe("Transactions", () => {
// expect(response.body).toStrictEqual(expect.objectContaining({ to: contract })) //unstable on CI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably can be uncommented

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested change added

@@ -323,6 +522,37 @@ describe("Transactions", () => {
// expect(response.body).toStrictEqual(expect.objectContaining({ to: contract })) //unstable on CI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// expect(response.body).toStrictEqual(expect.objectContaining({ to: contract })) //unstable on CI
expect(response.body).toStrictEqual(expect.objectContaining({ to: contract }));

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested change added

Copy link
Contributor

@pcheremu pcheremu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just commit my suggestion and I will be ready to approve.

@pcheremu pcheremu merged commit a640ca9 into integration-tests-signed Feb 27, 2024
36 checks passed
@pcheremu pcheremu deleted the QA-651-refactor-transaction-tests branch February 27, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation writing/fixing/maintaining auto-tests/e2e-tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants