Bug: codeceptjs sometimes gets stuck

Open
#5,618 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
javascript, playwright
Domain
testing

Research direction

Start by reproducing a test that hangs in the before hook during Playwright reload or fill, then inspect how the global timeout handles the stuck operation and any unhandled rejection. Done means the hanging hook is terminated by the configured timeout and the failure is reported clearly.

Written by the indexing model from the issue text.

Description

stale

A lot of times my tests gets stuck in the before hook.
I gets stuck on reload or fill, using playwright
The global timeout doesn't terminate it.

Is there any chance that an unhandled rejection makes codecept stuck?

Dominant language
JavaScript
Stars
4.2k
Forks
756
Avg merge
2d 9h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codeceptjs/CodeceptJS

All issues in codeceptjs/CodeceptJS

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.