Skip to content

Set a global value for timeouts that's used across all wait related actions #54

Closed
@okolesnyk

Description

@okolesnyk

Description

Currently, each wait related action has their own specified default timeout stored on vendor/codeception/codeception/src/Codeception/Module/WebDriver.php. These values are different for each action. It would be better to have 1 global value that all of these actions read from and use as the default. Test writers could overwrite this default in their xml test steps

Acceptance Criteria

  1. All wait related actions read their default timeout value from a single, global variable
  2. All wait related actions can have the default value overridden by providing timeout attribute on the action level (from a test step or action group step)
  3. Global value is set to 10 seconds by default

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions