Skip to content

feat: playwright e2e tests#6998

Merged
vitormattos merged 19 commits intomainfrom
feat/playwright-e2e-tests
Feb 26, 2026
Merged

feat: playwright e2e tests#6998
vitormattos merged 19 commits intomainfrom
feat/playwright-e2e-tests

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

@vitormattos vitormattos added this to the Next Major (34) milestone Feb 26, 2026
@vitormattos vitormattos self-assigned this Feb 26, 2026
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Feb 26, 2026
@vitormattos vitormattos force-pushed the feat/playwright-e2e-tests branch from df26d20 to a006a18 Compare February 26, 2026 15:34
…tall

Signed-off-by: Vitor Mattos <[email protected]>

fix(ci): use index.php as router for PHP built-in server

Signed-off-by: Vitor Mattos <[email protected]>
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 <[email protected]>
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 <[email protected]>
Add explicit URL construction logging to see what path is being used.

Signed-off-by: Vitor Mattos <[email protected]>
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 <[email protected]>
@vitormattos vitormattos force-pushed the feat/playwright-e2e-tests branch from 5a0b7a9 to 0a65624 Compare February 26, 2026 16:25
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable33

@vitormattos vitormattos merged commit 0cd6ace into main Feb 26, 2026
69 checks passed
@vitormattos vitormattos deleted the feat/playwright-e2e-tests branch February 26, 2026 17:52
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Feb 26, 2026
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant