ci: Migrate component tests to Playwright #3
playwright.yml
on: pull_request
Matrix: playwright-tests
merge-reports
35s
Annotations
20 errors, 2 warnings, and 2 notices
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route:
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
|
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true:
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
|
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route:
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
|
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:53:1 βΊ has primary styling on active entry:
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
|
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:60:1 βΊ has primary button styling on active entry with editing=true:
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
|
[webkit] βΊ components/NcAppNavigationItem/visual.spec.ts:73:1 βΊ has tertiary styling on non active entry:
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
|
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header:
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
|
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: actions:
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
|
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header :
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
|
[webkit] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header actions:
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
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L30
1) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route
Error: Screenshot comparison failed:
143 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-styling-on-active-route-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-bb7cc-ary-styling-on-active-route-chromium/has-primary-styling-on-active-route-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-bb7cc-ary-styling-on-active-route-chromium/has-primary-styling-on-active-route-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-zsuhg" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 143 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-zsuhg" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 143 pixels (ratio 0.02 of all image pixels) are different.
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:67
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L30
1) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
143 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-styling-on-active-route-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-bb7cc-ary-styling-on-active-route-chromium-retry1/has-primary-styling-on-active-route-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-bb7cc-ary-styling-on-active-route-chromium-retry1/has-primary-styling-on-active-route-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-knpnd" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 143 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-knpnd" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 143 pixels (ratio 0.02 of all image pixels) are different.
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:67
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L30
1) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
143 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-styling-on-active-route-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-bb7cc-ary-styling-on-active-route-chromium-retry2/has-primary-styling-on-active-route-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-bb7cc-ary-styling-on-active-route-chromium-retry2/has-primary-styling-on-active-route-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-hcgzn" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 143 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-hcgzn" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 143 pixels (ratio 0.02 of all image pixels) are different.
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:67
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L43
2) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true
Error: Screenshot comparison failed:
150 pixels (ratio 0.02 of all image pixels) are different.
Expected: /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-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-75f51-ive-route-with-editing-true-chromium/has-primary-button-styling-73a04-e-route-with-editing-true-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-75f51-ive-route-with-editing-true-chromium/has-primary-button-styling-73a04-e-route-with-editing-true-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-xwqep" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 150 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-xwqep" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 150 pixels (ratio 0.02 of all image pixels) are different.
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:21
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L43
2) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
150 pixels (ratio 0.02 of all image pixels) are different.
Expected: /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-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-75f51-ive-route-with-editing-true-chromium-retry1/has-primary-button-styling-73a04-e-route-with-editing-true-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-75f51-ive-route-with-editing-true-chromium-retry1/has-primary-button-styling-73a04-e-route-with-editing-true-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-ptqvv" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 150 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-ptqvv" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 150 pixels (ratio 0.02 of all image pixels) are different.
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:21
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L43
2) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
150 pixels (ratio 0.02 of all image pixels) are different.
Expected: /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-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-75f51-ive-route-with-editing-true-chromium-retry2/has-primary-button-styling-73a04-e-route-with-editing-true-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-75f51-ive-route-with-editing-true-chromium-retry2/has-primary-button-styling-73a04-e-route-with-editing-true-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-dvasp" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 150 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Home' })
- locator resolved to <li aria-label="Home" data-v-41fd68f7="" id="app-navigation-item-dvasp" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 150 pixels (ratio 0.02 of all image pixels) are different.
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:21
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L50
3) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route
Error: Screenshot comparison failed:
41 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-tertiary-styling-on-non-active-route-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-20a1c-styling-on-non-active-route-chromium/has-tertiary-styling-on-non-active-route-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-20a1c-styling-on-non-active-route-chromium/has-tertiary-styling-on-non-active-route-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Foo' })
- locator resolved to <li aria-label="Foo" data-v-41fd68f7="" id="app-navigation-item-hmgbk" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 41 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Foo' })
- locator resolved to <li aria-label="Foo" data-v-41fd68f7="" id="app-navigation-item-hmgbk" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 41 pixels (ratio 0.01 of all image pixels) are different.
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:65
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L50
3) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
41 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-tertiary-styling-on-non-active-route-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-20a1c-styling-on-non-active-route-chromium-retry1/has-tertiary-styling-on-non-active-route-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-20a1c-styling-on-non-active-route-chromium-retry1/has-tertiary-styling-on-non-active-route-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Foo' })
- locator resolved to <li aria-label="Foo" data-v-41fd68f7="" id="app-navigation-item-midhb" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 41 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Foo' })
- locator resolved to <li aria-label="Foo" data-v-41fd68f7="" id="app-navigation-item-midhb" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 41 pixels (ratio 0.01 of all image pixels) are different.
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:65
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L50
3) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
41 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-tertiary-styling-on-non-active-route-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-20a1c-styling-on-non-active-route-chromium-retry2/has-tertiary-styling-on-non-active-route-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-20a1c-styling-on-non-active-route-chromium-retry2/has-tertiary-styling-on-non-active-route-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Foo' })
- locator resolved to <li aria-label="Foo" data-v-41fd68f7="" id="app-navigation-item-hfqjm" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 41 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Foo' })
- locator resolved to <li aria-label="Foo" data-v-41fd68f7="" id="app-navigation-item-hfqjm" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 41 pixels (ratio 0.01 of all image pixels) are different.
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:65
|
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:53:1 βΊ has primary styling on active entry:
tests/component/components/NcAppNavigationItem/visual.spec.ts#L57
4) [chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:53:1 βΊ has primary styling on active entry
Error: Screenshot comparison failed:
116 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/nextcloud-vue/nextcloud-vue/tests/component/snapshots/components/NcAppNavigationItem/visual.spec.ts-snapshots/has-primary-styling-on-active-entry-1-chromium-linux.png
Received: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-5e400-ary-styling-on-active-entry-chromium/has-primary-styling-on-active-entry-1-actual.png
Diff: /home/runner/work/nextcloud-vue/nextcloud-vue/test-results/components-NcAppNavigation-5e400-ary-styling-on-active-entry-chromium/has-primary-styling-on-active-entry-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Back' })
- locator resolved to <li aria-label="Back" data-v-41fd68f7="" id="app-navigation-item-xfxgf" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 116 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('navigation', { name: 'In-app navigation' }).getByRole('listitem', { name: 'Back' })
- locator resolved to <li aria-label="Back" data-v-41fd68f7="" id="app-navigation-item-xfxgf" class="app-navigation-entry-wrapper">β¦</li>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 116 pixels (ratio 0.01 of all image pixels) are different.
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:67
|
Slow Test:
[webkit] βΊ components/NcRichText/markown-rendering.spec.ts#L1
[webkit] βΊ components/NcRichText/markown-rendering.spec.ts took 18.4s
|
Slow Test:
[firefox] βΊ components/NcRichText/markown-rendering.spec.ts#L1
[firefox] βΊ components/NcRichText/markown-rendering.spec.ts took 17.6s
|
π Playwright Run Summary
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)
|
π Playwright Run Summary
76 failed
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:26:1 βΊ has primary styling on active route
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:33:1 βΊ has primary button styling on active route with editing=true
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:46:1 βΊ has tertiary styling on non active route
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:53:1 βΊ has primary styling on active entry
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:60:1 βΊ has primary button styling on active entry with editing=true
[chromium] βΊ components/NcAppNavigationItem/visual.spec.ts:73:1 βΊ has tertiary styling on non active entry
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header ββββββββββββββββββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: actions βββββββββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header βββββββββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: header actions ββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable βββββββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable actions ββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable header ββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: editable header actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname ββββββββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname actions βββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname header βββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname header actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable βββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable header
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: subname editable header actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact ββββββββββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact actions βββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact header βββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact header actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable βββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable header
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact editable header actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname ββββ
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname header
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname header actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable actions
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable header
[chromium] βΊ components/NcAppSidebar/visual.spec.ts:26:3 βΊ Sidebar header: compact subname editable header actions
[firefox] βΊ components/NcAppNavigatio
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
blob-report-1
Expired
|
21.8 MB |
|
blob-report-2
Expired
|
287 KB |
|
html-report--attempt-1
Expired
|
20.8 MB |
|