@@ -64,10 +64,11 @@ module.exports = function run(args) {
64
64
// set the no-wrap
65
65
utils . setNoWrap ( bsConfig , args ) ;
66
66
markBlockEnd ( 'setConfig' ) ;
67
-
67
+
68
68
// Validate browserstack.json values and parallels specified via arguments
69
69
markBlockStart ( 'validateConfig' ) ;
70
70
return capabilityHelper . validate ( bsConfig , args ) . then ( function ( cypressJson ) {
71
+
71
72
markBlockStart ( 'preArchiveSteps' ) ;
72
73
//get the number of spec files
73
74
let specFiles = utils . getNumberOfSpecFiles ( bsConfig , args , cypressJson ) ;
@@ -82,19 +83,23 @@ module.exports = function run(args) {
82
83
// Archive the spec files
83
84
markBlockStart ( 'archive' ) ;
84
85
return archiver . archive ( bsConfig . run_settings , config . fileName , args . exclude ) . then ( function ( data ) {
86
+
85
87
markBlockEnd ( 'archive' ) ;
86
88
// Uploaded zip file
87
89
markBlockStart ( 'zipUpload' ) ;
88
90
return zipUploader . zipUpload ( bsConfig , config . fileName ) . then ( async function ( zip ) {
89
- // Create build
91
+
90
92
markBlockEnd ( 'zipUpload' ) ;
93
+ // Create build
94
+
91
95
//setup Local Testing
92
96
markBlockStart ( 'localSetup' ) ;
93
97
let bs_local = await utils . setupLocalTesting ( bsConfig , args ) ;
94
98
markBlockEnd ( 'localSetup' ) ;
95
99
markBlockStart ( 'createBuild' ) ;
96
100
return build . createBuild ( bsConfig , zip ) . then ( function ( data ) {
97
101
markBlockEnd ( 'createBuild' ) ;
102
+ markBlockEnd ( 'total' ) ;
98
103
let message = `${ data . message } ! ${ Constants . userMessages . BUILD_CREATED } with build id: ${ data . build_id } ` ;
99
104
let dashboardLink = `${ Constants . userMessages . VISIT_DASHBOARD } ${ data . dashboard_url } ` ;
100
105
utils . exportResults ( data . build_id , `${ config . dashboardUrl } ${ data . build_id } ` ) ;
0 commit comments