mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
23 lines
735 B
TypeScript
23 lines
735 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
import { bootAuthenticatedPage, waitForAppReady } from '../helpers/core-rpc';
|
|
|
|
test.describe('Local model runtime flow', () => {
|
|
test('shows direct-runtime guidance instead of app-managed bootstrap controls', async ({
|
|
page,
|
|
}) => {
|
|
await bootAuthenticatedPage(page, 'pw-local-model-runtime', '/settings/local-model-debug');
|
|
await waitForAppReady(page);
|
|
|
|
const text = await page.locator('#root').innerText();
|
|
expect(
|
|
[
|
|
'Ollama runtime unavailable',
|
|
'Manage the Ollama process and model pulls outside OpenHuman',
|
|
'Ollama docs',
|
|
'Local model runtime',
|
|
].some(marker => text.includes(marker))
|
|
).toBe(true);
|
|
});
|
|
});
|