Closed KazuCocoa closed 4 months ago
simctl usage in this repo is only via this.device.simctl in prod so the deps can move to dev deps I think
simctl
this.device.simctl
.github/workflows/functional-test.yml: target_sim_id=$(xcrun simctl list devices available | grep "$DEVICE_NAME (" | cut -d "(" -f2 | cut -d ")" -f1) .github/workflows/functional-test.yml: xcrun simctl bootstatus $target_sim_id -b lib/webdriveragent.js: await this.device.simctl.exec('launch', { lib/webdriveragent.js: await this.device.simctl.terminateApp(this.bundleIdForXctest); package.json: "node-simctl": "^7.0.1", test/functional/helpers/simulator.js:import Simctl from 'node-simctl'; test/functional/helpers/simulator.js: const simctl = new Simctl(); test/functional/helpers/simulator.js: const allDevices = _.flatMap(_.values(await simctl.getDevices())); test/functional/helpers/simulator.js: simctl.udid = udid; test/functional/helpers/simulator.js: await simctl.shutdownDevice(); test/functional/helpers/simulator.js: const simctl = new Simctl({udid}); test/functional/helpers/simulator.js: await retryInterval(10, 1000, simctl.deleteDevice.bind(simctl)); test/functional/webdriveragent-e2e-specs.js:import Simctl from 'node-simctl'; test/functional/webdriveragent-e2e-specs.js: let simctl; test/functional/webdriveragent-e2e-specs.js: simctl = new Simctl(); test/functional/webdriveragent-e2e-specs.js: simctl.udid = await simctl.createDevice( test/functional/webdriveragent-e2e-specs.js: device = await getSimulator(simctl.udid); test/functional/webdriveragent-e2e-specs.js: await simctl.deleteDevice();
:tada: This PR is included in version 7.3.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
simctl
usage in this repo is only viathis.device.simctl
in prod so the deps can move to dev deps I think