Skip to content

[UI Test] Update Appium to 5.0.0-rc.8#22117

Closed
jsuarezruiz wants to merge 7 commits intomainfrom
update-appium-rc8
Closed

[UI Test] Update Appium to 5.0.0-rc.8#22117
jsuarezruiz wants to merge 7 commits intomainfrom
update-appium-rc8

Conversation

@jsuarezruiz
Copy link
Copy Markdown
Contributor

@jsuarezruiz jsuarezruiz commented Apr 29, 2024

@jsuarezruiz jsuarezruiz requested a review from a team as a code owner April 29, 2024 10:29
@jsuarezruiz jsuarezruiz requested review from Eilon and rmarinho April 29, 2024 10:29
}
else
{
_app.Driver.ActivateApp(_app.GetAppId());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does the new code path now work with packaged and unpakcaged apps?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Take a look to #22117 (comment)

else if (_app.GetTestDevice() == TestDevice.Windows)
{
#pragma warning disable CS0618 // Type or member is obsolete
_app.Driver.LaunchApp();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

LaunchApp have been removed.

Cannot execute the launchApp script because not exists.

_app.Driver.ExecuteScript("windows: launchApp", new Dictionary<string, object>());

And ActivateApp is not implemented.

if(_app.Driver is WindowsDriver windowsDriver)
     windowsDriver.ActivateApp(_app.GetAppId());

The alternative could be to quit the session and create a new one, but it is a bigger change. The Windows tests are going to fail until fix this.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants