Skip to content

chore(lint): add eslint-plugin-node-security so timing-unsafe compares are caught before review #9969

chore(lint): add eslint-plugin-node-security so timing-unsafe compares are caught before review

chore(lint): add eslint-plugin-node-security so timing-unsafe compares are caught before review #9969

Triggered via pull request November 30, 2026 04:37
Status Success
Total duration 3m 21s
Artifacts –

frontend-admin-tests.yml

on: pull_request
Matrix: with plugins
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 2 notices
[chromium-admin] › tests/frontend-new/admin-spec/focusloss.spec.ts:18:1 › editing a sibling array element does not lose focus on the focused one: src/tests/frontend-new/helper/adminhelper.ts#L5
2) [chromium-admin] › tests/frontend-new/admin-spec/focusloss.spec.ts:18:1 › editing a sibling array element does not lose focus on the focused one Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:9001/admin/login Call log: - navigating to "http://localhost:9001/admin/login", waiting until "load" at tests/frontend-new/helper/adminhelper.ts:5 3 | export const loginToAdmin = async (page: Page, username: string, password: string) => { 4 | > 5 | await page.goto('http://localhost:9001/admin/login'); | ^ 6 | 7 | await page.waitForSelector('input[name="username"]'); 8 | await page.fill('input[name="username"]', username); at loginToAdmin (/home/runner/work/etherpad/etherpad/src/tests/frontend-new/helper/adminhelper.ts:5:14) at /home/runner/work/etherpad/etherpad/src/tests/frontend-new/admin-spec/focusloss.spec.ts:5:9
[chromium-admin] › tests/frontend-new/admin-spec/adminsettings.spec.ts:187:3 › admin settings › form view derives label + help text from key comment: src/tests/frontend-new/admin-spec/adminsettings.spec.ts#L212
1) [chromium-admin] › tests/frontend-new/admin-spec/adminsettings.spec.ts:187:3 › admin settings › form view derives label + help text from key comment Error: expect(locator).toContainText(expected) failed Locator: locator('label[for="field-title"]').locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]') Expected substring: "CustomTitleLabel" Received string: "Name your instance!" Timeout: 20000ms Call log: - Expect "toContainText" locator('label[for="field-title"]').locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]') with timeout 20000ms - waiting for locator('label[for="field-title"]').locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]') 44 × locator resolved to <div class="settings-row" id="settings-row-title">…</div> - unexpected value "Name your instance!" 210 | await expect(titleLabel).toBeVisible({timeout: 10000}); 211 | const titleRow = titleLabel.locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]'); > 212 | await expect(titleRow).toContainText('CustomTitleLabel'); | ^ 213 | await expect(titleRow).toContainText('ExtraHelpMarker'); 214 | 215 | // Restore at /home/runner/work/etherpad/etherpad/src/tests/frontend-new/admin-spec/adminsettings.spec.ts:212:28
[chromium-admin] › tests/frontend-new/admin-spec/adminsettings.spec.ts:187:3 › admin settings › form view derives label + help text from key comment: src/tests/frontend-new/admin-spec/adminsettings.spec.ts#L212
1) [chromium-admin] › tests/frontend-new/admin-spec/adminsettings.spec.ts:187:3 › admin settings › form view derives label + help text from key comment Error: expect(locator).toContainText(expected) failed Locator: locator('label[for="field-title"]').locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]') Expected substring: "CustomTitleLabel" Received string: "Name your instance!" Timeout: 20000ms Call log: - Expect "toContainText" locator('label[for="field-title"]').locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]') with timeout 20000ms - waiting for locator('label[for="field-title"]').locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]') 44 × locator resolved to <div class="settings-row" id="settings-row-title">…</div> - unexpected value "Name your instance!" 210 | await expect(titleLabel).toBeVisible({timeout: 10000}); 211 | const titleRow = titleLabel.locator('xpath=ancestor::*[contains(@Class,"settings-row")][1]'); > 212 | await expect(titleRow).toContainText('CustomTitleLabel'); | ^ 213 | await expect(titleRow).toContainText('ExtraHelpMarker'); 214 | 215 | // Restore at /home/runner/work/etherpad/etherpad/src/tests/frontend-new/admin-spec/adminsettings.spec.ts:212:28
with plugins (24)
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
with plugins (26)
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
2 flaky [chromium-admin] › tests/frontend-new/admin-spec/adminsettings.spec.ts:187:3 › admin settings › form view derives label + help text from key comment [chromium-admin] › tests/frontend-new/admin-spec/focusloss.spec.ts:18:1 › editing a sibling array element does not lose focus on the focused one 64 passed (1.9m)
🎭 Playwright Run Summary
1 flaky [chromium-admin] › tests/frontend-new/admin-spec/adminsettings.spec.ts:187:3 › admin settings › form view derives label + help text from key comment 65 passed (2.0m)