chore(deps): update dependency lint-staged to v15.4.3 #17298
test.yml
on: push
build
2m 13s
Matrix: tests-unit-with-backend
Matrix: tests-unit
tests-e2e-playwright-strict
14m 6s
deploy
0s
Annotations
13 errors, 9 warnings, and 2 notices
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_other create and delete:
tests/e2e/helpers/e2e-file-panel.ts#L288
1) [Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_other create and delete
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByText('Jan 10, 2007')
Expected: 0
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByText('Jan 10, 2007')
3 × locator resolved to 3 elements
- unexpected value "3"
6 × locator resolved to 2 elements
- unexpected value "2"
286 | expect(
287 | page.getByText(outputDate(data["Date"] as string))
> 288 | ).toHaveCount(0),
| ^
289 | ...options
290 | };
291 |
at Object.deleteTest (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:288:13)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:326:25
|
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete:
tests/e2e/helpers/e2e-file-panel.ts#L288
2) [Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByText('Jan 10, 2007')
Expected: 0
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByText('Jan 10, 2007')
3 × locator resolved to 3 elements
- unexpected value "3"
6 × locator resolved to 2 elements
- unexpected value "2"
286 | expect(
287 | page.getByText(outputDate(data["Date"] as string))
> 288 | ).toHaveCount(0),
| ^
289 | ...options
290 | };
291 |
at Object.deleteTest (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:288:13)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:326:25
|
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete:
tests/e2e/helpers/e2e-file-panel.ts#L288
2) [Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByText('Jan 10, 2007')
Expected: 0
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByText('Jan 10, 2007')
3 × locator resolved to 3 elements
- unexpected value "3"
6 × locator resolved to 2 elements
- unexpected value "2"
286 | expect(
287 | page.getByText(outputDate(data["Date"] as string))
> 288 | ).toHaveCount(0),
| ^
289 | ...options
290 | };
291 |
at Object.deleteTest (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:288:13)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:326:25
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2:
tests/e2e/helpers/e2e-form.ts#L75
1) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2 ────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-2-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox/appointment-2-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox/appointment-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:273:9
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2:
tests/e2e/helpers/e2e-form.ts#L75
1) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2 ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-2-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox-retry1/appointment-2-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox-retry1/appointment-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:273:9
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2:
tests/e2e/helpers/e2e-form.ts#L75
1) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2 ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-2-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox-retry2/appointment-2-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox-retry2/appointment-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:273:9
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2:
tests/e2e/helpers/e2e-form.ts#L75
1) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2 ────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-2-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox-retry3/appointment-2-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-2-Firefox-retry3/appointment-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.2').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.2-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20390 pixels (ratio 0.10 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:273:9
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete:
tests/e2e/helpers/e2e-form.ts#L75
2) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete ────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-create-and-delete-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox/appointment-create-and-delete-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox/appointment-create-and-delete-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:301:11
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete:
tests/e2e/helpers/e2e-form.ts#L75
2) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-create-and-delete-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox-retry1/appointment-create-and-delete-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox-retry1/appointment-create-and-delete-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:301:11
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete:
tests/e2e/helpers/e2e-form.ts#L75
2) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-create-and-delete-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox-retry2/appointment-create-and-delete-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox-retry2/appointment-create-and-delete-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:301:11
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete:
tests/e2e/helpers/e2e-form.ts#L75
2) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete ────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-create-and-delete-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox-retry3/appointment-create-and-delete-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-create-and-delete-Firefox-retry3/appointment-create-and-delete-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.add').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.add-form">…</form>
- 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
- Expected an image 800px by 312px, received 758px by 217px. 28743 pixels (ratio 0.12 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:301:11
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › appointment.102 update:
tests/e2e/helpers/e2e-form.ts#L75
3) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › appointment.102 update ───────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 266px, received 758px by 133px. 20644 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-102-update-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-102-update-Firefox/appointment-102-update-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-102-update-Firefox/appointment-102-update-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.102').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.102-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20644 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.102').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.102-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20644 pixels (ratio 0.10 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:363:11
|
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › appointment.102 update:
tests/e2e/helpers/e2e-form.ts#L75
3) [Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › appointment.102 update ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 800px by 266px, received 758px by 133px. 20644 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/cryptomedic/cryptomedic/tests/e2e/__github__/patients/patient-appointment.spec.ts-snapshots/appointment-102-update-1-Firefox-linux.png
Received: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-102-update-Firefox-retry1/appointment-102-update-1-actual.png
Diff: /home/runner/work/cryptomedic/cryptomedic/tmp/integration/playwright/test-results/patients-patient-appointment-appointment-102-update-Firefox-retry1/appointment-102-update-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('appointment.102').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.102-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20644 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('appointment.102').locator('>[data-role=panel]').locator('form')
- locator resolved to <form id="file" data-testid="file-appointment.102-form">…</form>
- 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
- Expected an image 800px by 266px, received 758px by 133px. 20644 pixels (ratio 0.10 of all image pixels) are different.
at helpers/e2e-form.ts:75
73 | async expectScreenshot(): Promise<this> {
74 | await this.expectToBeVisible();
> 75 | await expect(this.locator.locator("form")).toHaveScreenshot();
| ^
76 | return this;
77 | }
78 |
at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:75:48)
at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:363:11
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-unit (dump)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-unit (frontend-test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-unit (lint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-unit-with-backend (backend-test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-e2e-cypress
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-e2e-playwright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
valid
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tests-e2e-playwright-strict
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
2 flaky
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_other create and delete ─
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete
73 passed (3.6m)
|
🎭 Playwright Run Summary
67 failed
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2 ─────────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete ─────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › appointment.102 update ────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › bill.1 ────────────────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › consult_clubfoot.1 ────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_clubfoot create and delete ────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › consult_clubfoot.106 update ───────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › consult_other.1 ───────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_other create and delete ───────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › consult_other.104 update ──────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › consult_ricket.13 ─────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete ──────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › consult_ricket.105 update ─────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › picture.2 ─────────────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › picture create and delete ─────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › picture.107 update ────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › surgery.5 ─────────────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › surgery create and delete ─────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › surgery.103 update ────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › patient.1 ─────────────────────────────
[Firefox] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › patient.3 ─────────────────────────────
[Google Chrome] › tests/e2e/patients/generate-patient.spec.ts:5:1 › create-reference-2002 ──────
[Google Chrome] › tests/e2e/patients/generate-patient.spec.ts:50:1 › generate-reference ────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › appointment.2 ───────────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › appointment create and delete ───
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › appointment.102 update ──────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › bill.1 ──────────────────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › consult_clubfoot.1 ──────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_clubfoot create and delete
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › consult_clubfoot.106 update ─────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › consult_other.1 ─────────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_other create and delete ─
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › consult_other.104 update ────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › consult_ricket.13 ───────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › consult_ricket create and delete
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › consult_ricket.105 update ───────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › picture.2 ───────────────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:292:13 › picture create and delete ───────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:337:13 › picture.107 update ──────────────
[Google Chrome] › tests/e2e/helpers/e2e-file-panel.ts:262:13 › surgery.5 ───────────────────────
[Google Chrome] › tests/e2e/helpers/e2
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
deploy
|
9.59 MB |
|
integration-desktop
|
2.6 MB |
|
integration-playwright
|
269 MB |
|
integration-playwright-updated-snapshots
|
17.1 MB |
|