In my playwright.config.js I have:
const baseConfig = {
    testDir: './tests',
    fullyParallel: true,
    /* Fail the build on CI if you accidentally left test.only in the source code. */
    forbidOnly: !!process.env.CI,
    retries: CI? 2 : 0,
    // undefined is default where tests will use 50% of cpu
    workers: getWorkers(),
    reporter: 'list',
    timeout: 900000,
But when I run the test headless it is timing out at 5000ms. Why is this?
Error: expect(received).not.toBeDisabled()
    Call log:
      - expect.not.toBeDisabled with timeout 5000ms
      - waiting for getByText('Save and Exit')This thread is trying to answer question "Unable to determine the question as the thread content is not provided."
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.