Skip to content

Make default timeout for codeception into env var #36

@roborourke

Description

@roborourke

In some cases, we're seeing timeouts on test runs from the selenium web driver. This might be an inability to resolve the server, but could also be that things are just exceptionally slow sometimes.

Being able to configure the default codeception timeout globally could be very useful for debugging but also for making sure test runs are consistent in their outcome.

Acceptance criteria:

  • Default codeception timeout value can be set via an environment variable at run time called CODECEPT_TIMEOUT
  • Validate that the timeout is applied on long running tests
  • Add documentation about the variable

For Altis Team Use

Ready for Work Checklist

Is this ticket ready to be worked on? See
the Play Book Definition of Ready

  • Is the title clear?
  • Is the description clear and detailed enough?
  • Are acceptance criteria listed?
  • Have any (potential) dependencies been identified?
  • Is an estimate or time box assigned?
  • Is a priority label assigned?
  • Is this ticket added to an epic? (Optional)

Completion Checklist

Is this ticket done? See
the Play Book Definition of Ready

  • Has the acceptance criteria been met?
  • Is the documentation updated (including README)?
  • Does any code/documentation meet project standards?
  • Are automatic tests in place to verify the fix or new functionality?
  • Or are manual tests documented (at least on this ticket)?
  • Are any Playbook/Handbook pages updated?
  • Has a new module release (patch/minor) been created/scheduled?
  • Have the appropriate backport labels been added to the PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    should haveShould be done, medium priority for nowtesting

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions