mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
fix playwright tests
This was an unrelated issue on main Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
14f5315ab0
commit
8cab4e6caa
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export const test = base.extend<TestFixtures>({
|
|||
await context.route('**/gtag/**', (route) => route.abort());
|
||||
|
||||
// Track responses for debugging in CI
|
||||
if (process.env.CI) {
|
||||
if (typeof process !== 'undefined' && process.env?.CI) {
|
||||
page.on('response', (response) => {
|
||||
if (response.url().includes('/api/sessions') && response.request().method() === 'POST') {
|
||||
response
|
||||
|
|
|
|||
Loading…
Reference in a new issue