From 0bd33d6f00f135abfd2acd1cc981afcfb0a2f0a3 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 04 May 2019 13:08:27 +0000 Subject: [PATCH] Switch to Nightwatch.js for browser tests --- .travis.yml | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bb4f98..399c72f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,15 @@ - 7.0 - nightly +addons: + firefox: latest + chrome: stable + before_script: - 'php -S 127.0.0.1:8080 &' - 'nvm install stable' - - 'npm install casperjs' + - 'npm install nightwatch selenium-server chromedriver geckodriver' script: - - 'node_modules/casperjs/bin/casperjs test tests.js' + - 'node_modules/.bin/nightwatch -e chrome-headless' + - 'node_modules/.bin/nightwatch -e firefox-headless' -- Gitblit v1.9.1