Skip to content

.github/workflows/test.yml #16731

.github/workflows/test.yml

.github/workflows/test.yml #16731

Triggered via schedule November 30, 2024 01:55
Status Success
Total duration 21m 39s
Artifacts 4

test.yml

on: schedule
Matrix: tests-unit-with-backend
Matrix: tests-unit
tests-e2e-cypress
5m 3s
tests-e2e-cypress
test-e2e-playwright
6m 36s
test-e2e-playwright
tests-e2e-playwright-strict
13m 10s
tests-e2e-playwright-strict
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 1 warning, and 2 notices
[Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_clubfoot create and delete: tests/e2e/helpers/e2e-file-panel.ts#L284
1) [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_clubfoot 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" 282 | expect( 283 | page.getByText(outputDate(data["Date"] as string)) > 284 | ).toHaveCount(0), | ^ 285 | ...options 286 | }; 287 | at Object.deleteTest (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:284:13) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:322:25
[Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_other create and delete: tests/e2e/helpers/e2e-file-panel.ts#L284
2) [Google Chrome] › helpers/e2e-file-panel.ts:288: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" 282 | expect( 283 | page.getByText(outputDate(data["Date"] as string)) > 284 | ).toHaveCount(0), | ^ 285 | ...options 286 | }; 287 | at Object.deleteTest (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:284:13) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:322:25
[Mobile Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_other create and delete: tests/e2e/helpers/e2e-file-panel.ts#L284
3) [Mobile Chrome] › helpers/e2e-file-panel.ts:288: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" 282 | expect( 283 | page.getByText(outputDate(data["Date"] as string)) > 284 | ).toHaveCount(0), | ^ 285 | ...options 286 | }; 287 | at Object.deleteTest (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:284:13) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:322:25
[Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2: tests/e2e/helpers/e2e-form.ts#L72
1) [Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2 ────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 266px, received 758px by 133px. 20389 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. 20389 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. 20389 pixels (ratio 0.10 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:269:9
[Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2: tests/e2e/helpers/e2e-form.ts#L72
1) [Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2 ────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 266px, received 758px by 133px. 20389 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. 20389 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. 20389 pixels (ratio 0.10 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:269:9
[Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2: tests/e2e/helpers/e2e-form.ts#L72
1) [Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2 ────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 266px, received 758px by 133px. 20389 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. 20389 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. 20389 pixels (ratio 0.10 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:269:9
[Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2: tests/e2e/helpers/e2e-form.ts#L72
1) [Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2 ────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 266px, received 758px by 133px. 20389 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. 20389 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. 20389 pixels (ratio 0.10 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:269:9
[Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete: tests/e2e/helpers/e2e-form.ts#L72
2) [Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete ────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 312px, received 758px by 217px. 28747 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. 28747 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. 28747 pixels (ratio 0.12 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:297:11
[Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete: tests/e2e/helpers/e2e-form.ts#L72
2) [Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete ────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 312px, received 758px by 217px. 28747 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. 28747 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. 28747 pixels (ratio 0.12 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:297:11
[Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete: tests/e2e/helpers/e2e-form.ts#L72
2) [Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete ────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 312px, received 758px by 217px. 28747 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. 28747 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. 28747 pixels (ratio 0.12 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:297:11
[Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete: tests/e2e/helpers/e2e-form.ts#L72
2) [Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete ────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 312px, received 758px by 217px. 28747 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. 28747 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. 28747 pixels (ratio 0.12 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:297:11
[Firefox] › helpers/e2e-file-panel.ts:333:13 › appointment.102 update: tests/e2e/helpers/e2e-form.ts#L72
3) [Firefox] › helpers/e2e-file-panel.ts:333:13 › appointment.102 update ───────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 266px, received 758px by 133px. 20651 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. 20651 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. 20651 pixels (ratio 0.10 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:359:11
[Firefox] › helpers/e2e-file-panel.ts:333:13 › appointment.102 update: tests/e2e/helpers/e2e-form.ts#L72
3) [Firefox] › helpers/e2e-file-panel.ts:333:13 › appointment.102 update ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) Expected an image 800px by 266px, received 758px by 133px. 20651 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. 20651 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. 20651 pixels (ratio 0.10 of all image pixels) are different. at helpers/e2e-form.ts:72 70 | async expectScreenshot(): Promise<this> { 71 | await this.expectToBeVisible(); > 72 | await expect(this.locator.locator("form")).toHaveScreenshot(); | ^ 73 | return this; 74 | } 75 | at E2EFilePanel.expectScreenshot (/home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-form.ts:72:48) at /home/runner/work/cryptomedic/cryptomedic/tests/e2e/helpers/e2e-file-panel.ts:359:11
deploy
No files were found with the provided path: tmp/deploy.log. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 flaky [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_clubfoot create and delete ──────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_other create and delete ─────────── [Mobile Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_other create and delete ─────────── 72 passed (3.6m)
🎭 Playwright Run Summary
63 failed [Firefox] › helpers/e2e-file-panel.ts:258:13 › appointment.2 ─────────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete ─────────────────── [Firefox] › helpers/e2e-file-panel.ts:333:13 › appointment.102 update ────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › bill.1 ────────────────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › consult_clubfoot.1 ────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:288:13 › consult_clubfoot create and delete ────────────── [Firefox] › helpers/e2e-file-panel.ts:333:13 › consult_clubfoot.106 update ───────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › consult_other.1 ───────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:288:13 › consult_other create and delete ───────────────── [Firefox] › helpers/e2e-file-panel.ts:333:13 › consult_other.104 update ──────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › consult_ricket.13 ─────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:288:13 › consult_ricket create and delete ──────────────── [Firefox] › helpers/e2e-file-panel.ts:333:13 › consult_ricket.105 update ─────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › picture.2 ─────────────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:288:13 › picture create and delete ─────────────────────── [Firefox] › helpers/e2e-file-panel.ts:333:13 › picture.107 update ────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › surgery.5 ─────────────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:288:13 › surgery create and delete ─────────────────────── [Firefox] › helpers/e2e-file-panel.ts:333:13 › surgery.103 update ────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › patient.1 ─────────────────────────────────────── [Firefox] › helpers/e2e-file-panel.ts:258:13 › patient.3 ─────────────────────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › appointment.2 ───────────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › appointment create and delete ───────────── [Google Chrome] › helpers/e2e-file-panel.ts:333:13 › appointment.102 update ──────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › bill.1 ──────────────────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › consult_clubfoot.1 ──────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_clubfoot create and delete ──────── [Google Chrome] › helpers/e2e-file-panel.ts:333:13 › consult_clubfoot.106 update ─────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › consult_other.1 ─────────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_other create and delete ─────────── [Google Chrome] › helpers/e2e-file-panel.ts:333:13 › consult_other.104 update ────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › consult_ricket.13 ───────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › consult_ricket create and delete ────────── [Google Chrome] › helpers/e2e-file-panel.ts:333:13 › consult_ricket.105 update ───────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › picture.2 ───────────────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › picture create and delete ───────────────── [Google Chrome] › helpers/e2e-file-panel.ts:333:13 › picture.107 update ──────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:258:13 › surgery.5 ───────────────────────────────── [Google Chrome] › helpers/e2e-file-panel.ts:288:13 › surgery create and delete ───────────────── [Google Chrome] › helpers/e2e-file-panel.ts:333:13 › surgery.103 update ──────────────────────── [Google Chrome] › helpers/e2e-file-panel

Artifacts

Produced during runtime
Name Size
deploy
9.52 MB
integration-desktop
2.6 MB
integration-playwright
244 MB
integration-playwright-updated-snapshots
17.4 MB