Repository navigation
fix: add new settings keys and add a test to show that keys are not m… #9943
Annotations
4 errors, 2 warnings, and 2 notices
|
[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/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
3) [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
2) [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/admin_authors_page.spec.ts:41:3 › admin authors page › renders the localized page title:
src/tests/frontend-new/admin-spec/admin_authors_page.spec.ts#L44
1) [chromium-admin] › tests/frontend-new/admin-spec/admin_authors_page.spec.ts:41:3 › admin authors page › renders the localized page title
Error: expect(locator).toBeVisible() failed
Locator: getByRole('heading', { name: 'Authors' })
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" getByRole('heading', { name: 'Authors' }) with timeout 30000ms
- waiting for getByRole('heading', { name: 'Authors' })
42 | await page.goto(`${ADMIN_URL}/authors`);
43 | await expect(page.getByRole('heading', {name: 'Authors'}))
> 44 | .toBeVisible({timeout: 30000});
| ^
45 | });
46 |
47 | test('search filters the table to a matching author', async ({page}) => {
at /home/runner/work/etherpad/etherpad/src/tests/frontend-new/admin-spec/admin_authors_page.spec.ts:44:10
|
|
with plugins (26)
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
|
with plugins (24)
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
|
🎭 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
60 passed (2.0m)
|
|
🎭 Playwright Run Summary
3 flaky
[chromium-admin] › tests/frontend-new/admin-spec/admin_authors_page.spec.ts:41:3 › admin authors page › renders the localized page title
[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
58 passed (2.4m)
|