mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 12:33:16 -05:00
test(addons): expect the Host access tab last in the keyboard spec
The host access step added a fourth tab after Sources, so End now selects Host access. The spec still expected Sources and failed on every run. Assisted-by: Claude:claude-sonnet-5-5 playwright
This commit is contained in:
1 file changed
+2
-1
@@ -698,7 +698,8 @@ test.describe('Add-ons: access, keyboard, layout and language', () => {
|
||||
await expect(tab(page, 'Find add-ons')).toHaveAttribute('aria-selected', 'true')
|
||||
await expect(page).toHaveURL(/tab=browse/)
|
||||
await page.keyboard.press('End')
|
||||
await expect(tab(page, 'Sources')).toHaveAttribute('aria-selected', 'true')
|
||||
// Host access is the last tab for an administrator.
|
||||
await expect(tab(page, 'Host access')).toHaveAttribute('aria-selected', 'true')
|
||||
await page.keyboard.press('Home')
|
||||
await expect(tab(page, 'Installed')).toHaveAttribute('aria-selected', 'true')
|
||||
// The selected tab is the only one in the tab order.
|
||||
|
||||
Reference in new issue
Block a user