Skip to content

Improved Codebase

Improved Codebase #47

Triggered via pull request July 15, 2024 11:34
@a0v0a0v0
synchronize #79
avtoolz-imporoved
Status Failure
Total duration 5m 43s
Artifacts 1

CI.yml

on: pull_request
Matrix: build_and_test
Fit to window
Zoom out
Zoom in

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/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T/jR/bd5/wA8ov8Avk/410FFFmHs5/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