Skip to content

Commit

Permalink
prebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 5, 2024
1 parent 39dce19 commit 7957029
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ jobs:
env:
CI: true
_FORCE_LOGS: 1
_LOG_TIMESTAMP: 1
DEVICE_NAME: ${{matrix.test_targets.IOS_MODEL}}
PLATFORM_VERSION: ${{matrix.test_targets.IOS_VERSION}}
11 changes: 10 additions & 1 deletion test/functional/webdriveragent-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function getStartOpts (device) {
port: 8100,
realDevice: false,
showXcodeLog: true,
wdaLaunchTimeout: 60 * 4 * 1000,
wdaLaunchTimeout: 60 * 3 * 1000,
};
}

Expand Down Expand Up @@ -59,6 +59,15 @@ describe('WebDriverAgent', function () {
PLATFORM_VERSION
);
device = await getSimulator(simctl.udid);

// Prebuild WDA
const wda = new WebDriverAgent(xcodeVersion, {
iosSdkVersion: PLATFORM_VERSION,
platformVersion: PLATFORM_VERSION,
showXcodeLog: true,
device,
});
await wda.xcodebuild.start(true);
});

after(async function () {
Expand Down

0 comments on commit 7957029

Please sign in to comment.