Skip to content

fix(test runner): ignore undefined values in fixtures definitions#15119

Merged
dgozman merged 1 commit into
microsoft:mainfrom
dgozman:tr-options-undefined
Jun 27, 2022
Merged

fix(test runner): ignore undefined values in fixtures definitions#15119
dgozman merged 1 commit into
microsoft:mainfrom
dgozman:tr-options-undefined

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Jun 25, 2022

These mean "I don't want to specify this fixture/option" instead of "I want the value of undefined", aligned with how TypeScript works. We already do similar things in the config.

Fixes #14989.

These mean "I don't want to specify this fixture/option" instead of
"I want the value of undefined". We already do similar things in
the config.
Comment thread tests/playwright-test/test-extend.spec.ts
@dgozman dgozman merged commit d7b63fa into microsoft:main Jun 27, 2022
dgozman added a commit to dgozman/playwright that referenced this pull request Jul 27, 2022
dgozman added a commit that referenced this pull request Jul 27, 2022
……ions (#15119)" (#15979)

Revert "fix(test runner): ignore undefined values in fixtures definitions (#15119)"

Revert commit d7b63fa.
Add a test for the broken behavior.
dgozman added a commit to dgozman/playwright that referenced this pull request Jul 27, 2022
…ned values in fixtures definit…ions (microsoft#15119)"

Revert commit d7b63fa.
Add a test for the broken behavior.
dgozman added a commit that referenced this pull request Jul 27, 2022
…s in fixtures definitions (#15119)" (#15996)

cherry-pick(#15979): Revert "fix(test runner): ignore undefined values in fixtures definit…ions (#15119)"

Revert commit d7b63fa.
Add a test for the broken behavior.
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.

[BUG] Setting the use.trace option to undefined causes TypeError: Cannot read property 'mode' of undefined

2 participants