test(e2e): Fix flakiness in host catalog navigation (#3291)

This commit is contained in:
Michael Li authored and GitHub committed 2026-06-02 15:51:42 -04:00
1 parent 5000d98e23
commit 2d0ed53202
1 file changed
+3
+3
View File
@@ -52,6 +52,9 @@ test(
.getByRole('navigation', { name: 'Primary' }) .getByRole('navigation', { name: 'Primary' })
.getByRole('link', { name: 'Host Catalogs' }) .getByRole('link', { name: 'Host Catalogs' })
.click(); .click();
await expect(
page.getByRole('heading', { name: 'Host Catalogs' }),
).toBeVisible();
await page.getByRole('link', { name: hostCatalogName }).click(); await page.getByRole('link', { name: hostCatalogName }).click();
const hostSetName2 = await hostCatalogsPage.createHostSet(); const hostSetName2 = await hostCatalogsPage.createHostSet();