Improved Codebase #47
Annotations
16 errors, 2 warnings, and 2 notices
[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#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#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#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
|
[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:
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+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zHP/23ef8APKL/AL5P+NXNM1Ge7uGjlRFUIWyoI5yPetSiiw1CSd3IKKKKZqFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAlUF1i1ZkT5xI0jRmMgBkK9SeeABzn3FaFZF7ogurm8mDIhuIVjB25IIOefUHAH4UAaUdzBKqtHNG4c4UqwOT6CgXMDMqrNGWb7oDDJ+n5H8qyF0e6SZbpJLdJ/PEuxUIjA2FPrnnNTaZpDWc8csrRyMkHlgheh3s2R6daAJX1m0jnvIGLCS0TzHXHVcZ49atR3dvIyoJkEjKGCFhuxjPSsnUPD/ANtN6/mhJZmDROByo2BSD7EUf2JcG9jmadCscisOucBNuMdPxpgaovrQ9LqA8gf6wdT0qQTwmYwiVDKBkoGG4D6Vh/8ACOf6L5YaEP8AZVh3bP4g2S1WLbRng1RrlpFdPNeVeTuBbtjp3oA2KKKKQBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVUN43lSSLAcRkhtzAYAAP9at1UlshIciaRAX3lRggnA65HtQA77V/pEcRTAk6fMN3TOSPTt9aSW8WKRo3XDgjAJ4K92z6DnP09xTzb7pkkeV2CHIUgYzjHpmlm
|
Node 20 - x64 on windows-latest
The job was canceled because "ubuntu-latest_20_x64" failed.
|
[firefox] βΊ tools\all_tools_page.test.ts:9:5 βΊ test breadcrumb loaded properly:
tests\tools\all_tools_page.test.ts#L1
1) [firefox] βΊ tools\all_tools_page.test.ts:9:5 βΊ test breadcrumb loaded properly ββββββββββββββββ
Test was interrupted.
|
[firefox] βΊ tools\all_tools_page.test.ts:9:5 βΊ test breadcrumb loaded properly:
tests\tools\all_tools_page.test.ts#L10
1) [firefox] βΊ tools\all_tools_page.test.ts:9:5 βΊ test breadcrumb loaded properly ββββββββββββββββ
Error: page.goto: Test ended.
Call log:
- navigating to "http://localhost:3000/tools", waiting until "load"
8 |
9 | test("test breadcrumb loaded properly", async ({ page }) => {
> 10 | await page.goto("/tools");
| ^
11 | const element = await page.locator(
12 | "#breadcrumb > ol > li:nth-child(2) > span > p"
13 | );
at D:\a\avtoolz\avtoolz\tests\tools\all_tools_page.test.ts:10:14
|
Node 20 - x64 on windows-latest
The operation was canceled.
|
Node 20 - x64 on macos-latest
The job was canceled because "ubuntu-latest_20_x64" failed.
|
Node 20 - x64 on macos-latest
The operation was canceled.
|
Node 20 - x64 on ubuntu-latest
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/
|
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/
|
π Playwright Run Summary
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)
|
π Playwright Run Summary
1 interrupted
[firefox] βΊ tools\all_tools_page.test.ts:9:5 βΊ test breadcrumb loaded properly βββββββββββββββββ
22 did not run
19 passed (40.3s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results
Expired
|
2.86 MB |
|