mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-22 08:25:21 +08:00
fix(ci): provision real-stack browser dependencies and disambiguate runtime assertion (#2724)
Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
co-authored by
multica-agent
parent
d9e4e7d9df
commit
a10a6eb780
@@ -200,6 +200,26 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: uv sync --dev
|
||||
|
||||
- name: Set up Node.js for real-stack browser tests
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '25'
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 8.9.2
|
||||
|
||||
- name: Install frontend dependencies and Chromium
|
||||
working-directory: web
|
||||
run: |
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm exec playwright install --with-deps chromium
|
||||
|
||||
- name: Build frontend for real-stack browser tests
|
||||
working-directory: web
|
||||
run: pnpm build
|
||||
|
||||
- name: Run E2E startup tests
|
||||
run: uv run pytest tests/e2e -m "not local_agent" -q --tb=short
|
||||
|
||||
|
||||
@@ -312,7 +312,7 @@ test.describe('frontend CRUD smoke flows', () => {
|
||||
).toBeVisible();
|
||||
await page.getByRole('tab', { name: /^AI$/ }).click();
|
||||
|
||||
await expect(page.getByText('Runtime')).toBeVisible();
|
||||
await expect(page.getByText('Runtime', { exact: true })).toBeVisible();
|
||||
await expect(
|
||||
page.locator('[data-slot="card-title"]').filter({
|
||||
hasText: 'Local Agent',
|
||||
|
||||
Reference in New Issue
Block a user