Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kandji-joel authored and saikrishna321 committed Oct 21, 2022
1 parent 88a98cf commit c1ea9ae
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/unit/IOSDeviceManager.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
{
Expand All @@ -37,6 +39,8 @@ describe('IOS Device Manager', () => {
state: 'Booted',
sdk: '14.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -51,6 +55,8 @@ describe('IOS Device Manager', () => {
deviceType: 'real',
platform: 'ios',
wdaLocalPort: 54093,
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
{
Expand All @@ -59,6 +65,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
{
Expand All @@ -67,6 +75,8 @@ describe('IOS Device Manager', () => {
state: 'Booted',
sdk: '14.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -85,6 +95,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -99,6 +111,8 @@ describe('IOS Device Manager', () => {
deviceType: 'real',
platform: 'ios',
wdaLocalPort: 54093,
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
{
Expand All @@ -107,6 +121,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -125,6 +141,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -136,6 +154,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -155,6 +175,8 @@ describe('IOS Device Manager', () => {
state: 'Shutdown',
sdk: '13.5',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand All @@ -169,6 +191,8 @@ describe('IOS Device Manager', () => {
deviceType: 'real',
platform: 'ios',
wdaLocalPort: 54093,
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
]);
Expand Down
14 changes: 14 additions & 0 deletions test/unit/RemoteIOs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ describe('Remote IOS', () => {
busy: false,
realDevice: false,
deviceType: 'simulator',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:31337',
offline: false,
meta: {
Expand All @@ -46,6 +48,8 @@ describe('Remote IOS', () => {
busy: false,
realDevice: false,
deviceType: 'simulator',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:31337',
offline: false,
meta: {
Expand Down Expand Up @@ -93,6 +97,8 @@ describe('Remote IOS', () => {
realDevice: true,
deviceType: 'real',
platform: 'ios',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: 'http://127.0.0.1:4723',
},
{
Expand All @@ -105,6 +111,8 @@ describe('Remote IOS', () => {
busy: false,
realDevice: false,
deviceType: 'simulator',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: `http://${firstNode}:3000`,
offline: false,
},
Expand All @@ -118,6 +126,8 @@ describe('Remote IOS', () => {
busy: false,
realDevice: false,
deviceType: 'simulator',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: `http://${firstNode}:3000`,
offline: false,
},
Expand All @@ -131,6 +141,8 @@ describe('Remote IOS', () => {
busy: false,
realDevice: false,
deviceType: 'simulator',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: `http://${secondNode}:3000`,
offline: false,
},
Expand All @@ -144,6 +156,8 @@ describe('Remote IOS', () => {
busy: false,
realDevice: false,
deviceType: 'simulator',
sessionStartTime: 0,
totalUtilizationTimeMilliSec: 0,
host: `http://${secondNode}:3000`,
offline: false,
},
Expand Down

0 comments on commit c1ea9ae

Please sign in to comment.