mirror of https://github.com/rancher/dashboard.git
22 lines
419 B
Bash
Executable File
22 lines
419 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
pwd
|
|
ls -al
|
|
cd "dashboard"
|
|
|
|
node -v
|
|
yarn add --dev -W mocha mochawesome mochawesome-merge \
|
|
mochawesome-report-generator cypress-multi-reporters \
|
|
mocha-junit-reporter
|
|
|
|
NO_COLOR=1 cypress run --browser chrome \
|
|
--reporter cypress-multi-reporters \
|
|
--reporter-options \
|
|
configFile=cypress/jenkins/reporter-options.json \
|
|
--env grepTags=CYPRESSTAGS
|
|
|
|
echo "CYPRESS EXIT CODE: $?"
|