diff --git a/playwright.config.ts b/playwright.config.ts index d428d224..9257b547 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -13,13 +13,13 @@ export default defineConfig({ /* Run tests in files in parallel */ fullyParallel: true, /* Fail the build on CI if you accidentally left test.only in the source code. */ - forbidOnly: !!process.env['CI'], + forbidOnly: !!process.env.CI, /* Retry on CI only */ - retries: process.env['CI'] ? 2 : 0, + retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ - workers: process.env['CI'] ? 1 : '50%', + workers: process.env.CI ? 1 : '50%', /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: 'html', + reporter: process.env.CI ? 'github' : 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ diff --git a/src/queue/views/html/queue-slot.tsx b/src/queue/views/html/queue-slot.tsx index 0c0e243d..fef355ad 100644 --- a/src/queue/views/html/queue-slot.tsx +++ b/src/queue/views/html/queue-slot.tsx @@ -79,7 +79,7 @@ function PlayerInfo(props: { markAsFriendButtonState: MarkAsFriendButtonState | undefined }) { let slotButton = <> - if (props.isActorsSlot) { + if (props.isActorsSlot && !props.ready) { slotButton = (