feat: add reasoning tests (#856)

This commit is contained in:
Jeremy 2025-03-09 21:02:19 -07:00 committed by GitHub
parent 39729644df
commit 9628c54755
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 420 additions and 155 deletions

View file

@ -49,19 +49,38 @@ export default defineConfig({
timeout: 30000,
},
/* Configure projects for major browsers */
/* Configure projects */
projects: [
{
name: 'setup',
testMatch: /.*\.setup\.ts/,
name: 'setup:auth',
testMatch: /auth.setup.ts/,
},
{
name: 'chromium',
name: 'setup:reasoning',
testMatch: /reasoning.setup.ts/,
dependencies: ['setup:auth'],
use: {
...devices['Desktop Chrome'],
storageState: 'playwright/.auth/user.json',
storageState: 'playwright/.auth/session.json',
},
},
{
name: 'chat',
testMatch: /chat.test.ts/,
dependencies: ['setup:auth'],
use: {
...devices['Desktop Chrome'],
storageState: 'playwright/.auth/session.json',
},
},
{
name: 'reasoning',
testMatch: /reasoning.test.ts/,
dependencies: ['setup:reasoning'],
use: {
...devices['Desktop Chrome'],
storageState: 'playwright/.reasoning/session.json',
},
dependencies: ['setup'],
},
// {