test: Setup Playwright and add some tests #2
Annotations
7 errors and 1 notice
|
test
Process completed with exit code 1.
|
|
[chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type:
playwright/support/login.ts#L15
2) [chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_NAME_NOT_RESOLVED at http://nextcloud.local/index.php/login
Call log:
- navigating to "http://nextcloud.local/index.php/login", waiting until "load"
at support/login.ts:15
13 | */
14 | export async function login(page: Page): Promise<void> {
> 15 | await page.goto('/index.php/login')
| ^
16 | await page.locator('#user').fill(process.env.NC_USER ?? 'admin')
17 | await page.locator('#password').fill(process.env.NC_PASS ?? 'admin')
18 | await page.locator('#password').press('Enter')
at login (/home/runner/work/notes/notes/playwright/support/login.ts:15:13)
at /home/runner/work/notes/notes/playwright/e2e/basic.spec.ts:7:14
|
|
[chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type:
playwright/support/login.ts#L15
2) [chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_NAME_NOT_RESOLVED at http://nextcloud.local/index.php/login
Call log:
- navigating to "http://nextcloud.local/index.php/login", waiting until "load"
at support/login.ts:15
13 | */
14 | export async function login(page: Page): Promise<void> {
> 15 | await page.goto('/index.php/login')
| ^
16 | await page.locator('#user').fill(process.env.NC_USER ?? 'admin')
17 | await page.locator('#password').fill(process.env.NC_PASS ?? 'admin')
18 | await page.locator('#password').press('Enter')
at login (/home/runner/work/notes/notes/playwright/support/login.ts:15:13)
at /home/runner/work/notes/notes/playwright/e2e/basic.spec.ts:7:14
|
|
[chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type:
playwright/support/login.ts#L15
2) [chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type ──────────
Error: page.goto: net::ERR_NAME_NOT_RESOLVED at http://nextcloud.local/index.php/login
Call log:
- navigating to "http://nextcloud.local/index.php/login", waiting until "load"
at support/login.ts:15
13 | */
14 | export async function login(page: Page): Promise<void> {
> 15 | await page.goto('/index.php/login')
| ^
16 | await page.locator('#user').fill(process.env.NC_USER ?? 'admin')
17 | await page.locator('#password').fill(process.env.NC_PASS ?? 'admin')
18 | await page.locator('#password').press('Enter')
at login (/home/runner/work/notes/notes/playwright/support/login.ts:15:13)
at /home/runner/work/notes/notes/playwright/e2e/basic.spec.ts:7:14
|
|
[chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible:
playwright/support/login.ts#L15
1) [chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_NAME_NOT_RESOLVED at http://nextcloud.local/index.php/login
Call log:
- navigating to "http://nextcloud.local/index.php/login", waiting until "load"
at support/login.ts:15
13 | */
14 | export async function login(page: Page): Promise<void> {
> 15 | await page.goto('/index.php/login')
| ^
16 | await page.locator('#user').fill(process.env.NC_USER ?? 'admin')
17 | await page.locator('#password').fill(process.env.NC_PASS ?? 'admin')
18 | await page.locator('#password').press('Enter')
at login (/home/runner/work/notes/notes/playwright/support/login.ts:15:13)
at /home/runner/work/notes/notes/playwright/e2e/basic.spec.ts:7:14
|
|
[chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible:
playwright/support/login.ts#L15
1) [chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_NAME_NOT_RESOLVED at http://nextcloud.local/index.php/login
Call log:
- navigating to "http://nextcloud.local/index.php/login", waiting until "load"
at support/login.ts:15
13 | */
14 | export async function login(page: Page): Promise<void> {
> 15 | await page.goto('/index.php/login')
| ^
16 | await page.locator('#user').fill(process.env.NC_USER ?? 'admin')
17 | await page.locator('#password').fill(process.env.NC_PASS ?? 'admin')
18 | await page.locator('#password').press('Enter')
at login (/home/runner/work/notes/notes/playwright/support/login.ts:15:13)
at /home/runner/work/notes/notes/playwright/e2e/basic.spec.ts:7:14
|
|
[chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible:
playwright/support/login.ts#L15
1) [chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible ──────────
Error: page.goto: net::ERR_NAME_NOT_RESOLVED at http://nextcloud.local/index.php/login
Call log:
- navigating to "http://nextcloud.local/index.php/login", waiting until "load"
at support/login.ts:15
13 | */
14 | export async function login(page: Page): Promise<void> {
> 15 | await page.goto('/index.php/login')
| ^
16 | await page.locator('#user').fill(process.env.NC_USER ?? 'admin')
17 | await page.locator('#password').fill(process.env.NC_PASS ?? 'admin')
18 | await page.locator('#password').press('Enter')
at login (/home/runner/work/notes/notes/playwright/support/login.ts:15:13)
at /home/runner/work/notes/notes/playwright/e2e/basic.spec.ts:7:14
|
|
🎭 Playwright Run Summary
2 failed
[chromium] › playwright/e2e/basic.spec.ts:10:6 › Basic checks › Notes app is visible ───────────
[chromium] › playwright/e2e/basic.spec.ts:15:6 › Basic checks › Create note and type ───────────
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
14.1 KB |
sha256:7e049d72db126bc239c7674e18ef90bbfde23ff49b14b297a0ef32b26f719843
|
|