Commit cb117f1 1 parent c477eb2 commit cb117f1 Copy full SHA for cb117f1
File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 8
8
directories :
9
9
- ./node_modules
10
10
11
- env :
12
- global :
13
- - DBUS_SESSION_BUS_ADDRESS=/dev/null
14
-
15
-
16
11
matrix :
17
12
fast_finish : true
18
13
allow_failures :
@@ -109,6 +104,7 @@ install:
109
104
110
105
env :
111
106
global :
107
+ - DBUS_SESSION_BUS_ADDRESS=/dev/null
112
108
# GITHUB_ACCESS_TOKEN=<github token, a personal access token of the angular-builds account, account access in valentine>
113
109
# This is needed to publish packages to github for continuous packages delivery.
114
110
- secure : " XUM1RCN/ZH34ju2PI9eHPRMnSlbj45XcBx/ZnZ13wfau60iJCveU7Ded8SC8uwGDp58rGGePXyJfh5l5dAnIWbSAGNKlrEgGTr41RSCbyzrV6m4lAcwNzUo/PkKum1vAApk21PqscrSSWOBAOC3nMCln25GLzgUMm6G8FBOc599NuszcoQvru+H+4JthSHn4l/nmeTZDs2oCBvwnmng/78rEW5CXvJEpAwuaaZLvzzIFdoZu+SuceYvGnL5xHo0ppPF/0NYzZlb7KBKREp44Lq1lOKlDtH5wqjEi7b2aA7/GnesOgLUBmbbSVUzmCxs6PtzGhD56aiL2Qtu8c4LZyvNfzPXSLbx8ljYmdytHkio9w3377wWFRXJDfIsgv9JKHxxyA0T34yzQkqWbgWKPMgJ3om+lb875iXAtXfNyS0trnN+rwLZZtFxygjHyx8IWY+NZD5i5fyjMdFyetNxbHe3ktI73nY+Tl6hDqJXvN8WwQlMovLNUMcY4wGUoPooLka9L+94uetbf3U4KVgshrLHI59jMZsO0qrDGsCZMubHEy80acrNkCTi/uGIbVR0KF94z81VF+S7edYv80AkQTRijpgNV34045L/IqSHgbueozRgVFj2arkAGGFjLlZJifmsRC/Eq1ZWkKsKY/1NusKssCRtycJQjeLOW0qV1T0w="
Original file line number Diff line number Diff line change 1
1
import { join } from 'path' ;
2
2
import { git , ng , silentNpm } from '../utils/process' ;
3
- import { expectFileToExist } from '../utils/fs' ;
3
+ import { expectFileToExist , replaceInFile } from '../utils/fs' ;
4
4
import { updateTsConfig , updateJsonFile , useNg2 } from '../utils/project' ;
5
5
import { gitClean , gitCommit } from '../utils/git' ;
6
6
import { getGlobalVariable } from '../utils/env' ;
@@ -36,6 +36,16 @@ export default function() {
36
36
json [ 'dependencies' ] [ pkgName ] = packages [ pkgName ] . tar ;
37
37
} ) ;
38
38
} ) )
39
+ // There's a race condition happening in Chrome. Enabling logging in chrome used by
40
+ // protractor actually fixes it. Logging is piped to a file so it doesn't affect our setup.
41
+ . then ( ( ) => replaceInFile ( 'protractor.conf.js' , `'browserName': 'chrome'` ,
42
+ `'browserName': 'chrome',
43
+ chromeOptions: {
44
+ args: [
45
+ "--enable-logging",
46
+ ]
47
+ }
48
+ ` ) )
39
49
. then ( ( ) => argv [ 'ng2' ] ? useNg2 ( ) : Promise . resolve ( ) )
40
50
. then ( ( ) => {
41
51
if ( argv [ 'nightly' ] || argv [ 'ng-sha' ] ) {
You can’t perform that action at this time.
0 commit comments