Bump mocha and @types/mocha #48
Annotations
10 errors, 3 warnings, and 1 notice
src/tests/frontend-new/specs/alphabet.spec.ts#L4
1) [chromium] › specs/alphabet.spec.ts:12:9 › All the alphabet works n stuff › when you enter any char it appears right
Test timeout of 90000ms exceeded while running "beforeEach" hook.
2 | import {clearPadContent, getPadBody, getPadOuter, 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/alphabet.spec.ts:4:6
|
src/tests/frontend-new/helper/padHelper.ts#L120
1) [chromium] › specs/alphabet.spec.ts:12:9 › All the alphabet works n stuff › when you enter any char it appears right
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/alphabet.spec.ts:6:5
|
src/tests/frontend-new/specs/bold.spec.ts#L6
2) [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
|
src/tests/frontend-new/helper/padHelper.ts#L120
2) [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
|
src/tests/frontend-new/specs/change_user_color.spec.ts#L4
3) [chromium] › specs/change_user_color.spec.ts:10:9 › change user color › Color picker matches original color and remembers the user color after a refresh
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
|
src/tests/frontend-new/helper/padHelper.ts#L120
3) [chromium] › specs/change_user_color.spec.ts:10:9 › change user color › Color picker matches original color and remembers the user color after a refresh
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
|
src/tests/frontend-new/specs/chat.spec.ts#L56
4) [chromium] › specs/chat.spec.ts:40:5 › makes sure that an empty message can't be sent ─────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "unnamed:"
Received: "undefined:"
54 | const chatMessage = await getChatMessage(page);
55 |
> 56 | expect(username).toBe('unnamed:');
| ^
57 | const regex = new RegExp('^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$');
58 | expect(time).toMatch(regex);
59 | expect(chatMessage).toBe(" "+chatValue);
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/chat.spec.ts:56:22
|
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
|
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
|
src/tests/frontend-new/specs/clear_authorship_color.spec.ts#L12
6) [chromium] › specs/clear_authorship_color.spec.ts:17:5 › clear authorship color ───────────────
Test timeout of 90000ms exceeded while running "beforeEach" hook.
10 | } from "../helper/padHelper";
11 |
> 12 | test.beforeEach(async ({ page })=>{
| ^
13 | // create a new pad before each test run
14 | await goToNewPad(page);
15 | })
at /home/runner/work/ep_align/ep_align/src/tests/frontend-new/specs/clear_authorship_color.spec.ts:12:6
|
src/[chromium] › specs/collab_client.spec.ts#L1
src/[chromium] › specs/collab_client.spec.ts took 40.5s
|
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/
|
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/
|
10 flaky
[chromium] › specs/alphabet.spec.ts:12:9 › All the alphabet works n stuff › when you enter any char it appears right
[chromium] › specs/bold.spec.ts:12:9 › bold button › makes text bold on click ──────────────────
[chromium] › specs/change_user_color.spec.ts:10:9 › change user color › Color picker matches original color and remembers the user color after a refresh
[chromium] › specs/chat.spec.ts:40:5 › makes sure that an empty message can't be sent ──────────
[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/clear_authorship_color.spec.ts:17:5 › clear authorship color ────────────────
[chromium] › specs/clear_authorship_color.spec.ts:41:5 › makes text clear authorship colors and checks it can't be undone
[chromium] › specs/clear_authorship_color.spec.ts:71:5 › clears authorship when first line has line attributes
[chromium] › specs/delete.spec.ts:10:5 › delete keystroke ──────────────────────────────────────
[chromium] › specs/indentation.spec.ts:33:9 › indentation button › keeps the indent on enter for the new line
82 passed (1.8m)
|
This job succeeded
Loading