feat: playwright e2e tests#6998
Merged
vitormattos merged 19 commits intomainfrom Feb 26, 2026
Merged
Conversation
df26d20 to
a006a18
Compare
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…vity clone Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…tall Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> fix(ci): use index.php as router for PHP built-in server Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
test: add router script for E2E server ci: use router script for PHP built-in server with correct document root fix: cs build: ignore playwright test artifacts test(e2e): wait for Vue app to load before running tests ci(e2e): add debug steps to check build artifacts and server status test(e2e): remove redundant wait - rely on Playwright auto-waiting ci(e2e): add more debug checks for app page and enablement status - Check what HTML is returned when curling /apps/libresign - Verify if app is enabled with occ app:list test(e2e): add debug logging to investigate CI timeout - Capture browser console logs - Log page URL, title, and HTML before button click - Take screenshot for visual debugging - Remove workaround navigation to /apps/files (works fine locally) Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Log REQUEST_URI, URI, and dispatch info to stderr to understand why paths are being duplicated or misrouted in CI environment. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Add explicit URL construction logging to see what path is being used. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Without Apache/mod_rewrite, Nextcloud redirects /apps/libresign to /index.php/apps/libresign. The Vue Router then builds relative paths from /index.php/, causing URL duplication and a broken app state. PHP's built-in server reads the front_controller_active env variable (see lib/private/URLGenerator.php). When true, Nextcloud generates clean URLs without the index.php prefix — the same behavior that Apache's .htaccess RewriteRule provides — and our router.php already handles routing those clean URLs to index.php. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…l.tld Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
5a0b7a9 to
0a65624
Compare
Member
Author
|
/backport to stable33 |
…teps Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Member
Author
|
/backport to stable32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.