build(deps): bump github/codeql-action from 3 to 4 #5926
Annotations
10 errors, 4 warnings, and 1 notice
Run the frontend tests:
src/tests/frontend-new/specs/unordered_list.spec.ts#L87
6) [chromium] › tests/frontend-new/specs/unordered_list.spec.ts:79:13 › unordered_list.js › Pressing Tab in an UL increases and decreases indentation › indent and de-indent list item with keypress
Error: locator.selectText: Element is not attached to the DOM
Call log:
- attempting selectText action
- waiting for element to be visible
85 |
86 | // select this text element
> 87 | await $firstTextElement.selectText();
| ^
88 |
89 | const $insertunorderedlistButton = page.locator('.buttonicon-insertunorderedlist');
90 | await $insertunorderedlistButton.click();
at /home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/unordered_list.spec.ts:87:37
|
Run the frontend tests:
src/tests/frontend-new/specs/undo.spec.ts#L54
5) [chromium] › tests/frontend-new/specs/undo.spec.ts:36:9 › undo button › undo some typing using a keypress
Error: expect(locator).toHaveText(expected) failed
Locator: locator('#innerdocbody').locator('div').first()
Expected string: ""
Received string: "fo"
Timeout: 20000ms
Call log:
- Expect "toHaveText" with timeout 20000ms
- waiting for locator('#innerdocbody').locator('div').first()
24 × locator resolved to <div class="ace-line" id="magicdomid12" aria-live="assertive">…</div>
- unexpected value "fo"
52 | await page.waitForTimeout(1000)
53 |
> 54 | await expect(firstTextElement).toHaveText(originalValue!);
| ^
55 | });
56 | });
57 |
at /home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/undo.spec.ts:54:40
|
Run the frontend tests:
src/tests/frontend-new/helper/padHelper.ts#L120
4) [chromium] › tests/frontend-new/specs/chat.spec.ts:40:5 › makes sure that an empty message can't be sent
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/etherpad-lite/etherpad-lite/src/tests/frontend-new/helper/padHelper.ts:120:16)
at /home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/chat.spec.ts:18:5
|
Run the frontend tests:
src/tests/frontend-new/specs/chat.spec.ts#L17
4) [chromium] › tests/frontend-new/specs/chat.spec.ts:40:5 › makes sure that an empty message can't be sent
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/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/chat.spec.ts:17:6
|
Run the frontend tests:
src/tests/frontend-new/helper/padHelper.ts#L73
3) [chromium] › tests/frontend-new/specs/chat.spec.ts:22:5 › opens chat, sends a message, makes sure it exists on the page and hides chat
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at helper/padHelper.ts:73
71 | await page.keyboard.press('Enter')
72 | if(message === "") return
> 73 | await page.waitForFunction(`document.querySelector('#chattext').querySelectorAll('p').length >${currentChatCount}`)
| ^
74 | }
75 |
76 | export const isChatBoxShown = async (page: Page):Promise<boolean> => {
at sendChatMessage (/home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/helper/padHelper.ts:73:16)
at /home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/chat.spec.ts:27:5
|
Run the frontend tests:
src/tests/frontend-new/specs/chat.spec.ts#L0
3) [chromium] › tests/frontend-new/specs/chat.spec.ts:22:5 › opens chat, sends a message, makes sure it exists on the page and hides chat
Test timeout of 90000ms exceeded.
|
Run the frontend tests:
src/tests/frontend-new/helper/padHelper.ts#L73
2) [chromium] › tests/frontend-new/specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at helper/padHelper.ts:73
71 | await page.keyboard.press('Enter')
72 | if(message === "") return
> 73 | await page.waitForFunction(`document.querySelector('#chattext').querySelectorAll('p').length >${currentChatCount}`)
| ^
74 | }
75 |
76 | export const isChatBoxShown = async (page: Page):Promise<boolean> => {
at sendChatMessage (/home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/helper/padHelper.ts:73:16)
at /home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/change_user_name.spec.ts:31:5
|
Run the frontend tests:
src/tests/frontend-new/specs/change_user_name.spec.ts#L0
2) [chromium] › tests/frontend-new/specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat
Test timeout of 90000ms exceeded.
|
Run the frontend tests:
src/tests/frontend-new/helper/padHelper.ts#L20
1) [chromium] › tests/frontend-new/specs/change_user_name.spec.ts:11:5 › Remembers the username after a refresh
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('button[data-l10n-id=\'pad.toolbar.showusers.title\']')
- locator resolved to <button title="Show the users on this pad" aria-label="Show the users on this pad" class=" buttonicon buttonicon-showusers" data-l10n-id="pad.toolbar.showusers.title"></button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
167 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
at helper/padHelper.ts:20
18 |
19 | export const toggleUserList = async (page: Page) => {
> 20 | await page.locator("button[data-l10n-id='pad.toolbar.showusers.title']").click()
| ^
21 | }
22 |
23 | export const setUserName = async (page: Page, userName: string) => {
at toggleUserList (/home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/helper/padHelper.ts:20:78)
at /home/runner/work/etherpad-lite/etherpad-lite/src/tests/frontend-new/specs/change_user_name.spec.ts:17:25
|
Run the frontend tests:
src/tests/frontend-new/specs/change_user_name.spec.ts#L0
1) [chromium] › tests/frontend-new/specs/change_user_name.spec.ts:11:5 › Remembers the username after a refresh
Test timeout of 90000ms exceeded.
|
Run actions/upload-artifact@v4
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
export GIT_HASH to env
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/
|
Generate Sauce Labs strings
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/
|
Generate Sauce Labs strings
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/
|
Run the frontend tests
6 flaky
[chromium] › tests/frontend-new/specs/change_user_name.spec.ts:11:5 › Remembers the username after a refresh
[chromium] › tests/frontend-new/specs/change_user_name.spec.ts:23:5 › Own user name is shown when you enter a chat
[chromium] › tests/frontend-new/specs/chat.spec.ts:22:5 › opens chat, sends a message, makes sure it exists on the page and hides chat
[chromium] › tests/frontend-new/specs/chat.spec.ts:40:5 › makes sure that an empty message can't be sent
[chromium] › tests/frontend-new/specs/undo.spec.ts:36:9 › undo button › undo some typing using a keypress
[chromium] › tests/frontend-new/specs/unordered_list.spec.ts:79:13 › unordered_list.js › Pressing Tab in an UL increases and decreases indentation › indent and de-indent list item with keypress
87 passed (1.7m)
|
Loading