test: fix settings E2E spec — use button selector for Tenant tab
This commit is contained in:
@@ -13,7 +13,8 @@ test.describe('Settings', () => {
|
||||
|
||||
test('tenant settings section visible', async ({ page }) => {
|
||||
await page.waitForTimeout(2000);
|
||||
await expect(page.locator('text=Tenant, text=Organization, text=ISP Name').first()).toBeVisible();
|
||||
// Tenant tab in sidebar nav
|
||||
await expect(page.locator('button:has-text("Tenant"), a:has-text("Tenant")').first()).toBeVisible();
|
||||
});
|
||||
|
||||
test('billing settings section visible', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user