Skip to content

Commit e71fc9e

Browse files
committed
fix dom to see combobox as textbox since chromium only allows that
1 parent 2354de7 commit e71fc9e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/playwright/ollama-interactive.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ test.describe('Ollama Gradio Interactive Task', () => {
5656
name: 'Configure Task',
5757
});
5858
await expect(configDialog).toBeVisible({ timeout: 10000 });
59+
// Chrome reports the freeSolo Autocomplete as 'textbox' when no history items are loaded.
5960
await configDialog
6061
.getByRole('combobox', { name: 'Model Name' })
62+
.or(configDialog.getByRole('textbox', { name: 'Model Name' }))
6163
.fill('smollm:135m');
6264

6365
// ── Step 3: Launch the task ──

0 commit comments

Comments
 (0)