Skip to content

tests: add SBOM list and details smoke tests (WIP)#1024

Draft
BohdanMar wants to merge 2 commits into
guacsec:mainfrom
BohdanMar:tests/sbom-smoke-tests
Draft

tests: add SBOM list and details smoke tests (WIP)#1024
BohdanMar wants to merge 2 commits into
guacsec:mainfrom
BohdanMar:tests/sbom-smoke-tests

Conversation

@BohdanMar

@BohdanMar BohdanMar commented May 6, 2026

Copy link
Copy Markdown

Summary

  • Add 9 basic smoke tests for SBOM List and SBOM Details pages
  • SBOM List: page structure, default sort, text filter, pagination
  • SBOM Details: page header, default tab, tab visibility, tab switching

@sourcery-ai

sourcery-ai Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds two new Playwright-style UI smoke test suites for the SBOM List and SBOM Details pages, covering basic page structure, default behaviors, filters, pagination, and tab interactions.

File-Level Changes

Change Details Files
Add SBOM Details smoke tests to validate basic page rendering and tab behavior.
  • Introduce a new SBOM Details UI smoke spec with a minimal set of e2e tests
  • Verify the page header and core SBOM metadata render correctly
  • Assert the default tab selected on load and visibility of all expected tabs
  • Test switching between tabs and basic content presence for each
e2e/tests/ui/pages/sbom-details/sbom-details-smoke.spec.ts
Add SBOM List smoke tests focusing on layout, sorting, filtering, and pagination.
  • Introduce a new SBOM List UI smoke spec with a small set of e2e tests
  • Check that the list page renders expected structural elements (title, table, controls)
  • Validate the default sort order of SBOM entries
  • Exercise the text search filter and verify results narrow appropriately
  • Cover basic pagination behavior, including navigating between pages and asserting row counts
e2e/tests/ui/pages/sbom-list/sbom-list-smoke.spec.ts

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@BohdanMar BohdanMar changed the title tests: add SBOM list and details smoke tests tests: add SBOM list and details smoke tests (WIP) May 6, 2026
Add 9 basic smoke tests for SBOM pages:
- SBOM List: page structure, default sort, text filter, pagination
- SBOM Details: page header, default tab, tab visibility, tab switching
@BohdanMar BohdanMar force-pushed the tests/sbom-smoke-tests branch from 99ff179 to 4a452f3 Compare May 6, 2026 11:43
@BohdanMar BohdanMar marked this pull request as draft May 21, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant