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: launchApp regression #1540

Merged
merged 4 commits into from
Mar 31, 2023
Merged

fix: launchApp regression #1540

merged 4 commits into from
Mar 31, 2023

Conversation

KazuCocoa
Copy link
Member

@KazuCocoa KazuCocoa commented Mar 31, 2023

Instead of #1539

9b9e6fa#diff-b394cf1ec7843c77eb14478b73321d02c718f7f8123b5416b6d88181627ac690L190-L199 changed the launchApp behavior. The master one did not create a new session between appium/xcuitest and WDA, so after the launchApp method, no commands worked.

This PR brings removed launchApp behavior.


The launchApp method removed in this PR was ordinary existed in lib/driver.js, but it seems like nothing used the method in my git history confirmation. response.currentApp.bundleID was broken, but has existed since XCUITest driver v2 at least. It means Appium 1.22.3 had the method as well, but no non-reference error occurred for bundleID. We should have removed the method, i guess


#1534 and this are what I found as regression for now.

lib/commands/general.js Outdated Show resolved Hide resolved
@KazuCocoa KazuCocoa merged commit a66cb47 into master Mar 31, 2023
@KazuCocoa KazuCocoa deleted the fix-launchapp branch March 31, 2023 21:57
github-actions bot pushed a commit that referenced this pull request Mar 31, 2023
## [4.21.2](v4.21.1...v4.21.2) (2023-03-31)

### Bug Fixes

* launchApp regression ([#1540](#1540)) ([a66cb47](a66cb47))
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.

2 participants