feat(e2e): add Playwright e2e tests for first-run wizard and settings page #5
Annotations
5 errors, 1 warning, and 1 notice
|
Playwright E2E
Process completed with exit code 1.
|
|
[chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped:
e2e/firstrunwizard.spec.ts#L50
1) [chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.first-run-wizard')
Expected substring: "New in Nextcloud Hub"
Received string: "A collaboration platform that puts you in controlPrivacyHost your data and files where you decide.ProductivityCollaborate and communicate across any platform.InteroperabilityImport and export anything you want with open standards.CommunityEnjoy constant improvements from a thriving open-source community.This Nextcloud is on version 34.0.0 dev What's new? Nextcloud on all your devices"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.first-run-wizard')
9 × locator resolved to <div role="dialog" tabindex="-1" data-v-owner="1" aria-modal="true" data-v-67fb20ba="" id="firstrunwizard" aria-labelledby="modal-name-nc-vue-1" aria-describedby="modal-description-nc-vue-1" class="first-run-wizard modal-mask modal-mask--opaque">…</div>
- unexpected value "A collaboration platform that puts you in controlPrivacyHost your data and files where you decide.ProductivityCollaborate and communicate across any platform.InteroperabilityImport and export anything you want with open standards.CommunityEnjoy constant improvements from a thriving open-source community.This Nextcloud is on version 34.0.0 dev What's new? Nextcloud on all your devices"
48 | // In changelog-only mode the wizard advances directly to the
49 | // "What's new" page after the intro animation.
> 50 | await expect(wizard).toContainText('New in Nextcloud Hub')
| ^
51 | } finally {
52 | await deleteUser(user.userId)
53 | }
at /home/runner/actions-runner/_work/firstrunwizard/firstrunwizard/e2e/firstrunwizard.spec.ts:50:25
|
|
[chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped:
e2e/firstrunwizard.spec.ts#L50
1) [chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.first-run-wizard')
Expected substring: "New in Nextcloud Hub"
Received string: "A collaboration platform that puts you in controlPrivacyHost your data and files where you decide.ProductivityCollaborate and communicate across any platform.InteroperabilityImport and export anything you want with open standards.CommunityEnjoy constant improvements from a thriving open-source community.This Nextcloud is on version 34.0.0 dev What's new? Nextcloud on all your devices"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.first-run-wizard')
9 × locator resolved to <div role="dialog" tabindex="-1" data-v-owner="1" aria-modal="true" data-v-67fb20ba="" id="firstrunwizard" aria-labelledby="modal-name-nc-vue-1" aria-describedby="modal-description-nc-vue-1" class="first-run-wizard modal-mask modal-mask--opaque">…</div>
- unexpected value "A collaboration platform that puts you in controlPrivacyHost your data and files where you decide.ProductivityCollaborate and communicate across any platform.InteroperabilityImport and export anything you want with open standards.CommunityEnjoy constant improvements from a thriving open-source community.This Nextcloud is on version 34.0.0 dev What's new? Nextcloud on all your devices"
48 | // In changelog-only mode the wizard advances directly to the
49 | // "What's new" page after the intro animation.
> 50 | await expect(wizard).toContainText('New in Nextcloud Hub')
| ^
51 | } finally {
52 | await deleteUser(user.userId)
53 | }
at /home/runner/actions-runner/_work/firstrunwizard/firstrunwizard/e2e/firstrunwizard.spec.ts:50:25
|
|
[chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped:
e2e/firstrunwizard.spec.ts#L50
1) [chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped
Error: expect(locator).toContainText(expected) failed
Locator: locator('.first-run-wizard')
Expected substring: "New in Nextcloud Hub"
Received string: "A collaboration platform that puts you in controlPrivacyHost your data and files where you decide.ProductivityCollaborate and communicate across any platform.InteroperabilityImport and export anything you want with open standards.CommunityEnjoy constant improvements from a thriving open-source community.This Nextcloud is on version 34.0.0 dev What's new? Nextcloud on all your devices"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.first-run-wizard')
9 × locator resolved to <div role="dialog" tabindex="-1" data-v-owner="1" aria-modal="true" data-v-67fb20ba="" id="firstrunwizard" aria-labelledby="modal-name-nc-vue-1" aria-describedby="modal-description-nc-vue-1" class="first-run-wizard modal-mask modal-mask--opaque">…</div>
- unexpected value "A collaboration platform that puts you in controlPrivacyHost your data and files where you decide.ProductivityCollaborate and communicate across any platform.InteroperabilityImport and export anything you want with open standards.CommunityEnjoy constant improvements from a thriving open-source community.This Nextcloud is on version 34.0.0 dev What's new? Nextcloud on all your devices"
48 | // In changelog-only mode the wizard advances directly to the
49 | // "What's new" page after the intro animation.
> 50 | await expect(wizard).toContainText('New in Nextcloud Hub')
| ^
51 | } finally {
52 | await deleteUser(user.userId)
53 | }
at /home/runner/actions-runner/_work/firstrunwizard/firstrunwizard/e2e/firstrunwizard.spec.ts:50:25
|
|
e2e-summary
Process completed with exit code 1.
|
|
Playwright E2E
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › e2e/firstrunwizard.spec.ts:27:2 › First Run Wizard › opens when a new major version was shipped
6 passed (2.3m)
|