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: covering Batches API and partially covered Transactions #156

Merged

Conversation

amelnytskyi
Copy link
Contributor

covering Batches API

What ❔

1506 [Transactions] /transactions response returns elements (wasn't covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements (wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE (new test)

Why ❔

Why are these changes done? - expanding test coverage

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.

covering Batches API
@amelnytskyi amelnytskyi added the automation writing/fixing/maintaining auto-tests/e2e-tests label Jan 26, 2024
@amelnytskyi amelnytskyi self-assigned this Jan 26, 2024
Copy link

github-actions bot commented Jan 26, 2024

API E2E Test Results

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

Results for commit c9537b9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 26, 2024

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

(expires Tue, 06 Feb 2024 13:56:16 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e508f9012944951194447cb8885950b451a24403

Copy link

github-actions bot commented Jan 26, 2024

Unit Test Results

    3 files    247 suites   8m 35s ⏱️
1 970 tests 1 969 ✅ 1 💤 0 ❌
1 996 runs  1 995 ✅ 1 💤 0 ❌

Results for commit c9537b9.

♻️ This comment has been updated with latest results.

@amelnytskyi amelnytskyi requested a review from pcheremu January 29, 2024 08:47
@amelnytskyi
Copy link
Contributor Author

@pcheremu could you please review the PR?
Thanks in advance

@pcheremu
Copy link
Contributor

@amelnytskyi please also fix failed ui test: ✘ 5 [chromium] › nft.spec.ts:32:5 › Check the L1 NFT contract address

amelnytskyi and others added 5 commits January 30, 2024 15:28
# What ❔

Added test for TC id1803 /tokens/{address}/transfers endpoint

## Why ❔

Expand test coverage - id1803 wasn't covered by autotest

## 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.
Fixed TC id1657 - Check the L1 NFT contract address
covering Batches API
Fixed TC id1657 - Check the L1 NFT contract address
…://github.com/matter-labs/block-explorer into QA-538-cover-batches-endpoint-and-failed-tx-fix
@amelnytskyi
Copy link
Contributor Author

@amelnytskyi please also fix failed ui test: ✘ 5 [chromium] › nft.spec.ts:32:5 › Check the L1 NFT contract address

@pcheremu fix for "Check the L1 NFT contract address" added - you can review again

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.

Looks good, ui tests passed as well.
image

@pcheremu pcheremu merged commit a57a9ce into integration-tests Jan 30, 2024
35 checks passed
@pcheremu pcheremu deleted the QA-538-cover-batches-endpoint-and-failed-tx-fix branch January 30, 2024 16:56
pcheremu pushed a commit that referenced this pull request Feb 9, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
pcheremu pushed a commit that referenced this pull request Feb 9, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
pcheremu pushed a commit that referenced this pull request Feb 15, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
pcheremu pushed a commit that referenced this pull request Jul 5, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
pcheremu pushed a commit that referenced this pull request Aug 22, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
pcheremu pushed a commit that referenced this pull request Aug 22, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
pcheremu pushed a commit that referenced this pull request Aug 23, 2024
covering Batches API

# What ❔

1506 [Transactions] /transactions response returns elements (wasn't
covered fully)
1513 [Batches] /batches response returns elements (wasn't covered fully)
1510 [Transactions] /address/{address}/logs response returns elements
(wasn't covered fully)
1656 [Transactions] Verify failed tx (new test)
1655 [Transactions] Verify deployed the own ERC20 token contract in BE
(new test)

## Why ❔

Why are these changes done? - expanding test coverage

## Checklist

- [ +] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ +] Tests for the changes have been added / updated.
- [ n/a] Documentation comments have been added / updated.
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