ci: Migrate component tests to Playwright #3
Annotations
10 errors, 2 warnings, and 1 notice
tests/component/components/NcAppNavigationItem/visual.spec.ts#L30
1) [webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-styling-on-active-route-1-webkit-linux.png, writing actual.
28 |
29 | await expect(navigation).toBeVisible()
> 30 | await expect(navigation.getByRole('listitem', { name: 'Home' })).toHaveScreenshot()
| ^
31 | })
32 |
33 | test('has primary button styling on active route with editing=true', { tag: '@visual' }, async ({ page }) => {
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppNavigationItem/visual.spec.ts:30:2
|
tests/component/components/NcAppNavigationItem/visual.spec.ts#L43
2) [webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-button-styling-on-active-route-with-editing-true-1-webkit-linux.png, writing actual.
41 | await expect(item.getByRole('textbox')).toBeVisible()
42 |
> 43 | await expect(item).toHaveScreenshot()
| ^
44 | })
45 |
46 | test('has tertiary styling on non active route', { tag: '@visual' }, async ({ page }) => {
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppNavigationItem/visual.spec.ts:43:2
|
tests/component/components/NcAppNavigationItem/visual.spec.ts#L50
3) [webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-tertiary-styling-on-non-active-route-1-webkit-linux.png, writing actual.
48 |
49 | await expect(navigation).toBeVisible()
> 50 | await expect(navigation.getByRole('listitem', { name: 'Foo'})).toHaveScreenshot()
| ^
51 | })
52 |
53 | test('has primary styling on active entry', { tag: '@visual' }, async ({ page }) => {
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppNavigationItem/visual.spec.ts:50:2
|
tests/component/components/NcAppNavigationItem/visual.spec.ts#L57
4) [webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:53:1 βΊ has primary styling on active entry
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-styling-on-active-entry-1-webkit-linux.png, writing actual.
55 |
56 | await expect(navigation).toBeVisible()
> 57 | await expect(navigation.getByRole('listitem', { name: 'Back' })).toHaveScreenshot()
| ^
58 | })
59 |
60 | test('has primary button styling on active entry with editing=true', { tag: '@visual' }, async ({ page }) => {
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppNavigationItem/visual.spec.ts:57:2
|
tests/component/components/NcAppNavigationItem/visual.spec.ts#L70
5) [webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:60:1 βΊ has primary button styling on active entry with editing=true
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-button-styling-on-active-entry-with-editing-true-1-webkit-linux.png, writing actual.
68 | await expect(item.getByRole('textbox')).toBeVisible()
69 |
> 70 | await expect(item).toHaveScreenshot()
| ^
71 | })
72 |
73 | test('has tertiary styling on non active entry', { tag: '@visual' }, async ({ page }) => {
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppNavigationItem/visual.spec.ts:70:2
|
tests/component/components/NcAppNavigationItem/visual.spec.ts#L77
6) [webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:73:1 βΊ has tertiary styling on non active entry
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-tertiary-styling-on-non-active-entry-1-webkit-linux.png, writing actual.
75 |
76 | await expect(navigation).toBeVisible()
> 77 | await expect(navigation.getByRole('listitem', { name: 'Bar' })).toHaveScreenshot()
| ^
78 | })
79 |
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppNavigationItem/visual.spec.ts:77:2
|
tests/component/components/NcAppSidebar/visual.spec.ts#L35
7) [webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header βββββββββββββββββββββββ
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppSidebar/visual.spec.ts-snapshots/Sidebar-header-1-webkit-linux.png, writing actual.
33 | })
34 | await expect(component).toBeVisible()
> 35 | await expect(component.locator('header')).toHaveScreenshot({ caret: 'hide' })
| ^
36 | })
37 | })
38 |
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppSidebar/visual.spec.ts:35:4
|
tests/component/components/NcAppSidebar/visual.spec.ts#L35
8) [webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: actions ββββββββββββββ
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppSidebar/visual.spec.ts-snapshots/Sidebar-header-actions-1-webkit-linux.png, writing actual.
33 | })
34 | await expect(component).toBeVisible()
> 35 | await expect(component.locator('header')).toHaveScreenshot({ caret: 'hide' })
| ^
36 | })
37 | })
38 |
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppSidebar/visual.spec.ts:35:4
|
tests/component/components/NcAppSidebar/visual.spec.ts#L35
9) [webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header ββββββββββββββ
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppSidebar/visual.spec.ts-snapshots/Sidebar-header-header-1-webkit-linux.png, writing actual.
33 | })
34 | await expect(component).toBeVisible()
> 35 | await expect(component.locator('header')).toHaveScreenshot({ caret: 'hide' })
| ^
36 | })
37 | })
38 |
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppSidebar/visual.spec.ts:35:4
|
tests/component/components/NcAppSidebar/visual.spec.ts#L35
10) [webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header actions ββββββ
Error: A snapshot doesn't exist at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppSidebar/visual.spec.ts-snapshots/Sidebar-header-header-actions-1-webkit-linux.png, writing actual.
33 | })
34 | await expect(component).toBeVisible()
> 35 | await expect(component.locator('header')).toHaveScreenshot({ caret: 'hide' })
| ^
36 | })
37 | })
38 |
at /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/components/NcAppSidebar/visual.spec.ts:35:4
|
[webkit] βΊ components/NcRichText/markown-rendering.spec.ts#L1
[webkit] βΊ components/NcRichText/markown-rendering.spec.ts took 18.4s
|
[firefox] βΊ components/NcRichText/markown-rendering.spec.ts#L1
[firefox] βΊ components/NcRichText/markown-rendering.spec.ts took 17.6s
|
38 failed
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:53:1 βΊ has primary styling on active entry
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:60:1 βΊ has primary button styling on active entry with editing=true
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:73:1 βΊ has tertiary styling on non active entry
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header ββββββββββββββββββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: actions βββββββββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header βββββββββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header actions ββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable βββββββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable actions ββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable header ββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable header actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname ββββββββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname actions βββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname header βββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname header actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable βββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable header
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable header actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact ββββββββββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact actions βββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact header βββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact header actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable βββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable header
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable header actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname ββββββ
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname header
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname header actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable actions
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable header
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable header actions
115 passed (2.4m)
|
This job failed
Loading