Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Provide e2e functionality with playwright-bdd and allure report#1689

Merged
nscuro merged 2 commits into
DependencyTrack:mainfrom
elAlmani:main
Mar 7, 2025
Merged

Provide e2e functionality with playwright-bdd and allure report#1689
nscuro merged 2 commits into
DependencyTrack:mainfrom
elAlmani:main

Conversation

@elAlmani

Copy link
Copy Markdown
Contributor

Description

This PR provides further e2e-testing functionality of DependencyTrack with Playwright (BDD) and Allure Report.

  • It is now possible to also test the frontend of DependencyTrack using Playwright (BDD) locally and inside CI.
  • Allure Report provides a simple way to review test results in CI, making use of GitHub Pages.

The first version currently covers important use cases inside projects and tests important permissions.

Addressed Issue

--

Additional Details

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have updated the migration changelog accordingly
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

Signed-off-by: Thorben Schmitt <thorben.schmitt@stud.h-da.de>
@nscuro nscuro added enhancement New feature or request testing Integration and unit tests labels Feb 28, 2025
@nscuro nscuro added this to the 0.6.0 milestone Feb 28, 2025
@codacy-production

codacy-production Bot commented Feb 28, 2025

Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+18.28% (target: -1.00%) (target: 70.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (95e4d6a) 201 132 65.67%
Head commit (2f27b1b) 7002 (+6801) 5878 (+5746) 83.95% (+18.28%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1689) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@nscuro nscuro self-assigned this Mar 3, 2025

@nscuro nscuro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is really cool, thanks so much for all the effort!

I only really have a few nits, but this is really good work which we can continue to evolve on!

Comment thread package.json
Comment thread e2e/playwright-tests/README.md Outdated
Comment thread .github/workflows/e2e-playwright-allure_report.yml Outdated
Comment thread e2e/playwright-tests/README.md
Signed-off-by: Thorben Schmitt <thorben.schmitt@stud.h-da.de>
@nscuro nscuro merged commit 983f5dd into DependencyTrack:main Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request testing Integration and unit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants