Skip to content

Commit cc8b096

Browse files
[create-pull-request] automated change (#29831)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9894e0f commit cc8b096

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Controls/tests/TestCases.Shared.Tests/UITest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ but both can happen.
238238
case TestDevice.iOS:
239239
var platformVersion = (string?)((AppiumApp)App).Driver.Capabilities.GetCapability("platformVersion")
240240
?? throw new InvalidOperationException("platformVersion capability is missing or null.");
241-
var device = (string?)((AppiumApp)App).Driver.Capabilities.GetCapability("deviceName")
241+
var device = (string?)((AppiumApp)App).Driver.Capabilities.GetCapability("deviceName")
242242
?? throw new InvalidOperationException("deviceName capability is missing or null.");
243243

244244
if (device.Contains(" Xs", StringComparison.OrdinalIgnoreCase) && platformVersion == "18.0")

src/TestUtils/src/UITest.Appium/Actions/AppiumTouchActions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,12 @@ CommandResponse DoubleTapCoordinates(float x, float y)
221221
CommandResponse TouchAndHold(IDictionary<string, object> parameters)
222222
{
223223
var element = GetAppiumElement(parameters["element"]);
224-
224+
225225
if (element == null)
226226
{
227227
return CommandResponse.FailedEmptyResponse;
228228
}
229-
229+
230230
OpenQA.Selenium.Appium.Interactions.PointerInputDevice touchDevice = new OpenQA.Selenium.Appium.Interactions.PointerInputDevice(PointerKind.Touch);
231231
var longPress = new ActionSequence(touchDevice, 0);
232232

0 commit comments

Comments
 (0)