diff --git a/core/http/react-ui/e2e/addons-gallery.spec.js b/core/http/react-ui/e2e/addons-gallery.spec.js index ec045c920f..0631ef60bd 100644 --- a/core/http/react-ui/e2e/addons-gallery.spec.js +++ b/core/http/react-ui/e2e/addons-gallery.spec.js @@ -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.