Skip to content

Conversation

@Bayheck
Copy link
Collaborator

@Bayheck Bayheck commented Dec 1, 2023

Purpose

Fixed the bug when the concurrent tests did not wait until the finish of the fixture and global before hook.

Approach

Updated the method runFixtureBeforeHookIfNecessary in src/runner/fixture-hook-controller.ts. Now we store the promises of hooks in item from _getFixtureMapItem and await them in concurrent tests.

References

closes #6999

Pre-Merge TODO

  • Write tests for your proposed changes
  • Make sure that existing tests do not fail

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Dec 1, 2023
@Bayheck Bayheck requested a review from AlexKamaev December 3, 2023 11:33
@PavelMor25 PavelMor25 removed the STATE: Need response An issue that requires a response or attention from the team. label Dec 4, 2023
@AlexKamaev
Copy link
Contributor

@Aleksey28 please review

Copy link
Collaborator

@Aleksey28 Aleksey28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your style is getting better, but there are a few moments with naming.

@github-actions
Copy link

Release v3.5.0-rc.1 addresses this.

1 similar comment
@github-actions
Copy link

Release v3.5.0-rc.1 addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The combination of video recording and concurrency breaks testcafe test hook execution

5 participants