Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/TestUtils/src/UITest.Appium/HelperExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1643,11 +1643,6 @@ public static TestDevice GetTestDevice(this IApp app)
/// <param name="app">Represents the main gateway to interact with an app.</param>
public static void SetLightTheme(this IApp app)
{
if (app is AppiumCatalystApp)
{
throw new InvalidOperationException($"SetLightTheme is not supported");
}

app.CommandExecutor.Execute("setLightTheme", ImmutableDictionary<string, object>.Empty);
}

Expand All @@ -1657,11 +1652,6 @@ public static void SetLightTheme(this IApp app)
/// <param name="app">Represents the main gateway to interact with an app.</param>
public static void SetDarkTheme(this IApp app)
{
if (app is AppiumCatalystApp)
{
throw new InvalidOperationException($"SetDarkTheme is not supported");
}

app.CommandExecutor.Execute("setDarkTheme", ImmutableDictionary<string, object>.Empty);
}

Expand Down
Loading