Skip to content

Commit

Permalink
Merge pull request #15 from UKHomeOffice/improvement/post-deploy-tests
Browse files Browse the repository at this point in the history
Fix post deploy tests
  • Loading branch information
joefitter authored Jun 8, 2018
2 parents ba4d2b5 + c81652f commit e1fa4f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,9 @@ pipeline:
matrix:
NPM_AUTH_USERNAME:
- asl

services:
selenium:
image: selenium/standalone-chrome
when:
event: deployment
2 changes: 1 addition & 1 deletion tests/functional/specs/smoke-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('Smoke tests', () => {
browser.click('a[href*="/establishment/8201"]');
browser.click('a[href*="/details"]');
const title = browser.getText('h1');
assert.equal(title, 'Establishment Details');
assert.equal(title, 'Establishment details');
});

});

0 comments on commit e1fa4f8

Please sign in to comment.