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

fix: use calculated osInfo in userAgent #7600

Merged
merged 8 commits into from
Apr 7, 2023

Conversation

Artem-Babich
Copy link
Contributor

Purpose

https://github.com/DevExpress/testcafe-private/issues/147

Both the browserConnection.connectionInfo and browserConnection.userAgent are prettyUserAgent string. The only difference is in osInfo. In the case of userAgent it is calculated from the browser and usually it is incorrect.

Approach

Calculate osInfo in userAgent using the provider getOSInfo method.

References

https://github.com/DevExpress/testcafe-private/issues/147

Pre-Merge TODO

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

@Artem-Babich Artem-Babich temporarily deployed to CI March 29, 2023 10:16 — with GitHub Actions Inactive
@Artem-Babich Artem-Babich temporarily deployed to CI March 29, 2023 11:30 — with GitHub Actions Inactive
@Artem-Babich Artem-Babich temporarily deployed to CI March 29, 2023 13:54 — with GitHub Actions Inactive
@Artem-Babich Artem-Babich temporarily deployed to CI March 29, 2023 17:51 — with GitHub Actions Inactive
@Artem-Babich Artem-Babich merged commit f1ab867 into DevExpress:master Apr 7, 2023
@Artem-Babich Artem-Babich deleted the fix-user-agent branch April 7, 2023 07:10
@github-actions
Copy link

Release v2.5.1-rc.1 addresses this.

1 similar comment
@github-actions
Copy link

Release v2.5.1-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.

None yet

2 participants