Improved Codebase #47
Annotations
10 errors, 2 warnings, and 1 notice
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
tests/tools/merge_pdf.test.ts#L114
2) [firefox] βΊ 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
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
+ "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wAARCAMYAmQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD0CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArHv9Uuba8kijjjKrjBKnPQH1rYooZM4trR2Of/ALbvP+eUX/fJ/wAaP7bvP+eUX/fJ/wAa6CilZmfs5/zHP/23ef8APKL/AL5P+NH9t3n/ADyi/wC+T/jXQUUWYezn/Mc//bd5/wA8ov8Avk/40f23ef8APKL/AL5P+NdBRRZh7Of8xz/9t3n/ADyi/wC+T/jR/bd5/wA8ov8Avk/410FFFmHs5/zHP/23ef8APKL/AL5P+NH9t3n/ADyi/wC+T/jXQUUWYezn/Mc//bd5/wA8ov8Avk/40f23ef8APKL/AL5P+NdBRRZh7Of8xz/9t3n/ADyi/wC+T/jR/bd5/wA8ov8Avk/410FFFmHs5/zHP/23ef8APKL/AL5P+NH9t3n/ADyi/wC+T/jXQUUWYezn/Mc//bd5/wA8ov8Avk/40f23ef8APKL/AL5P+NdBRRZh7Of8xz/9t3n/ADyi/wC+T/jR/bd5/wA8ov8Avk/410FFFmHs5/zHP/23ef8APKL/AL5P+NH9t3n/ADyi/wC+T/jXQUUWYezn/Mc//bd5/wA8ov8Avk/40f23ef8APKL/AL5P+NdBRRZh7Of8xz/9t3n/ADyi/wC+T/jR/bd5/wA8ov8Avk/410FFFmHs5/zHP/23ef8APKL/AL5P+NH9t3n/ADyi/wC+T/jXQUUWYezn/Mc//bd5/wA8ov8Avk/40f23ef8APKL/AL5P+NdBRRZh7Of8xz/9t3n/ADyi/wC+T/jR/bd5/wA8ov8Avk/410FFFmHs5/zHP/23ef8APKL/AL5P+NH9t3n/ADyi/wC+T/jXQUUWYezn/Mc//bd5/wA8ov8Avk/40f23ef8APKL/AL5P+NdBRRZh7Of8x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4D6Vh/8ACOf6L5YaEP8AZVh3bP4g2S1WLbRng1RrlpFdPNeVeTuBbtjp3oA2KKKKQBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVUN43lSSLAcRkhtzAYAAP9at1UlshIciaRAX3lRggnA65HtQA77V/pEcRTAk6fMN3TOSPTt9aSW8WKRo3XDgjAJ4K92z6DnP09xTzb7pkkeV2CHIUgYzjHpmlm
|
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/
|
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/
|
1 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
2 flaky
[firefox] βΊ 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
[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
1 did not run
38 passed (2.6m)
|
This job failed
Loading