Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal]: Deprecate config.rootDir, pass empty string into the merger. #29768

Closed
pavelfeldman opened this issue Mar 1, 2024 · 1 comment
Closed
Assignees
Labels

Comments

@pavelfeldman
Copy link
Member

Deprecate config.rootDir as it has no semantics post-merge.

@yury-s
Copy link
Member

yury-s commented Mar 29, 2024

Discussion notes:

  • document FullConfig
    • split FullConfig to TestFullConfig, FullConfig
  • stop serializing top level config fields, move them to the project level instead
  • switch local reporters code to use only project level fields
  • introduce configName property (set globally, available on FullProject only)
  • introduce explicit global rootDir which will be replaced by configName in the final reports

yury-s added a commit to yury-s/playwright that referenced this issue Apr 2, 2024
yury-s added a commit to yury-s/playwright that referenced this issue Apr 2, 2024
yury-s added a commit that referenced this issue Apr 3, 2024
yury-s added a commit to yury-s/playwright that referenced this issue Apr 3, 2024
yury-s added a commit that referenced this issue Apr 3, 2024
yury-s added a commit to yury-s/playwright that referenced this issue Apr 6, 2024
yury-s added a commit to yury-s/playwright that referenced this issue Apr 6, 2024
yury-s added a commit that referenced this issue Apr 6, 2024
yury-s added a commit to yury-s/playwright that referenced this issue Apr 22, 2024
yury-s added a commit that referenced this issue Apr 22, 2024
Generate 'global timeout' and 'max failures' errors in the runner. Avoid
reading `config.globalTimeout` and `config.maxFailures` in the base
reporters.

Reference #29768
@yury-s yury-s added v1.45 and removed v1.44 labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants