E2ETests: Use ElwigTestDB.sqlite3 instead of default
All checks were successful
Test / Run tests (push) Successful in 2m38s
All checks were successful
Test / Run tests (push) Successful in 2m38s
This commit is contained in:
@ -9,10 +9,12 @@ namespace Tests.E2ETests {
|
||||
public readonly WindowsDriver<WindowsElement> App;
|
||||
public readonly WindowsDriver<WindowsElement> Desktop;
|
||||
|
||||
public AppSession(string appPath, string winAppDriverUrl) {
|
||||
public AppSession(string appPath, string? appArgs, string winAppDriverUrl) {
|
||||
WinAppDriverUrl = winAppDriverUrl;
|
||||
var appiumOptions = new AppiumOptions();
|
||||
appiumOptions.AddAdditionalCapability("app", appPath);
|
||||
if (appArgs != null)
|
||||
appiumOptions.AddAdditionalCapability("appArguments", appArgs);
|
||||
appiumOptions.AddAdditionalCapability("deviceName", "WindowsPC");
|
||||
appiumOptions.AddAdditionalCapability("ms:waitForAppLaunch", WaitForAppLaunch);
|
||||
App = new WindowsDriver<WindowsElement>(new Uri(WinAppDriverUrl), appiumOptions);
|
||||
|
Reference in New Issue
Block a user