Skip to content

Browser Mode: Allow extended configuration of provider #6983

@JoaoCnh

Description

@JoaoCnh

Clear and concise description of the problem

Running test suites in CI is quite different from running them on a local machine. CI is quite often slower and locators take more than the default 1000ms to locate elements or to perform actions (click, hover, etc).

It's possible to define a specific timeout for an expect or a locator.click for example but it would be nice to be able to set larger timeouts at a config level for when the tests run in CI.

Suggested solution

add new properties in the browser config for the following:

  • actionTimeout - optional and number
  • expectTimeout - optional and number

This would under the hood configure the correct provider configurations if possible.

Here's doc ref to Playwright test configuration

Alternative

Allow full customisation of test configuration.
Right now we're allowed to extend launch options and browser context options on playwright for example but we could extend this configuration to Test Options

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions