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 error message for :userProfile #7972

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

AlexKamaev
Copy link
Contributor

@AlexKamaev AlexKamaev commented Aug 24, 2023

already checked by @titerman

@AlexKamaev AlexKamaev temporarily deployed to CI August 24, 2023 11:25 — with GitHub Actions Inactive
@@ -154,5 +154,5 @@ export default {
[RUNTIME_ERRORS.cannotImportESMInCommonsJS]: 'Cannot import the {esModule} ECMAScript module from {targetFile}. Use a dynamic import() statement or enable the --esm CLI flag.',
[RUNTIME_ERRORS.setNativeAutomationForUnsupportedBrowsers]: 'The "{browser}" do not support the Native Automation mode. Use the "disable native automation" option to continue.',
[RUNTIME_ERRORS.cannotRunLegacyTestsInNativeAutomationMode]: 'TestCafe cannot run legacy tests in Native Automation mode. Disable native automation to continue.',
[RUNTIME_ERRORS.setUserProfileInNativeAutomation]: 'The "userProfile" option is enabled for the following browsers: "{browsers}".\nThe "userProfile" option is not supported in the Native Automation mode.\nUse the "disable native automation" option or remove "userProfile" option to continue.',
[RUNTIME_ERRORS.setUserProfileInNativeAutomation]: 'When TestCafe uses native automation, it cannot apply the "userProfile" option. To continue, disable native automation, or remove the "userProfile" suffix for the following browsers: "{browsers}".',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[RUNTIME_ERRORS.setUserProfileInNativeAutomation]: 'When TestCafe uses native automation, it cannot apply the "userProfile" option. To continue, disable native automation, or remove the "userProfile" suffix for the following browsers: "{browsers}".',
[RUNTIME_ERRORS.setUserProfileInNativeAutomation]: 'Cannot initialize the test run.\nWhen TestCafe uses native automation, it can only launch browsers with an empty user profile.\nDisable native automation, or remove the "userProfile" suffix from the following\nbrowser aliases: "{browsers}".',

test/functional/fixtures/regression/gh-7925/test.js Outdated Show resolved Hide resolved
@AlexKamaev AlexKamaev temporarily deployed to CI August 24, 2023 12:12 — with GitHub Actions Inactive
@AlexKamaev AlexKamaev temporarily deployed to CI August 24, 2023 12:59 — with GitHub Actions Inactive
@Aleksey28 Aleksey28 merged commit a6a0cd7 into DevExpress:master Aug 25, 2023
@github-actions
Copy link

Release v3.3.0-rc.2 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.

3 participants