diff --git a/.travis.yml b/.travis.yml index f0b01b8001..781eee44a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,9 +51,11 @@ install: script: - yarn run lint + # Unit and e2e tests - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then xvfb-run --server-args="-screen 0 1024x768x24" yarn run test ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then yarn run test ; fi + # Build binaries - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then yarn run release:linux ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then yarn run release:mac ; fi diff --git a/test/e2e/specs/Launch.spec.js b/test/e2e/specs/Launch.spec.js index 0b22a203f4..2640c825c1 100644 --- a/test/e2e/specs/Launch.spec.js +++ b/test/e2e/specs/Launch.spec.js @@ -7,7 +7,8 @@ describe('Launch', function () { it('shows the proper application title', function () { return this.app.client.getTitle() .then(title => { - expect(title).to.equal('Untitled-1') + const title = process.platform === 'darwin' ? 'Mark Text' : 'Untitled-1' + expect(title).to.equal(title) }) }) })