Add E2E test of /chat
on UIUC.chat in Production, via Github Actions
#2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Test | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '*/30 * * * *' # Runs every 30 minutes | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm install | |
- name: Install Chrome | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y chromium-browser | |
- name: Run Nightwatch tests | |
run: npx nightwatch nightwatch/chat/test-ece-2.js |