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 mobile app testing with test_workers enabled. #3559

Merged
merged 1 commit into from Jan 9, 2023

Conversation

garg3133
Copy link
Member

@garg3133 garg3133 commented Jan 9, 2023

This PR fixes the failing mobile app testing when test_workers config is enabled.

Error:
image

@@ -37,7 +38,7 @@ class NightwatchAPI {
}

if (this.desiredCapabilities instanceof Capabilities) {
return this.desiredCapabilities.getplatformName();
return this.desiredCapabilities.getPlatform();
Copy link
Member Author

Choose a reason for hiding this comment

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

There's no method named getplatformName in Capabilities so this would have always thrown error earlier. Correct method name is getPlaform.

@beatfactor beatfactor merged commit 06d3598 into nightwatchjs:main Jan 9, 2023
@garg3133 garg3133 deleted the appium-test-workers branch February 25, 2023 11:30
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