Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Jan 22, 2025
1 parent 98b4e95 commit ea81bad
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Running 16 tests using 1 worker
✓ 15 [setup] Woocommerce (JS) #2] › woocommerce/self-test-multiple-test-tags-another/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 16 [test] Woocommerce (Run) #2] › woocommerce/self-test-multiple-test-tags-another/another-tag.spec.js:9:5 › I can see my plugin menu (TIME)
16 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Running 3 tests using 1 worker
✓ 2 [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/local/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 3 [test] Amazon S3 Storage (Run) › woocommerce-amazon-s3-storage/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Running 3 tests using 1 worker
✓ 2 [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/local/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 3 [test] Amazon S3 Storage (Run) › woocommerce-amazon-s3-storage/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Running 8 tests using 1 worker
✓ 7 [setup] Woocommerce (JS) › woocommerce/self-test-sut-and-test-additional/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 8 [test] Woocommerce (Run) › woocommerce/self-test-sut-and-test-additional/example.spec.js:9:5 › I can see my plugin menu (TIME)
8 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Running 3 tests using 1 worker
✓ 2 [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/local/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 3 [test] Amazon S3 Storage (Run) › woocommerce-amazon-s3-storage/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Running 3 tests using 1 worker
✓ 2 [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/local/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 3 [test] Amazon S3 Storage (Run) › woocommerce-amazon-s3-storage/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Running 8 tests using 1 worker
✓ 7 [setup] Amazon S3 Storage (JS) #2] › woocommerce-amazon-s3-storage/self-test-multiple-test-tags-another/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 8 [test] Amazon S3 Storage (Run) #2] › woocommerce-amazon-s3-storage/self-test-multiple-test-tags-another/another-tag.spec.js:9:5 › I can see my plugin menu (TIME)
8 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Slow test file: [setup] Amazon S3 Storage (Shell) › scripts/bash.js (TIME)
Slow test file: [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/local/bootstrap/setup.js (TIME)
Consider splitting slow test files to speed up parallel execution
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ path: '/qit/results/playwright/activate-theme-I-can-activate-Deli--test-Deli-Run
}
✓ 4 [test] Deli (Run) › deli/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
4 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Running 4 tests using 1 worker
✓ 3 [test] Deli (Run) › deli/local/activate-theme.spec.js:4:5 › I can activate Deli (TIME)
✓ 4 [test] Deli (Run) › deli/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
4 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ path: '/qit/tests/e2e/deli/local/__snapshots__/activate-theme.spec.js/home.png-d
✘ 5 [test] Deli (Run) › deli/local/activate-theme.spec.js:4:5 › I can activate Deli (retry #2) (TIME)
✓ 6 [test] Deli (Run) › deli/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
1) [test] Deli (Run) › deli/local/activate-theme.spec.js:4:5 › I can activate Deli ─────────────
Error: Screenshot comparison failed:
Error: expect(page).toHaveScreenshot(expected)
892 pixels (ratio 0.01 of all image pixels) are different.
Expected: /qit/tests/e2e/deli/local/__snapshots__/activate-theme.spec.js/home.png
Received: /qit/results/playwright/activate-theme-I-can-activate-Deli--test-Deli-Run-/home-actual.png
Diff: /qit/results/playwright/activate-theme-I-can-activate-Deli--test-Deli-Run-/home-diff.png
Call log:
- expect.toHaveScreenshot(home.png) with timeout 20000ms
 - verifying given screenshot expectation
 - expect.toHaveScreenshot(home.png) with timeout 20000ms
 - verifying given screenshot expectation
 - taking page screenshot
 - disabled all CSS animations
 - disabled all CSS animations
 - waiting for fonts to load...
 - fonts loaded
 - 892 pixels (ratio 0.01 of all image pixels) are different.
 - waiting 100ms before taking screenshot
 - taking page screenshot
 - disabled all CSS animations
 - disabled all CSS animations
 - waiting for fonts to load...
 - fonts loaded
 - captured a stable screenshot
Expand Down Expand Up @@ -89,7 +89,7 @@ Locator: getByRole('cell', { name: 'Deli' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
 - expect.toBeVisible with timeout 20000ms
 - waiting for getByRole('cell', { name: 'Deli' })
5 | await qit.loginAsAdmin(page);
6 | await page.getByRole('link', { name: 'Appearance' }).click();
Expand All @@ -108,15 +108,16 @@ attachment #2: video (video/webm) ───────────────
attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
../../results/playwright/activate-theme-I-can-activate-Deli--test-Deli-Run--retry1/trace.zip
Usage:
npx playwright show-trace ../../results/playwright/activate-theme-I-can-activate-Deli--test-Deli-Run--retry1/trace.zip
npx playwright show-trace ../..
/results/playwright/activate-theme-I-can-activate-Deli--test-Deli-Run--retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('cell', { name: 'Deli' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
 - expect.toBeVisible with timeout 20000ms
 - waiting for getByRole('cell', { name: 'Deli' })
5 | await qit.loginAsAdmin(page);
6 | await page.getByRole('link', { name: 'Appearance' }).click();
Expand All @@ -140,6 +141,7 @@ npx playwright show-trace ../../results/playwright/activate-theme-I-can-activate
1 failed
[test] Deli (Run) › deli/local/activate-theme.spec.js:4:5 › I can activate Deli ──────────────
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Running 3 tests using 1 worker
✓ 2 [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/local/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 3 [test] Amazon S3 Storage (Run) › woocommerce-amazon-s3-storage/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Running 3 tests using 1 worker
✓ 2 [setup] Amazon S3 Storage (JS) › woocommerce-amazon-s3-storage/self-test-tag-and-run/bootstrap/setup.js:11:5 › Isolated Setup (TIME)
✓ 3 [test] Amazon S3 Storage (Run) › woocommerce-amazon-s3-storage/self-test-tag-and-run/example.spec.js:9:5 › I can see my plugin menu (TIME)
3 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Running 4 tests using 1 worker
✓ 3 [test] Deli (Run) › deli/local/activate-theme.spec.js:4:5 › I can activate Deli (TIME)
✓ 4 [test] Deli (Run) › deli/local/example.spec.js:9:5 › I can see my plugin menu (TIME)
4 passed (TIME)
playwright-ctrf-json-reporter: successfully written ctrf json to /qit/results/ctrf/ctrf-report.json
Test artifacts being saved to: /tmp-normalized/qit-results-normalizedid
Uploading zip...
 
Expand Down

0 comments on commit ea81bad

Please sign in to comment.