mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
26 lines
921 B
TypeScript
26 lines
921 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
import {
|
|
bootAuthenticatedPage,
|
|
dismissWalkthroughIfPresent,
|
|
waitForAppReady,
|
|
} from '../helpers/core-rpc';
|
|
|
|
test.describe('Settings - Developer Options', () => {
|
|
test.beforeEach(async ({ page }) => {
|
|
await bootAuthenticatedPage(page, 'pw-settings-dev-user');
|
|
});
|
|
|
|
test('mounts Memory Debug panel', async ({ page }) => {
|
|
await page.goto('/#/settings/memory-debug');
|
|
await waitForAppReady(page);
|
|
await dismissWalkthroughIfPresent(page);
|
|
|
|
await expect(page.getByTestId('memory-debug-panel')).toBeVisible();
|
|
await expect(page.getByRole('heading', { name: 'Documents', exact: true })).toBeVisible();
|
|
await expect(page.getByRole('heading', { name: 'Namespaces', exact: true })).toBeVisible();
|
|
await expect(page.getByText('Query & Recall')).toBeVisible();
|
|
await expect(page.getByText('Clear Namespace')).toBeVisible();
|
|
});
|
|
});
|