fix(web): keep extension market navigable at quota (#2390)

Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
This commit is contained in:
Hyu
2026-08-03 20:10:46 +08:00
committed by GitHub
parent f0b2c103c1
commit 6bad7bcffc
5 changed files with 22 additions and 27 deletions
+3 -2
View File
@@ -119,7 +119,7 @@ test('quota-reached create actions are disabled and explain the current limit',
await expect(botCreate).toBeDisabled();
await expect(pipelineCreate).toBeDisabled();
await expect(knowledgeCreate).toBeDisabled();
await expect(addExtension).toBeDisabled();
await expect(addExtension).toBeEnabled();
const botQuotaTrigger = botCreate.locator('..');
await botQuotaTrigger.hover();
@@ -136,7 +136,8 @@ test('quota-reached create actions are disabled and explain the current limit',
),
).toBeVisible();
await page.goto('/home/add-extension');
await addExtension.click();
await expect(page).toHaveURL(/\/home\/add-extension$/);
const manualAdd = page.getByRole('button', { name: 'Manual Add' });
await expect(manualAdd).toBeDisabled();
await manualAdd.locator('..').hover();