Bump mocha and @types/mocha #50
test-and-release.yml
on: push
backend
/
with Plugins
39s
frontend
/
test-frontend
2m 41s
release
/
publish-npm
Annotations
10 errors, 4 warnings, and 1 notice
[chromium] › specs/bold.spec.ts:12:9 › bold button › makes text bold on click:
src/tests/frontend-new/specs/bold.spec.ts#L6
1) [chromium] › specs/bold.spec.ts:12:9 › bold button › makes text bold on click ─────────────────
Test timeout of 90000ms exceeded while running "beforeEach" hook.
4 | import exp from "node:constants";
5 |
> 6 | test.beforeEach(async ({ page })=>{
| ^
7 | await goToNewPad(page);
8 | })
9 |
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/bold.spec.ts:6:6
|
[chromium] › specs/bold.spec.ts:12:9 › bold button › makes text bold on click:
src/tests/frontend-new/helper/padHelper.ts#L120
1) [chromium] › specs/bold.spec.ts:12:9 › bold button › makes text bold on click ─────────────────
Error: page.waitForSelector: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('iframe[name="ace_outer"]') to be visible
at helper/padHelper.ts:120
118 | const padId = "FRONTEND_TESTS"+randomUUID();
119 | await page.goto('http://localhost:9001/p/'+padId);
> 120 | await page.waitForSelector('iframe[name="ace_outer"]');
| ^
121 | return padId;
122 | }
123 |
at goToNewPad (/home/runner/work/ep_align/ep_align/src/tests/frontend-new/helper/padHelper.ts:120:16)
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/bold.spec.ts:7:5
|
[chromium] › specs/change_user_color.spec.ts:59:9 › change user color › Own user color is shown when you enter a chat:
src/tests/frontend-new/specs/change_user_color.spec.ts#L4
2) [chromium] › specs/change_user_color.spec.ts:59:9 › change user color › Own user color is shown when you enter a chat
Test timeout of 90000ms exceeded while running "beforeEach" hook.
2 | import {goToNewPad, sendChatMessage, showChat} from "../helper/padHelper";
3 |
> 4 | test.beforeEach(async ({page}) => {
| ^
5 | await goToNewPad(page);
6 | })
7 |
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/change_user_color.spec.ts:4:6
|
[chromium] › specs/change_user_color.spec.ts:59:9 › change user color › Own user color is shown when you enter a chat:
src/tests/frontend-new/helper/padHelper.ts#L120
2) [chromium] › specs/change_user_color.spec.ts:59:9 › change user color › Own user color is shown when you enter a chat
Error: page.waitForSelector: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('iframe[name="ace_outer"]') to be visible
at helper/padHelper.ts:120
118 | const padId = "FRONTEND_TESTS"+randomUUID();
119 | await page.goto('http://localhost:9001/p/'+padId);
> 120 | await page.waitForSelector('iframe[name="ace_outer"]');
| ^
121 | return padId;
122 | }
123 |
at goToNewPad (/home/runner/work/ep_align/ep_align/src/tests/frontend-new/helper/padHelper.ts:120:16)
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/change_user_color.spec.ts:5:5
|
[chromium] › specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat:
src/tests/frontend-new/specs/change_user_name.spec.ts#L5
3) [chromium] › specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat
Test timeout of 90000ms exceeded while running "beforeEach" hook.
3 | import {goToNewPad, sendChatMessage, setUserName, showChat, toggleUserList} from "../helper/padHelper";
4 |
> 5 | test.beforeEach(async ({ page })=>{
| ^
6 | // create a new pad before each test run
7 | await goToNewPad(page);
8 | })
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/change_user_name.spec.ts:5:6
|
[chromium] › specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat:
src/tests/frontend-new/helper/padHelper.ts#L120
3) [chromium] › specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat
Error: page.waitForSelector: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('iframe[name="ace_outer"]') to be visible
at helper/padHelper.ts:120
118 | const padId = "FRONTEND_TESTS"+randomUUID();
119 | await page.goto('http://localhost:9001/p/'+padId);
> 120 | await page.waitForSelector('iframe[name="ace_outer"]');
| ^
121 | return padId;
122 | }
123 |
at goToNewPad (/home/runner/work/ep_align/ep_align/src/tests/frontend-new/helper/padHelper.ts:120:16)
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/change_user_name.spec.ts:7:5
|
[chromium] › specs/chat.spec.ts:22:5 › opens chat:
src/tests/frontend-new/specs/chat.spec.ts#L34
4) [chromium] › specs/chat.spec.ts:22:5 › opens chat, sends a message, makes sure it exists on the page and hides chat
Error: expect(received).toBe(expected) // Object.is equality
Expected: "unnamed:"
Received: "undefined:"
32 | const chatMessage = await getChatMessage(page)
33 |
> 34 | expect(username).toBe('unnamed:');
| ^
35 | const regex = new RegExp('^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$');
36 | expect(time).toMatch(regex);
37 | expect(chatMessage).toBe(" "+chatValue);
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/chat.spec.ts:34:22
|
[chromium] › specs/chat.spec.ts:78:5 › makes chat stick to right side of the screen via icon on the top right:
src/tests/frontend-new/specs/chat.spec.ts#L17
5) [chromium] › specs/chat.spec.ts:78:5 › makes chat stick to right side of the screen via icon on the top right, remove sticky via icon, close it
Test timeout of 90000ms exceeded while running "beforeEach" hook.
15 |
16 |
> 17 | test.beforeEach(async ({ page })=>{
| ^
18 | await goToNewPad(page);
19 | })
20 |
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/chat.spec.ts:17:6
|
[chromium] › specs/chat.spec.ts:78:5 › makes chat stick to right side of the screen via icon on the top right:
src/tests/frontend-new/helper/padHelper.ts#L120
5) [chromium] › specs/chat.spec.ts:78:5 › makes chat stick to right side of the screen via icon on the top right, remove sticky via icon, close it
Error: page.waitForSelector: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('iframe[name="ace_outer"]') to be visible
at helper/padHelper.ts:120
118 | const padId = "FRONTEND_TESTS"+randomUUID();
119 | await page.goto('http://localhost:9001/p/'+padId);
> 120 | await page.waitForSelector('iframe[name="ace_outer"]');
| ^
121 | return padId;
122 | }
123 |
at goToNewPad (/home/runner/work/ep_align/ep_align/src/tests/frontend-new/helper/padHelper.ts:120:16)
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/chat.spec.ts:18:5
|
[chromium] › specs/embed_value.spec.ts:66:17 › embed links › read and write › the share link is the actual pad url:
src/tests/frontend-new/specs/embed_value.spec.ts#L4
6) [chromium] › specs/embed_value.spec.ts:66:17 › embed links › read and write › the share link is the actual pad url
Test timeout of 90000ms exceeded while running "beforeEach" hook.
2 | import {goToNewPad} from "../helper/padHelper";
3 |
> 4 | test.beforeEach(async ({ page })=>{
| ^
5 | // create a new pad before each test run
6 | await goToNewPad(page);
7 | })
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/embed_value.spec.ts:4:6
|
backend / with Plugins
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Slow Test:
src/[chromium] › specs/collab_client.spec.ts#L1
src/[chromium] › specs/collab_client.spec.ts took 36.6s
|
frontend / test-frontend
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
frontend / test-frontend
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
🎭 Playwright Run Summary
9 flaky
[chromium] › specs/bold.spec.ts:12:9 › bold button › makes text bold on click ──────────────────
[chromium] › specs/change_user_color.spec.ts:59:9 › change user color › Own user color is shown when you enter a chat
[chromium] › specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat
[chromium] › specs/chat.spec.ts:22:5 › opens chat, sends a message, makes sure it exists on the page and hides chat
[chromium] › specs/chat.spec.ts:78:5 › makes chat stick to right side of the screen via icon on the top right, remove sticky via icon, close it
[chromium] › specs/embed_value.spec.ts:66:17 › embed links › read and write › the share link is the actual pad url
[chromium] › specs/embed_value.spec.ts:78:13 › embed links › read and write › is an iframe with the correct url parameters and correct size
[chromium] › specs/embed_value.spec.ts:97:17 › embed links › when read only option is set › the share link shows a read only url
[chromium] › specs/indentation.spec.ts:33:9 › indentation button › keeps the indent on enter for the new line
83 passed (1.8m)
|