Skip to content

[Bug]: --ui mode has 403/500 errors, no actions shown #40950

@johnstonphilip

Description

@johnstonphilip

Version

1.60.0

Steps to reproduce

  1. In a project where --ui mode was previously working, run it in --ui mode
  2. While the tests run, notice that the actions area is blank
  3. In the browser console, notice many 403/500 errors.

I can see this was also mentioned here (which is not my repo)
nrwl/nx#35748

Their solution to add this workaround in playwright.config.ts fixed it for me:

import { defineConfig } from '@playwright/test';

export default defineConfig({
  // Bypassing the dist/ cache prevents the 403/500 errors in UI mode
  outputDir: './test-results', 
  use: {
    trace: 'on', 
  },
  // ...
});

Expected behavior

I expect --ui mode to show actions and UI panels as they previously did

Actual behavior

In --ui mode the actions and UI panels don't showing anything

Additional context

Image

Environment

System:
    OS: macOS 26.4.1
    CPU: (12) arm64 Apple M3 Pro
    Memory: 389.23 MB / 36.00 GB
  Binaries:
    Node: 24.14.0 - ~/.nvm/versions/node/v24.14.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 11.9.0 - ~/.nvm/versions/node/v24.14.0/bin/npm
  IDEs:
    Claude Code: 2.1.81 - /opt/homebrew/bin/claude
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: ^1.60 => 1.60.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions