fix: do not escape text twice #5643
automated-tests.yml
on: pull_request
build-install-and-test
1h 24m
Annotations
7 errors, 3 warnings, and 1 notice
[Chromium] › presentation/presentation.spec.js:37:3 › Presentation › Presentation fullscreen @ci:
bigbluebutton-tests/playwright/core/page.js#L133
1) [Chromium] › presentation/presentation.spec.js:37:3 › Presentation › Presentation fullscreen @ci
page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('li[data-test="presentationFullscreen"]') to be visible
locator resolved to 4 elements. Proceeding with the first one.
locator resolved to hidden <li emoji="no" tabindex="0" role="menuitem" aria-dis…>…</li>
============================================================
at core/page.js:133
131 |
132 | async waitForSelector(selector, timeout = ELEMENT_WAIT_TIME) {
> 133 | await this.page.waitForSelector(selector, { timeout });
| ^
134 | }
135 |
136 | async waitForSelectorDetached(selector, timeout = ELEMENT_WAIT_TIME) {
at Page.waitForSelector (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:133:21)
at Page.waitAndClick (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:167:16)
at Presentation.presentationFullscreen (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.js:216:24)
at /home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.spec.js:40:5
|
[Chromium] › presentation/presentation.spec.js:37:3 › Presentation › Presentation fullscreen @ci:
bigbluebutton-tests/playwright/core/page.js#L133
1) [Chromium] › presentation/presentation.spec.js:37:3 › Presentation › Presentation fullscreen @ci
Retry #1 ---------------------------------------------------------------------------------------
page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('li[data-test="presentationFullscreen"]') to be visible
locator resolved to 4 elements. Proceeding with the first one.
locator resolved to hidden <li emoji="no" tabindex="0" role="menuitem" aria-dis…>…</li>
============================================================
at core/page.js:133
131 |
132 | async waitForSelector(selector, timeout = ELEMENT_WAIT_TIME) {
> 133 | await this.page.waitForSelector(selector, { timeout });
| ^
134 | }
135 |
136 | async waitForSelectorDetached(selector, timeout = ELEMENT_WAIT_TIME) {
at Page.waitForSelector (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:133:21)
at Page.waitAndClick (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:167:16)
at Presentation.presentationFullscreen (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.js:216:24)
at /home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.spec.js:40:5
|
[Chromium] › presentation/presentation.spec.js:43:3 › Presentation › Presentation snapshot @ci:
bigbluebutton-tests/playwright/core/page.js#L52
2) [Chromium] › presentation/presentation.spec.js:43:3 › Presentation › Presentation snapshot @ci
locator.click: Error: strict mode violation: locator('li[data-test="presentationSnapshot"]') resolved to 4 elements:
1) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').first()
2) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(1)
3) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(2)
4) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka getByRole('menuitem', { name: ' Snapshot of current slide' })
=========================== logs ===========================
waiting for locator('li[data-test="presentationSnapshot"]')
strict mode violation: locator('li[data-test="presentationSnapshot"]') resolved to 4 elements:
1) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').first()
2) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(1)
3) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(2)
4) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka getByRole('menuitem', { name: ' Snapshot of current slide' })
============================================================
at core/page.js:52
50 | const [download] = await Promise.all([
51 | this.page.waitForEvent('download', { timeout }),
> 52 | locator.click({ timeout }),
| ^
53 | ]);
54 | await expect(download).toBeTruthy();
55 | const filePath = await download.path();
at Page.handleDownload (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:52:15)
at Presentation.presentationSnapshot (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.js:228:24)
at /home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.spec.js:46:5
|
[Chromium] › presentation/presentation.spec.js:43:3 › Presentation › Presentation snapshot @ci:
bigbluebutton-tests/playwright/core/page.js#L52
2) [Chromium] › presentation/presentation.spec.js:43:3 › Presentation › Presentation snapshot @ci
Retry #1 ---------------------------------------------------------------------------------------
locator.click: Error: strict mode violation: locator('li[data-test="presentationSnapshot"]') resolved to 4 elements:
1) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').first()
2) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(1)
3) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(2)
4) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka getByRole('menuitem', { name: ' Snapshot of current slide' })
=========================== logs ===========================
waiting for locator('li[data-test="presentationSnapshot"]')
strict mode violation: locator('li[data-test="presentationSnapshot"]') resolved to 4 elements:
1) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').first()
2) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(1)
3) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka locator('[data-test="presentationSnapshot"]').nth(2)
4) <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li> aka getByRole('menuitem', { name: ' Snapshot of current slide' })
============================================================
at core/page.js:52
50 | const [download] = await Promise.all([
51 | this.page.waitForEvent('download', { timeout }),
> 52 | locator.click({ timeout }),
| ^
53 | ]);
54 | await expect(download).toBeTruthy();
55 | const filePath = await download.path();
at Page.handleDownload (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:52:15)
at Presentation.presentationSnapshot (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.js:228:24)
at /home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.spec.js:46:5
|
[Chromium] › presentation/presentation.spec.js:49:3 › Presentation › Hide Presentation Toolbar @ci:
bigbluebutton-tests/playwright/core/page.js#L133
3) [Chromium] › presentation/presentation.spec.js:49:3 › Presentation › Hide Presentation Toolbar @ci
page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('li[data-test="toolVisibility"]') to be visible
locator resolved to 4 elements. Proceeding with the first one.
locator resolved to hidden <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li>
============================================================
at core/page.js:133
131 |
132 | async waitForSelector(selector, timeout = ELEMENT_WAIT_TIME) {
> 133 | await this.page.waitForSelector(selector, { timeout });
| ^
134 | }
135 |
136 | async waitForSelectorDetached(selector, timeout = ELEMENT_WAIT_TIME) {
at Page.waitForSelector (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:133:21)
at Page.waitAndClick (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:167:16)
at Presentation.hidePresentationToolbar (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.js:233:24)
at /home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.spec.js:52:5
|
[Chromium] › presentation/presentation.spec.js:49:3 › Presentation › Hide Presentation Toolbar @ci:
bigbluebutton-tests/playwright/core/page.js#L133
3) [Chromium] › presentation/presentation.spec.js:49:3 › Presentation › Hide Presentation Toolbar @ci
Retry #1 ---------------------------------------------------------------------------------------
page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('li[data-test="toolVisibility"]') to be visible
locator resolved to 4 elements. Proceeding with the first one.
locator resolved to hidden <li emoji="no" tabindex="-1" role="menuitem" aria-di…>…</li>
============================================================
at core/page.js:133
131 |
132 | async waitForSelector(selector, timeout = ELEMENT_WAIT_TIME) {
> 133 | await this.page.waitForSelector(selector, { timeout });
| ^
134 | }
135 |
136 | async waitForSelectorDetached(selector, timeout = ELEMENT_WAIT_TIME) {
at Page.waitForSelector (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:133:21)
at Page.waitAndClick (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/core/page.js:167:16)
at Presentation.hidePresentationToolbar (/home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.js:233:24)
at /home/runner/work/bigbluebutton/bigbluebutton/bigbluebutton-tests/playwright/presentation/presentation.spec.js:52:5
|
build-install-and-test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
3 failed
[Chromium] › presentation/presentation.spec.js:37:3 › Presentation › Presentation fullscreen @ci
[Chromium] › presentation/presentation.spec.js:43:3 › Presentation › Presentation snapshot @ci =
[Chromium] › presentation/presentation.spec.js:49:3 › Presentation › Hide Presentation Toolbar @ci
1 skipped
142 passed (35m)
|
Slow Test:
bigbluebutton-tests/playwright/[Chromium] › polling/polling.spec.js#L1
bigbluebutton-tests/playwright/[Chromium] › polling/polling.spec.js took 38s
|
Slow Test:
bigbluebutton-tests/playwright/[Chromium] › learningdashboard/learningdashboard.spec.js#L1
bigbluebutton-tests/playwright/[Chromium] › learningdashboard/learningdashboard.spec.js took 31s
|
Slow Test:
bigbluebutton-tests/playwright/[Chromium] › chat/chat.spec.js#L1
bigbluebutton-tests/playwright/[Chromium] › chat/chat.spec.js took 22s
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifacts.tar
Expired
|
773 MB |
|
bbb-configs
Expired
|
46 KB |
|
bbb-logs
Expired
|
2.7 MB |
|
tests-report
Expired
|
264 MB |
|