Skip to content

playwright #6025

Open
Frooodle wants to merge 36 commits intomainfrom
playwright
Open

playwright #6025
Frooodle wants to merge 36 commits intomainfrom
playwright

Conversation

@Frooodle
Copy link
Copy Markdown
Member

Description of Changes


Checklist

General

Documentation

Translations (if applicable)

UI Changes (if applicable)

  • Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)

Testing (if applicable)

  • I have tested my changes locally. Refer to the Testing Guide for more details.

@stirlingbot stirlingbot Bot added Documentation Improvements or additions to documentation Front End Issues or pull requests related to front-end development Gradle Pull requests that update Gradle code labels Mar 29, 2026
Comment thread frontend/src/tests/direct-url-navigation.spec.ts Fixed
Resolve conflicts:
- playwright.config.ts: keep PR's richer test-agent config (timeouts, reporter, healer-friendly screenshot/video/trace settings), normalize to double quotes
- ConvertE2E.spec.ts: keep PR's real-backend discovery-based tests
- conversionEndpointDiscovery.ts: restore helper that main deleted; needed by PR's Convert tests
Reverse the merge resolution for ConvertE2E.spec.ts and drop
conversionEndpointDiscovery.ts. Main's PR #6009 intentionally migrated
these tests to mock-based (no real backend needed), which is the
correct direction — keep that, keep only playwright.config.ts from
PR's side (richer test-agent/healer config).
auth-login.spec.ts:140 — session expiry redirect:
  The test used waitForURL('**/') which only matches URLs ending in '/'
  and failed on /merge. Loosen to accept any non-/login URL since the app
  may restore the original page or land on the dashboard post-login.

e2e-pdf-operations.spec.ts — merge 2/3 file tests:
  The Merge tool lands in 'viewer' mode after upload and requires a
  manual switch to file editor before the run button enables. The UI
  surfaces a 'Go to file editor' button for this — click it first in
  the shared executeAndWaitForResults helper when visible.
On firefox and webkit, the tour tooltip ("Watch walkthroughs here…")
intercepts pointer events on the convert button, causing click timeouts.
Add a dismissTourTooltip helper invoked before the click. Chromium
auto-handles it, but the explicit dismiss is a no-op there so tests
remain green on all three browsers.
On webkit, clicking the breadcrumb a[href="/"] did not trigger React
Router navigation — the URL stayed on /merge (or /compress). The
sidebar "Tools" link consistently navigates on all three browsers.
Switch both browser-navigation.spec.ts and tool-pages-common.spec.ts
to target the sidebar link by its accessible role+name.
@github-actions
Copy link
Copy Markdown
Contributor

Frontend Check Failed

There are issues with your frontend code that will need to be fixed before they can be merged in.

Run task frontend:fix to auto-fix what can be fixed automatically, then run task frontend:check:all to see what still needs fixing manually.

@Frooodle Frooodle marked this pull request as ready for review April 23, 2026 20:29
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines ignoring generated files. label Apr 23, 2026
@stirlingbot stirlingbot Bot added Docker Pull requests that update Docker code Github labels Apr 24, 2026
@stirlingbot stirlingbot Bot added the Test Testing-related issues or pull requests label Apr 25, 2026
Comment on lines +101 to +125
run: |
{
echo 'wait_for_backend() {'
echo ' start=$SECONDS'
echo ' for i in $(seq 1 300); do'
echo ' if curl -fsS http://localhost:8080/api/v1/info/status >/dev/null 2>&1; then'
echo ' echo "Backend up after $((SECONDS - start))s"; return 0'
echo ' fi; sleep 2'
echo ' done'
echo ' tail -200 /tmp/backend.log || true; return 1'
echo '}'
echo 'stop_backend() {'
echo ' if [ -f /tmp/backend.pid ]; then'
echo ' kill "$(cat /tmp/backend.pid)" 2>/dev/null || true'
echo ' rm -f /tmp/backend.pid'
echo ' fi'
echo ' pkill -f "gradlew :stirling-pdf:bootRun" 2>/dev/null || true'
echo ' for i in $(seq 1 30); do'
echo ' curl -fsS http://localhost:8080/api/v1/info/status >/dev/null 2>&1 || return 0'
echo ' sleep 1'
echo ' done'
echo '}'
} > /tmp/helpers.sh
chmod +x /tmp/helpers.sh

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.

Binary, code or archive is pulled from a remote source without integrity verification - medium severity
A GitHub Actions Workflow was built using an artifact from a remote source without any integrity verification. If the remote artifact were silently replaced with a malicious version (for example, through a supply chain attack), the integrity and confidentiality of the environment in which the container is deployed could be compromised.

Show fix

Remediation: Validate the artifact against a trusted SHA-512 checksum in the CI/CD pipeline using sha512sum in check mode. Store the expected checksum in a file (e.g., artifact.sha512), then verify it with: sha512sum -c artifact.sha512. Enable strict error handling (for example, set -e in shell scripts) so the pipeline fails if verification fails or outputs errors.

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

@dosubot dosubot Bot added size:XL This PR changes 500-999 lines ignoring generated files. and removed size:L This PR changes 100-499 lines ignoring generated files. labels Apr 25, 2026
@stirlingbot
Copy link
Copy Markdown
Contributor

stirlingbot Bot commented Apr 25, 2026

🚀 V2 Auto-Deployment Complete!

Your V2 PR with embedded architecture has been deployed!

🔗 Direct Test URL (non-SSL) http://54.175.155.236:6025

🔐 Secure HTTPS URL: https://6025.ssl.stirlingpdf.cloud

This deployment will be automatically cleaned up when the PR is closed.

🔄 Auto-deployed for approved V2 contributors.

@stirlingbot
Copy link
Copy Markdown
Contributor

stirlingbot Bot commented Apr 25, 2026

✅ Backend License Check Passed

All backend dependencies have valid and allowed licenses.

The backend license report has been updated successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docker Pull requests that update Docker code Documentation Improvements or additions to documentation Front End Issues or pull requests related to front-end development Github Gradle Pull requests that update Gradle code size:XL This PR changes 500-999 lines ignoring generated files. Test Testing-related issues or pull requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants