mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
fix(web): restore consistent app header layout
Generated-By: looper 0.7.2 (runner=fixer, agent=opencode)
This commit is contained in:
@@ -401,8 +401,8 @@ export function EntryView({
|
||||
actions={(
|
||||
<SettingsIconButton
|
||||
onClick={() => onOpenSettings()}
|
||||
title={t('settings.envConfigure')}
|
||||
ariaLabel={t('settings.envConfigure')}
|
||||
title={t('entry.openSettingsTitle')}
|
||||
ariaLabel={t('entry.openSettingsAria')}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
||||
@@ -43,7 +43,6 @@ test('pet pill toggle hides and shows the pet rail', async ({ page }) => {
|
||||
await expect(page.getByTestId('new-project-panel')).toBeVisible();
|
||||
await expect(page.locator('.app-chrome-header')).toBeVisible();
|
||||
await expect(page.locator('.app-chrome-name')).toHaveText('Open Design');
|
||||
await expect(page.locator('.entry-brand')).toHaveCount(0);
|
||||
await expect(page.locator('.pet-rail')).toBeVisible();
|
||||
|
||||
const hideToggle = page.locator('.pet-pill-toggle');
|
||||
|
||||
@@ -196,10 +196,9 @@ test('connectors search supports empty results and keyboard-closeable details',
|
||||
|
||||
await page.goto('/');
|
||||
// Connector cards + search now live under Settings → Connectors. Open the
|
||||
// settings dialog via the entry sidebar's "Configure execution mode" pill
|
||||
// and switch to the Connectors section before exercising the
|
||||
// settings dialog and switch to the Connectors section before exercising the
|
||||
// search/empty/details flow.
|
||||
await page.getByRole('button', { name: 'Configure execution mode' }).click();
|
||||
await page.getByRole('button', { name: 'Open settings' }).click();
|
||||
const settingsDialog = page.getByRole('dialog');
|
||||
await expect(settingsDialog).toBeVisible();
|
||||
await settingsDialog.getByRole('button', { name: /^Connectors\b/ }).click();
|
||||
@@ -254,7 +253,7 @@ test('saving a Composio key from Settings unlocks the connectors gate immediatel
|
||||
});
|
||||
|
||||
await gotoEntryHome(page);
|
||||
await page.getByRole('button', { name: 'Configure execution mode' }).click();
|
||||
await page.getByRole('button', { name: 'Open settings' }).click();
|
||||
const settingsDialog = page.getByRole('dialog');
|
||||
await expect(settingsDialog).toBeVisible();
|
||||
await settingsDialog.getByRole('button', { name: /^Connectors\b/ }).click();
|
||||
@@ -316,7 +315,7 @@ test('typing a draft replacement Composio key does not trigger global autosave',
|
||||
});
|
||||
|
||||
await gotoEntryHome(page);
|
||||
await page.getByRole('button', { name: 'Configure execution mode' }).click();
|
||||
await page.getByRole('button', { name: 'Open settings' }).click();
|
||||
const settingsDialog = page.getByRole('dialog');
|
||||
await expect(settingsDialog).toBeVisible();
|
||||
await settingsDialog.getByRole('button', { name: /^Connectors\b/ }).click();
|
||||
|
||||
Reference in New Issue
Block a user