Skip to content

Commit

Permalink
Merge branch 'master' into new-vcr-middleware
Browse files Browse the repository at this point in the history
# Conflicts:
#	lib/generators/cypress_on_rails/install_generator.rb
#	lib/generators/cypress_on_rails/templates/config/initializers/cypress_on_rails.rb.erb
  • Loading branch information
MUTOgen committed Jun 9, 2024
2 parents 23cef9f + 7dc7581 commit 111630a
Show file tree
Hide file tree
Showing 224 changed files with 1,696 additions and 1,970 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Ruby

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
rails_3_2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.3
bundler-cache: true
- name: Run tests
run: bundle exec rake
- run: gem uninstall -v '>= 2' -ax bundler || true
- run: gem install bundler -v '< 2'
- name: Run interaction tests
run: ./specs_e2e/rails_3_2/test.sh
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

rails_4_2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
bundler-cache: true
- name: Run tests
run: bundle exec rake
- run: gem uninstall -v '>= 2' -ax bundler || true
- run: gem install bundler -v '< 2'
- name: Run interaction tests
run: ./specs_e2e/rails_4_2/test.sh
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

rails_5_2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
- name: Run tests
run: bundle exec rake
- name: Run interaction tests
run: ./specs_e2e/rails_5_2/test.sh
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ spec/examples.txt
.idea
spec/test.log
pkg/*.gem
vendor/bundle
vendor/bundle
.vscode
node_modules
package-lock.json
yarn.lock
specs_e2e/server.pid
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

75 changes: 74 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,81 @@
## [1.17.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.16.0...v1.17.0

### Changed
* Removed the update generator and reduced options for install generator [PR 149](https://github.com/shakacode/cypress-on-rails/pull/149)

### Fixed
* fix update index.js in install generator [PR 147](https://github.com/shakacode/cypress-on-rails/pull/147) by [Judahmeek]
* Support rails 7.1 by adding content-type header to generated on-rails.js file [PR 148](https://github.com/shakacode/cypress-on-rails/pull/148) by [anark]
* Rewind body before reading it [PR 150](https://github.com/shakacode/cypress-on-rails/pull/150)

## [1.16.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.15.1...v1.16.0

### Added
* Add support for `before_request` options on the middleware, for authentication [PR 138](https://github.com/shakacode/cypress-on-rails/pull/138) by [RomainEndelin]

## [1.15.1]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.15.0...v1.15.1

### Fixed
* fix cypress_folder deprecation warning by internal code [PR 136](https://github.com/shakacode/cypress-on-rails/pull/136)

## [1.15.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.14.0...v1.15.0

### Changed
* Add support for any e2e testing framewrok starting with Playwright [PR 131](https://github.com/shakacode/cypress-on-rails/pull/131) by [KhaledEmaraDev]

## [1.14.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.13.1...v1.14.0

### Changed
* Add support for proxy routes through `api_prefix` [PR 130](https://github.com/shakacode/cypress-on-rails/pull/130) by [RomainEndelin]

### Fixed
* Properly copies the cypress_helper file when running the update generator [PR 117](https://github.com/shakacode/cypress-on-rails/pull/117) by [alvincrespo]

### Tasks
* pass cypress record key to github action [PR 110](https://github.com/shakacode/cypress-on-rails/pull/110)

## [1.13.1]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.13.0...v1.13.1

### Fixed
* use_vcr_middleware disabled by default [PR 109](https://github.com/shakacode/cypress-on-rails/pull/109)

## [1.13.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.12.1...v1.13.0

### Changed
* Add support for matching npm package and VCR
* generate for cypress 10 [PR 108](https://github.com/shakacode/cypress-on-rails/pull/108)

## [1.12.1]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.12.0...v1.12.1

### Tasks
* Documenting how to setup Factory Associations [PR 100](https://github.com/shakacode/cypress-on-rails/pull/100)

### Fixed
* keep track of factory manual reloads to prevent auto_reload from reloading again [PR 98](https://github.com/shakacode/cypress-on-rails/pull/98)

## [1.12.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.11.0...v1.12.0

### Changed
* only reload factories on clean instead of every factory create request [PR 95](https://github.com/shakacode/cypress-on-rails/pull/95)
* alternative command added for get tail of logs [PR 89](https://github.com/shakacode/cypress-on-rails/pull/89) by [ccrockett]

### Tasks
* switch from travis to github actions [PR 96]

## [1.11.0]
[Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.10.1...v1.11.0

### Changed
* improve app command logging on cypress
* improve app command logging on cypress
* Allow build and build_list commands to be executed against factory bot [PR 87](https://github.com/shakacode/cypress-on-rails/pull/87) by [Alexander-Blair]

## [1.10.1]
Expand Down
Loading

0 comments on commit 111630a

Please sign in to comment.