fix(ci): provision real-stack browser dependencies and disambiguate runtime assertion (#2724)

Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
RockChinQ
2026-10-20 00:08:14 +08:00
committed by GitHub
co-authored by multica-agent
parent d9e4e7d9df
commit a10a6eb780
2 changed files with 21 additions and 1 deletions
+20
View File
@@ -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
+1 -1
View File
@@ -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',