Sha256: eeab2f5c74952f247b671a960ed160fa4f16ddddbe7f589a0578c22b1a3045a6

Contents?: true

Size: 480 Bytes

Versions: 4

Compression:

Stored size: 480 Bytes

Contents

#!/usr/bin/env bash

set -e

directory=$1

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

4 entries across 4 versions & 1 rubygems

Version Path
cypress-rails-0.7.1 script/test_example_app
cypress-rails-0.7.0 script/test_example_app
cypress-rails-0.6.1 script/test_example_app
cypress-rails-0.6.0 script/test_example_app