Improved Codebase #50
Annotations
10 errors, 2 warnings, and 1 notice
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L27
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
"beforeAll" hook timeout of 30000ms exceeded.
25 | let rearrangedPDFPath = "";
26 |
> 27 | test.beforeAll("Setup", async ({ browser }) => {
| ^
28 | fs.mkdirSync(tempTestDir, { recursive: true });
29 | const page = await browser.newPage();
30 | await page.goto("/tools/image-to-pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:27:8
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L34
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Error: page.waitForEvent: Test ended.
=========================== logs ===========================
waiting for event "download"
============================================================
32 | // sleep for 1 second to allow images to load
33 | await page.waitForTimeout(1000);
> 34 | let downloadPromise = page.waitForEvent("download");
| ^
35 | await page.locator("#btn-submit").click();
36 | let download = await downloadPromise;
37 | let filePath = path.join(__dirname, tempTestDir, "normal.pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:34:32
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L27
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
"beforeAll" hook timeout of 30000ms exceeded.
25 | let rearrangedPDFPath = "";
26 |
> 27 | test.beforeAll("Setup", async ({ browser }) => {
| ^
28 | fs.mkdirSync(tempTestDir, { recursive: true });
29 | const page = await browser.newPage();
30 | await page.goto("/tools/image-to-pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:27:8
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L27
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
"beforeAll" hook timeout of 30000ms exceeded.
25 | let rearrangedPDFPath = "";
26 |
> 27 | test.beforeAll("Setup", async ({ browser }) => {
| ^
28 | fs.mkdirSync(tempTestDir, { recursive: true });
29 | const page = await browser.newPage();
30 | await page.goto("/tools/image-to-pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:27:8
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L1
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: tracing.startChunk: Tracing is already stopping
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L34
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: page.waitForEvent: Test ended.
=========================== logs ===========================
waiting for event "download"
============================================================
32 | // sleep for 1 second to allow images to load
33 | await page.waitForTimeout(1000);
> 34 | let downloadPromise = page.waitForEvent("download");
| ^
35 | await page.locator("#btn-submit").click();
36 | let download = await downloadPromise;
37 | let filePath = path.join(__dirname, tempTestDir, "normal.pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:34:32
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L1
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: end of central directory record signature not found
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L27
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
"beforeAll" hook timeout of 30000ms exceeded.
25 | let rearrangedPDFPath = "";
26 |
> 27 | test.beforeAll("Setup", async ({ browser }) => {
| ^
28 | fs.mkdirSync(tempTestDir, { recursive: true });
29 | const page = await browser.newPage();
30 | await page.goto("/tools/image-to-pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:27:8
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L27
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
"beforeAll" hook timeout of 30000ms exceeded.
25 | let rearrangedPDFPath = "";
26 |
> 27 | test.beforeAll("Setup", async ({ browser }) => {
| ^
28 | fs.mkdirSync(tempTestDir, { recursive: true });
29 | const page = await browser.newPage();
30 | await page.goto("/tools/image-to-pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:27:8
|
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images:
tests/tools/image_to_pdf.test.ts#L34
1) [webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: page.waitForEvent: Test ended.
=========================== logs ===========================
waiting for event "download"
============================================================
32 | // sleep for 1 second to allow images to load
33 | await page.waitForTimeout(1000);
> 34 | let downloadPromise = page.waitForEvent("download");
| ^
35 | await page.locator("#btn-submit").click();
36 | let download = await downloadPromise;
37 | let filePath = path.join(__dirname, tempTestDir, "normal.pdf");
at /home/runner/work/avtoolz/avtoolz/tests/tools/image_to_pdf.test.ts:34:32
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-results".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
E2E tests with node@20 on ubuntu-latest - x64
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
π Playwright Run Summary
3 failed
[webkit] βΊ tools/image_to_pdf.test.ts:62:7 βΊ image to pdf check if βΊ page count is same as that of no. of input images
[webkit] βΊ tools/image_to_pdf.test.ts:92:7 βΊ image to pdf check if βΊ check if pages in pdf are in correct order after rearranging
[webkit] βΊ tools/merge_pdf.test.ts:109:7 βΊ page count and file size check βΊ check if merged pdf page order is same as arranged pdf order
39 passed (2.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results
Expired
|
2.36 MB |
|