Skip to content

Commit f10a042

Browse files
Merge branch 'develop' into fix-rerun-hooks-on-navigation
2 parents 1391a4c + b17f597 commit f10a042

File tree

11 files changed

+1888
-1572
lines changed

11 files changed

+1888
-1572
lines changed

circle.yml

+23-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ macBuildFilters: &macBuildFilters
88
branches:
99
only:
1010
- develop
11-
- try-new-electron-sign
11+
- investigate-spec-on-mac
1212

1313
defaults: &defaults
1414
parallelism: 1
@@ -325,6 +325,17 @@ jobs:
325325
command: yarn type-check --ignore-progress
326326
- store-npm-logs
327327

328+
build-system-unit-tests:
329+
<<: *defaults
330+
parallelism: 1
331+
steps:
332+
- attach_workspace:
333+
at: ~/
334+
# make sure mocha runs
335+
- run: yarn test-mocha
336+
# test binary build code
337+
- run: yarn test-scripts
338+
328339
"server-unit-tests":
329340
<<: *defaults
330341
parallelism: 2
@@ -1166,6 +1177,9 @@ linux-workflow: &linux-workflow
11661177
- cli-visual-tests:
11671178
requires:
11681179
- build
1180+
- build-system-unit-tests:
1181+
requires:
1182+
- build
11691183
- unit-tests:
11701184
requires:
11711185
- build
@@ -1403,7 +1417,14 @@ mac-workflow: &mac-workflow
14031417
requires:
14041418
- Mac build
14051419

1406-
# maybe run unit tests?
1420+
- build-system-unit-tests:
1421+
name: Mac build system unit tests
1422+
executor: mac
1423+
requires:
1424+
- Mac build
1425+
<<: *macBuildFilters
1426+
1427+
# maybe run all unit tests?
14071428

14081429
- build-npm-package:
14091430
name: Mac NPM package

packages/desktop-gui/cypress/integration/update_banner_spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ describe('Update Banner', function () {
115115
it('modal has info about updating package.json', function () {
116116
cy.get('.modal').contains(`npm install --save-dev cypress@${NEW_VERSION}`)
117117

118-
cy.get('.modal').contains(`yarn add cypress@${NEW_VERSION}`)
118+
cy.get('.modal').contains(`yarn upgrade cypress@${NEW_VERSION}`)
119+
cy.percySnapshot()
119120
})
120121

121122
it('links to \'open\' doc on click of open command', function () {

packages/desktop-gui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"react-dom": "16.12.0",
4242
"react-inspector": "4.0.0",
4343
"react-loader": "2.4.7",
44-
"react-select": "3.0.8",
44+
"react-select": "3.1.0",
4545
"webpack": "4.35.3",
4646
"webpack-cli": "3.3.2"
4747
},

packages/desktop-gui/src/update/update-banner.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ class UpdateBanner extends Component {
8686
<li>
8787
<span>If using npm, run <code>npm install --save-dev cypress@{appStore.newVersion}</code></span>
8888
<br/>
89-
<span>If using yarn, run <code>yarn add cypress@{appStore.newVersion}</code></span>
90-
89+
<span>If using yarn, run <code>yarn upgrade cypress@{appStore.newVersion}</code></span>
9190
</li>
9291
<li>
9392
<span>Run <a href='#' onClick={this._openCyOpenDoc}><code>node_modules/.bin/cypress open</code></a> to open the new version.</span>

0 commit comments

Comments
 (0)