fix: fixed #2402 #658
Annotations
1 error, 3 warnings, and 1 notice
test/playwright-tests/virtual-keyboard.spec.ts#L19
1) [chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ────────────
Error: locator.click: Error: strict mode violation: getByText('zZ') resolved to 2 elements:
1) <div tabindex="-1" id="ML__kcf1r4l" class="hide-shift…>…</div> aka getByText('zZ').first()
2) <div tabindex="-1" id="ML__kcf1r4l" class="hide-shift…>…</div> aka getByText('zZ').nth(1)
Call log:
- waiting for getByText('zZ')
17 | async function virtualKeyboardSample1(page: Page) {
18 | await page.getByRole('toolbar').getByText('abc').click();
> 19 | await page.getByText('zZ').click();
| ^
20 | await page.getByRole('toolbar').getByText('123').click();
21 | await page.getByText('=≠').first().click();
22 | await page.getByText('1■−1').click();
at virtualKeyboardSample1 (/home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:19:30)
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:45:27
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
|
[webkit] › physical-keyboard.spec.ts#L1
[webkit] › physical-keyboard.spec.ts took 15.2s
|
|
This job succeeded
Loading