Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

solid.spec.ts

11 lines335 Bytes

1import { test, expect } from '@playwright/test'
2import { DevtoolsPage } from '@tanstack/devtools-e2e'
3​
4test('devtools mount and demo plugin renders in the panel', async ({
5 page,
6}) => {
7 const dt = new DevtoolsPage(page)
8 await dt.goto()
9 await dt.openViaTrigger()
10 await expect(page.getByTestId('demo-plugin')).toBeVisible()
11})