Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test test fails #140

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions galata/test/jupyterlab/notebook-search.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,15 @@
// Should reset the search to a clean state
await page.locator('text=-/-').waitFor();
});
test('Consecutive searches in the search box', async ({ page }) => {
await page.keyboard.press('Control+f');

await page.fill('[placeholder="Find"]', 'jupyter');
await page.keyboard.press('Control+f');
await page.locator('[placeholder="Find"]').pressSequentially('jupyter');

await expect(page.locator('[placeholder="Find"]')).toHaveValue('jupyter');

Check failure on line 208 in galata/test/jupyterlab/notebook-search.test.ts

View workflow job for this annotation

GitHub Actions / Visual Regression Tests

[jupyterlab] › test/jupyterlab/notebook-search.test.ts:201:7 › Notebook Search › Consecutive searches in the search box

1) [jupyterlab] › test/jupyterlab/notebook-search.test.ts:201:7 › Notebook Search › Consecutive searches in the search box Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[placeholder="Find"]') Expected string: "jupyter" Received string: "upyter" Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('[placeholder="Find"]') - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" 206 | await page.locator('[placeholder="Find"]').pressSequentially('jupyter'); 207 | > 208 | await expect(page.locator('[placeholder="Find"]')).toHaveValue('jupyter'); | ^ 209 | }); 210 | test('Close with Escape', async ({ page }) => { 211 | // Open search box at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-search.test.ts:208:56

Check failure on line 208 in galata/test/jupyterlab/notebook-search.test.ts

View workflow job for this annotation

GitHub Actions / Visual Regression Tests

[jupyterlab] › test/jupyterlab/notebook-search.test.ts:201:7 › Notebook Search › Consecutive searches in the search box

1) [jupyterlab] › test/jupyterlab/notebook-search.test.ts:201:7 › Notebook Search › Consecutive searches in the search box Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[placeholder="Find"]') Expected string: "jupyter" Received string: "upyter" Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('[placeholder="Find"]') - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" - locator resolved to <textarea rows="1" tabindex="0" title="Find" placeholder="Find" class="jp-DocumentSearch-input">jupyter</textarea> - unexpected value "upyter" 206 | await page.locator('[placeholder="Find"]').pressSequentially('jupyter'); 207 | > 208 | await expect(page.locator('[placeholder="Find"]')).toHaveValue('jupyter'); | ^ 209 | }); 210 | test('Close with Escape', async ({ page }) => { 211 | // Open search box at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-search.test.ts:208:56
});
test('Close with Escape', async ({ page }) => {
// Open search box
await page.keyboard.press('Control+f');
Expand Down
Loading