Sha256: 66b979a4538bc0f4cedb0f0c679843f804b4ea554e0ac079a9bc2248eebc87d5

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

#!/usr/bin/env bash

set -e

cd example
bundle
yarn install

# test a normal test run
bundle exec rake db:test:prepare
NODE_OPTIONS=--openssl-legacy-provider RAILS_ENV=test bundle exec rake assets:precompile
bundle exec rake cypress:run

# test that passing options works (by printing help)
if ! bundle exec rake cypress:run CYPRESS_RAILS_CYPRESS_OPTS="-h" | grep -q "Usage: cypress run \[options\]"; then
  echo "Failed to pass options to cypress run"
  exit 1
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cypress-rails-0.8.0.rc1 script/test_example_app