@testrigor/testrigor-cli 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -218,9 +218,19 @@ class Run extends command_base_1.CommandBase {
|
|
|
218
218
|
const suiteType = await this.fetchSuiteType(testSuiteId, token);
|
|
219
219
|
context.isMobile = this.isMobileSuiteType(suiteType);
|
|
220
220
|
}
|
|
221
|
+
const isLocalMobileRun = (flags.localhost || !!localTestNodesPath) && context.isMobile;
|
|
222
|
+
// A local mobile run has one Appium server and device behind it. Parallel
|
|
223
|
+
// runners would open sessions on it at once and kill each other's, so the
|
|
224
|
+
// run executes its test cases one by one (an override for this run only).
|
|
225
|
+
if (isLocalMobileRun) {
|
|
226
|
+
context.configuration.settings = {
|
|
227
|
+
...context.configuration.settings,
|
|
228
|
+
useParallelCombinator: false,
|
|
229
|
+
};
|
|
230
|
+
}
|
|
221
231
|
const tasks = [
|
|
222
232
|
{
|
|
223
|
-
enabled: () =>
|
|
233
|
+
enabled: () => isLocalMobileRun,
|
|
224
234
|
task: (ctx, task) => {
|
|
225
235
|
task.title = "Starting mobile server";
|
|
226
236
|
// A driver that fails to install is tolerated (xcuitest is useless on
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testrigor/testrigor-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@testrigor/testrigor-cli",
|
|
9
|
-
"version": "2.0.
|
|
9
|
+
"version": "2.0.3",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
package/oclif.manifest.json
CHANGED