cypress-on-rails 1.17.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/claude-code-review.yml +57 -0
  3. data/.github/workflows/claude.yml +50 -0
  4. data/.github/workflows/ruby.yml +14 -14
  5. data/CHANGELOG.md +319 -98
  6. data/README.md +271 -23
  7. data/RELEASING.md +200 -0
  8. data/Rakefile +1 -4
  9. data/cypress-on-rails.gemspec +1 -0
  10. data/docs/BEST_PRACTICES.md +678 -0
  11. data/docs/DX_IMPROVEMENTS.md +163 -0
  12. data/docs/PLAYWRIGHT_GUIDE.md +554 -0
  13. data/docs/RELEASE.md +124 -0
  14. data/docs/TROUBLESHOOTING.md +351 -0
  15. data/docs/VCR_GUIDE.md +499 -0
  16. data/docs/authentication.md +30 -0
  17. data/docs/factory_bot_associations.md +14 -0
  18. data/lib/cypress_on_rails/configuration.rb +29 -0
  19. data/lib/cypress_on_rails/railtie.rb +17 -2
  20. data/lib/cypress_on_rails/server.rb +197 -0
  21. data/lib/cypress_on_rails/state_reset_middleware.rb +58 -0
  22. data/lib/cypress_on_rails/vcr/insert_eject_middleware.rb +75 -0
  23. data/lib/cypress_on_rails/vcr/middleware_helpers.rb +51 -0
  24. data/lib/cypress_on_rails/vcr/use_cassette_middleware.rb +56 -0
  25. data/lib/cypress_on_rails/version.rb +1 -1
  26. data/lib/generators/cypress_on_rails/templates/config/initializers/cypress_on_rails.rb.erb +20 -0
  27. data/lib/generators/cypress_on_rails/templates/spec/cypress/e2e/rails_examples/using_factory_bot.cy.js +2 -2
  28. data/lib/generators/cypress_on_rails/templates/spec/cypress/e2e/rails_examples/using_scenarios.cy.js +1 -1
  29. data/lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js +22 -0
  30. data/lib/generators/cypress_on_rails/templates/spec/cypress/support/on-rails.js +2 -1
  31. data/lib/generators/cypress_on_rails/templates/spec/e2e/e2e_helper.rb.erb +0 -5
  32. data/lib/tasks/cypress.rake +33 -0
  33. data/rakelib/release.rake +80 -0
  34. data/rakelib/task_helpers.rb +23 -0
  35. data/rakelib/update_changelog.rake +63 -0
  36. data/spec/cypress_on_rails/configuration_spec.rb +4 -1
  37. data/spec/cypress_on_rails/vcr/insert_eject_middleware_spec.rb +177 -0
  38. data/spec/cypress_on_rails/vcr/use_cassette_middleware_spec.rb +68 -0
  39. data/specs_e2e/rails_6_1/.gitattributes +10 -0
  40. data/specs_e2e/rails_6_1/Gemfile +20 -0
  41. data/specs_e2e/{rails_5_2 → rails_6_1}/Rakefile +1 -1
  42. data/specs_e2e/rails_6_1/app/assets/stylesheets/application.css +15 -0
  43. data/specs_e2e/rails_6_1/app/jobs/application_job.rb +7 -0
  44. data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/layouts/application.html.erb +1 -1
  45. data/specs_e2e/rails_6_1/bin/bundle +114 -0
  46. data/specs_e2e/rails_6_1/bin/rails +5 -0
  47. data/specs_e2e/rails_6_1/bin/rake +5 -0
  48. data/specs_e2e/{rails_5_2 → rails_6_1}/bin/setup +15 -4
  49. data/specs_e2e/rails_6_1/bin/spring +14 -0
  50. data/specs_e2e/rails_6_1/bin/yarn +17 -0
  51. data/specs_e2e/rails_6_1/config/application.rb +34 -0
  52. data/specs_e2e/rails_6_1/config/boot.rb +4 -0
  53. data/specs_e2e/rails_6_1/config/cable.yml +10 -0
  54. data/specs_e2e/rails_6_1/config/credentials.yml.enc +1 -0
  55. data/specs_e2e/{rails_5_2 → rails_6_1}/config/database.yml +7 -0
  56. data/specs_e2e/{rails_5_2 → rails_6_1}/config/environment.rb +1 -1
  57. data/specs_e2e/{rails_5_2 → rails_6_1}/config/environments/development.rb +22 -5
  58. data/specs_e2e/rails_6_1/config/environments/production.rb +120 -0
  59. data/specs_e2e/{rails_5_2 → rails_6_1}/config/environments/test.rb +24 -7
  60. data/specs_e2e/rails_6_1/config/initializers/backtrace_silencers.rb +8 -0
  61. data/specs_e2e/{rails_5_2 → rails_6_1}/config/initializers/content_security_policy.rb +5 -0
  62. data/specs_e2e/{rails_4_2 → rails_6_1}/config/initializers/filter_parameter_logging.rb +3 -1
  63. data/specs_e2e/rails_6_1/config/initializers/permissions_policy.rb +11 -0
  64. data/specs_e2e/{rails_3_2 → rails_6_1}/config/initializers/wrap_parameters.rb +5 -1
  65. data/specs_e2e/{rails_5_2 → rails_6_1}/config/locales/en.yml +1 -1
  66. data/specs_e2e/rails_6_1/config/master.key +1 -0
  67. data/specs_e2e/rails_6_1/config/puma.rb +43 -0
  68. data/specs_e2e/rails_6_1/config/storage.yml +34 -0
  69. data/specs_e2e/{rails_5_2 → rails_6_1}/config.ru +2 -1
  70. data/specs_e2e/{rails_5_2 → rails_6_1}/db/migrate/20180621085832_create_posts.rb +1 -1
  71. data/specs_e2e/rails_6_1/package.json +8 -0
  72. data/specs_e2e/rails_6_1/playwright-report/index.html +71 -0
  73. data/specs_e2e/rails_6_1/public/robots.txt +1 -0
  74. data/specs_e2e/rails_6_1/test-results/.last-run.json +4 -0
  75. data/specs_e2e/{rails_4_2 → rails_6_1}/test.sh +22 -15
  76. data/specs_e2e/rails_7_2/.gitattributes +9 -0
  77. data/specs_e2e/rails_7_2/.gitignore +16 -0
  78. data/specs_e2e/rails_7_2/.rubocop.yml +8 -0
  79. data/specs_e2e/rails_7_2/Gemfile +11 -0
  80. data/specs_e2e/{rails_4_2 → rails_7_2}/Rakefile +1 -1
  81. data/specs_e2e/rails_7_2/app/assets/stylesheets/application.css +15 -0
  82. data/specs_e2e/rails_7_2/app/controllers/application_controller.rb +4 -0
  83. data/specs_e2e/rails_7_2/app/controllers/posts_controller.rb +58 -0
  84. data/specs_e2e/rails_7_2/app/helpers/posts_helper.rb +2 -0
  85. data/specs_e2e/rails_7_2/app/jobs/application_job.rb +7 -0
  86. data/specs_e2e/rails_7_2/app/models/application_record.rb +3 -0
  87. data/specs_e2e/rails_7_2/app/models/post.rb +2 -0
  88. data/specs_e2e/rails_7_2/app/views/layouts/application.html.erb +22 -0
  89. data/specs_e2e/rails_7_2/app/views/posts/_form.html.erb +32 -0
  90. data/specs_e2e/rails_7_2/app/views/posts/edit.html.erb +6 -0
  91. data/specs_e2e/rails_7_2/app/views/posts/index.html.erb +31 -0
  92. data/specs_e2e/rails_7_2/app/views/posts/new.html.erb +5 -0
  93. data/specs_e2e/rails_7_2/app/views/posts/show.html.erb +19 -0
  94. data/specs_e2e/rails_7_2/bin/brakeman +7 -0
  95. data/specs_e2e/rails_7_2/bin/bundle +109 -0
  96. data/specs_e2e/rails_7_2/bin/importmap +4 -0
  97. data/specs_e2e/rails_7_2/bin/rails +4 -0
  98. data/specs_e2e/rails_7_2/bin/rake +4 -0
  99. data/specs_e2e/rails_7_2/bin/setup +37 -0
  100. data/specs_e2e/rails_7_2/config/application.rb +37 -0
  101. data/specs_e2e/rails_7_2/config/boot.rb +4 -0
  102. data/specs_e2e/rails_7_2/config/cable.yml +10 -0
  103. data/specs_e2e/rails_7_2/config/credentials.yml.enc +1 -0
  104. data/specs_e2e/rails_7_2/config/database.yml +32 -0
  105. data/specs_e2e/{rails_4_2 → rails_7_2}/config/environment.rb +1 -1
  106. data/specs_e2e/rails_7_2/config/environments/development.rb +54 -0
  107. data/specs_e2e/rails_7_2/config/environments/production.rb +105 -0
  108. data/specs_e2e/rails_7_2/config/environments/test.rb +45 -0
  109. data/specs_e2e/rails_7_2/config/importmap.rb +7 -0
  110. data/specs_e2e/rails_7_2/config/initializers/content_security_policy.rb +25 -0
  111. data/specs_e2e/rails_7_2/config/initializers/filter_parameter_logging.rb +8 -0
  112. data/specs_e2e/{rails_5_2 → rails_7_2}/config/initializers/inflections.rb +4 -4
  113. data/specs_e2e/rails_7_2/config/initializers/permissions_policy.rb +13 -0
  114. data/specs_e2e/rails_7_2/config/locales/en.yml +31 -0
  115. data/specs_e2e/rails_7_2/config/master.key +1 -0
  116. data/specs_e2e/rails_7_2/config/puma.rb +34 -0
  117. data/specs_e2e/rails_7_2/config/routes.rb +5 -0
  118. data/specs_e2e/rails_7_2/config/storage.yml +34 -0
  119. data/specs_e2e/{rails_4_2 → rails_7_2}/config.ru +3 -1
  120. data/specs_e2e/rails_7_2/db/migrate/20180621085832_create_posts.rb +11 -0
  121. data/specs_e2e/rails_7_2/db/seeds.rb +9 -0
  122. data/specs_e2e/rails_7_2/db/test.sqlite3-shm +0 -0
  123. data/specs_e2e/rails_7_2/db/test.sqlite3-wal +0 -0
  124. data/specs_e2e/rails_7_2/package.json +8 -0
  125. data/specs_e2e/rails_7_2/playwright-report/index.html +71 -0
  126. data/specs_e2e/{rails_4_2 → rails_7_2}/public/404.html +6 -6
  127. data/specs_e2e/rails_7_2/public/406-unsupported-browser.html +66 -0
  128. data/specs_e2e/{rails_4_2 → rails_7_2}/public/422.html +6 -6
  129. data/specs_e2e/{rails_4_2 → rails_7_2}/public/500.html +6 -6
  130. data/specs_e2e/rails_7_2/public/icon.png +0 -0
  131. data/specs_e2e/rails_7_2/public/icon.svg +3 -0
  132. data/specs_e2e/rails_7_2/public/robots.txt +1 -0
  133. data/specs_e2e/rails_7_2/storage/test.sqlite3 +0 -0
  134. data/specs_e2e/rails_7_2/test/controllers/posts_controller_test.rb +48 -0
  135. data/specs_e2e/rails_7_2/test/cypress_fixtures/posts.yml +11 -0
  136. data/specs_e2e/rails_7_2/test/fixtures/posts.yml +11 -0
  137. data/specs_e2e/rails_7_2/test/models/post_test.rb +7 -0
  138. data/specs_e2e/rails_7_2/test-results/.last-run.json +4 -0
  139. data/specs_e2e/rails_7_2/test.sh +57 -0
  140. data/specs_e2e/rails_8/.gitattributes +9 -0
  141. data/specs_e2e/rails_8/.gitignore +16 -0
  142. data/specs_e2e/rails_8/.rubocop.yml +8 -0
  143. data/specs_e2e/rails_8/Gemfile +20 -0
  144. data/specs_e2e/{rails_3_2 → rails_8}/Rakefile +2 -3
  145. data/specs_e2e/rails_8/app/assets/stylesheets/application.css +10 -0
  146. data/specs_e2e/rails_8/app/controllers/application_controller.rb +4 -0
  147. data/specs_e2e/rails_8/app/controllers/posts_controller.rb +58 -0
  148. data/specs_e2e/rails_8/app/helpers/posts_helper.rb +2 -0
  149. data/specs_e2e/rails_8/app/jobs/application_job.rb +7 -0
  150. data/specs_e2e/rails_8/app/models/application_record.rb +3 -0
  151. data/specs_e2e/rails_8/app/models/post.rb +2 -0
  152. data/specs_e2e/rails_8/app/views/layouts/application.html.erb +27 -0
  153. data/specs_e2e/rails_8/app/views/posts/_form.html.erb +32 -0
  154. data/specs_e2e/rails_8/app/views/posts/edit.html.erb +6 -0
  155. data/specs_e2e/rails_8/app/views/posts/index.html.erb +31 -0
  156. data/specs_e2e/rails_8/app/views/posts/new.html.erb +5 -0
  157. data/specs_e2e/rails_8/app/views/posts/show.html.erb +19 -0
  158. data/specs_e2e/rails_8/bin/brakeman +7 -0
  159. data/specs_e2e/rails_8/bin/bundle +109 -0
  160. data/specs_e2e/rails_8/bin/dev +2 -0
  161. data/specs_e2e/rails_8/bin/importmap +4 -0
  162. data/specs_e2e/rails_8/bin/rails +4 -0
  163. data/specs_e2e/rails_8/bin/rake +4 -0
  164. data/specs_e2e/rails_8/bin/setup +34 -0
  165. data/specs_e2e/rails_8/bin/thrust +5 -0
  166. data/specs_e2e/rails_8/config/application.rb +27 -0
  167. data/specs_e2e/rails_8/config/boot.rb +4 -0
  168. data/specs_e2e/rails_8/config/cable.yml +17 -0
  169. data/specs_e2e/rails_8/config/cache.yml +16 -0
  170. data/specs_e2e/rails_8/config/credentials.yml.enc +1 -0
  171. data/specs_e2e/rails_8/config/database.yml +41 -0
  172. data/specs_e2e/rails_8/config/deploy.yml +116 -0
  173. data/specs_e2e/rails_8/config/environment.rb +5 -0
  174. data/specs_e2e/rails_8/config/environments/development.rb +57 -0
  175. data/specs_e2e/rails_8/config/environments/production.rb +90 -0
  176. data/specs_e2e/rails_8/config/environments/test.rb +45 -0
  177. data/specs_e2e/rails_8/config/importmap.rb +7 -0
  178. data/specs_e2e/rails_8/config/initializers/content_security_policy.rb +25 -0
  179. data/specs_e2e/rails_8/config/initializers/filter_parameter_logging.rb +8 -0
  180. data/specs_e2e/rails_8/config/initializers/inflections.rb +16 -0
  181. data/specs_e2e/rails_8/config/locales/en.yml +31 -0
  182. data/specs_e2e/rails_8/config/master.key +1 -0
  183. data/specs_e2e/rails_8/config/puma.rb +41 -0
  184. data/specs_e2e/rails_8/config/queue.yml +18 -0
  185. data/specs_e2e/rails_8/config/recurring.yml +10 -0
  186. data/specs_e2e/rails_8/config/routes.rb +5 -0
  187. data/specs_e2e/rails_8/config/storage.yml +34 -0
  188. data/specs_e2e/rails_8/config.ru +6 -0
  189. data/specs_e2e/rails_8/db/cable_schema.rb +11 -0
  190. data/specs_e2e/rails_8/db/cache_schema.rb +14 -0
  191. data/specs_e2e/rails_8/db/migrate/20180621085832_create_posts.rb +11 -0
  192. data/specs_e2e/rails_8/db/queue_schema.rb +129 -0
  193. data/specs_e2e/rails_8/db/seeds.rb +9 -0
  194. data/specs_e2e/rails_8/package.json +8 -0
  195. data/specs_e2e/rails_8/playwright-report/index.html +71 -0
  196. data/specs_e2e/rails_8/public/400.html +114 -0
  197. data/specs_e2e/rails_8/public/404.html +114 -0
  198. data/specs_e2e/rails_8/public/406-unsupported-browser.html +114 -0
  199. data/specs_e2e/rails_8/public/422.html +114 -0
  200. data/specs_e2e/rails_8/public/500.html +114 -0
  201. data/specs_e2e/rails_8/public/icon.png +0 -0
  202. data/specs_e2e/rails_8/public/icon.svg +3 -0
  203. data/specs_e2e/rails_8/public/robots.txt +1 -0
  204. data/specs_e2e/rails_8/storage/test.sqlite3 +0 -0
  205. data/specs_e2e/rails_8/storage/test.sqlite3-shm +0 -0
  206. data/specs_e2e/rails_8/storage/test.sqlite3-wal +0 -0
  207. data/specs_e2e/rails_8/test/application_system_test_case.rb +5 -0
  208. data/specs_e2e/rails_8/test/controllers/posts_controller_test.rb +48 -0
  209. data/specs_e2e/rails_8/test/cypress_fixtures/posts.yml +11 -0
  210. data/specs_e2e/rails_8/test/fixtures/posts.yml +11 -0
  211. data/specs_e2e/rails_8/test/models/post_test.rb +7 -0
  212. data/specs_e2e/rails_8/test/test_helper.rb +15 -0
  213. data/specs_e2e/rails_8/test-results/.last-run.json +4 -0
  214. data/specs_e2e/{rails_5_2 → rails_8}/test.sh +1 -1
  215. metadata +246 -150
  216. data/lib/cypress_on_rails/vcr_middleware.rb +0 -73
  217. data/spec/cypress_on_rails/vcr_middleware_spec.rb +0 -119
  218. data/specs_e2e/rails_3_2/.gitignore +0 -9
  219. data/specs_e2e/rails_3_2/.ruby_version +0 -1
  220. data/specs_e2e/rails_3_2/Gemfile +0 -7
  221. data/specs_e2e/rails_3_2/README.rdoc +0 -261
  222. data/specs_e2e/rails_3_2/app/assets/stylesheets/application.css +0 -13
  223. data/specs_e2e/rails_3_2/app/controllers/application_controller.rb +0 -3
  224. data/specs_e2e/rails_3_2/app/controllers/welcome_controller.rb +0 -4
  225. data/specs_e2e/rails_3_2/app/helpers/application_helper.rb +0 -2
  226. data/specs_e2e/rails_3_2/app/models/post.rb +0 -21
  227. data/specs_e2e/rails_3_2/app/views/layouts/application.html.erb +0 -13
  228. data/specs_e2e/rails_3_2/app/views/welcome/index.html.erb +0 -24
  229. data/specs_e2e/rails_3_2/bin/rails +0 -6
  230. data/specs_e2e/rails_3_2/config/application.rb +0 -68
  231. data/specs_e2e/rails_3_2/config/boot.rb +0 -6
  232. data/specs_e2e/rails_3_2/config/environment.rb +0 -5
  233. data/specs_e2e/rails_3_2/config/environments/development.rb +0 -31
  234. data/specs_e2e/rails_3_2/config/environments/production.rb +0 -64
  235. data/specs_e2e/rails_3_2/config/environments/test.rb +0 -35
  236. data/specs_e2e/rails_3_2/config/initializers/backtrace_silencers.rb +0 -7
  237. data/specs_e2e/rails_3_2/config/initializers/inflections.rb +0 -15
  238. data/specs_e2e/rails_3_2/config/initializers/mime_types.rb +0 -5
  239. data/specs_e2e/rails_3_2/config/initializers/secret_token.rb +0 -7
  240. data/specs_e2e/rails_3_2/config/initializers/session_store.rb +0 -8
  241. data/specs_e2e/rails_3_2/config/locales/en.yml +0 -5
  242. data/specs_e2e/rails_3_2/config/routes.rb +0 -60
  243. data/specs_e2e/rails_3_2/config.ru +0 -4
  244. data/specs_e2e/rails_3_2/public/404.html +0 -26
  245. data/specs_e2e/rails_3_2/public/422.html +0 -26
  246. data/specs_e2e/rails_3_2/public/500.html +0 -25
  247. data/specs_e2e/rails_3_2/public/robots.txt +0 -5
  248. data/specs_e2e/rails_3_2/test.sh +0 -50
  249. data/specs_e2e/rails_4_2/.gitignore +0 -12
  250. data/specs_e2e/rails_4_2/Gemfile +0 -11
  251. data/specs_e2e/rails_4_2/README.rdoc +0 -28
  252. data/specs_e2e/rails_4_2/app/assets/javascripts/using_vcr.js +0 -2
  253. data/specs_e2e/rails_4_2/app/assets/stylesheets/using_vcr.css +0 -4
  254. data/specs_e2e/rails_4_2/app/controllers/application_controller.rb +0 -5
  255. data/specs_e2e/rails_4_2/app/controllers/using_vcr_controller.rb +0 -10
  256. data/specs_e2e/rails_4_2/app/controllers/welcome_controller.rb +0 -4
  257. data/specs_e2e/rails_4_2/app/models/post.rb +0 -23
  258. data/specs_e2e/rails_4_2/app/views/layouts/application.html.erb +0 -12
  259. data/specs_e2e/rails_4_2/app/views/using_vcr/index.html.erb +0 -6
  260. data/specs_e2e/rails_4_2/app/views/using_vcr/record_cats.html.erb +0 -7
  261. data/specs_e2e/rails_4_2/app/views/welcome/index.html.erb +0 -24
  262. data/specs_e2e/rails_4_2/bin/bundle +0 -3
  263. data/specs_e2e/rails_4_2/bin/rails +0 -4
  264. data/specs_e2e/rails_4_2/bin/rake +0 -4
  265. data/specs_e2e/rails_4_2/bin/setup +0 -29
  266. data/specs_e2e/rails_4_2/config/application.rb +0 -32
  267. data/specs_e2e/rails_4_2/config/boot.rb +0 -3
  268. data/specs_e2e/rails_4_2/config/environments/development.rb +0 -25
  269. data/specs_e2e/rails_4_2/config/environments/production.rb +0 -64
  270. data/specs_e2e/rails_4_2/config/environments/test.rb +0 -42
  271. data/specs_e2e/rails_4_2/config/initializers/backtrace_silencers.rb +0 -7
  272. data/specs_e2e/rails_4_2/config/initializers/cookies_serializer.rb +0 -3
  273. data/specs_e2e/rails_4_2/config/initializers/session_store.rb +0 -3
  274. data/specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb +0 -10
  275. data/specs_e2e/rails_4_2/config/initializers/wrap_parameters.rb +0 -9
  276. data/specs_e2e/rails_4_2/config/locales/en.yml +0 -23
  277. data/specs_e2e/rails_4_2/config/routes.rb +0 -61
  278. data/specs_e2e/rails_4_2/config/secrets.yml +0 -22
  279. data/specs_e2e/rails_4_2/package.json +0 -12
  280. data/specs_e2e/rails_4_2/playwright-report/index.html +0 -62
  281. data/specs_e2e/rails_4_2/public/favicon.ico +0 -0
  282. data/specs_e2e/rails_4_2/public/robots.txt +0 -5
  283. data/specs_e2e/rails_4_2/spec/fixtures/vcr_cassettes/cats.yml +0 -63
  284. data/specs_e2e/rails_5_2/Gemfile +0 -15
  285. data/specs_e2e/rails_5_2/app/assets/javascripts/posts.js +0 -2
  286. data/specs_e2e/rails_5_2/app/assets/stylesheets/posts.css +0 -4
  287. data/specs_e2e/rails_5_2/app/assets/stylesheets/scaffold.css +0 -80
  288. data/specs_e2e/rails_5_2/app/jobs/application_job.rb +0 -2
  289. data/specs_e2e/rails_5_2/app/views/welcome/index.html.erb +0 -5
  290. data/specs_e2e/rails_5_2/bin/bundle +0 -3
  291. data/specs_e2e/rails_5_2/bin/rails +0 -4
  292. data/specs_e2e/rails_5_2/bin/rake +0 -4
  293. data/specs_e2e/rails_5_2/bin/update +0 -25
  294. data/specs_e2e/rails_5_2/config/application.rb +0 -33
  295. data/specs_e2e/rails_5_2/config/boot.rb +0 -4
  296. data/specs_e2e/rails_5_2/config/credentials.yml.enc +0 -1
  297. data/specs_e2e/rails_5_2/config/environments/production.rb +0 -68
  298. data/specs_e2e/rails_5_2/config/initializers/backtrace_silencers.rb +0 -7
  299. data/specs_e2e/rails_5_2/config/initializers/filter_parameter_logging.rb +0 -4
  300. data/specs_e2e/rails_5_2/config/initializers/mime_types.rb +0 -4
  301. data/specs_e2e/rails_5_2/config/initializers/wrap_parameters.rb +0 -9
  302. data/specs_e2e/rails_5_2/config/master.key +0 -1
  303. data/specs_e2e/rails_5_2/public/favicon.ico +0 -0
  304. data/specs_e2e/rails_5_2/public/robots.txt +0 -1
  305. /data/specs_e2e/{rails_5_2 → rails_6_1}/.gitignore +0 -0
  306. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/controllers/application_controller.rb +0 -0
  307. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/controllers/posts_controller.rb +0 -0
  308. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/helpers/posts_helper.rb +0 -0
  309. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/models/application_record.rb +0 -0
  310. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/models/post.rb +0 -0
  311. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/_form.html.erb +0 -0
  312. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/edit.html.erb +0 -0
  313. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/index.html.erb +0 -0
  314. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/new.html.erb +0 -0
  315. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/show.html.erb +0 -0
  316. /data/specs_e2e/{rails_5_2 → rails_6_1}/config/initializers/application_controller_renderer.rb +0 -0
  317. /data/specs_e2e/{rails_5_2 → rails_6_1}/config/initializers/cookies_serializer.rb +0 -0
  318. /data/specs_e2e/{rails_4_2 → rails_6_1}/config/initializers/inflections.rb +0 -0
  319. /data/specs_e2e/{rails_4_2 → rails_6_1}/config/initializers/mime_types.rb +0 -0
  320. /data/specs_e2e/{rails_5_2 → rails_6_1}/config/routes.rb +0 -0
  321. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/404.html +0 -0
  322. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/422.html +0 -0
  323. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/500.html +0 -0
  324. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/apple-touch-icon-precomposed.png +0 -0
  325. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/apple-touch-icon.png +0 -0
  326. /data/specs_e2e/{rails_3_2 → rails_6_1}/public/favicon.ico +0 -0
  327. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/controllers/posts_controller_test.rb +0 -0
  328. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/cypress_fixtures/posts.yml +0 -0
  329. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/fixtures/posts.yml +0 -0
  330. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/models/post_test.rb +0 -0
  331. /data/specs_e2e/{rails_3_2/log → rails_6_1/vendor}/.keep +0 -0
  332. /data/specs_e2e/{rails_3_2/tmp → rails_7_2/vendor}/.keep +0 -0
  333. /data/specs_e2e/{rails_4_2/spec → rails_7_2/vendor/javascript}/.keep +0 -0
  334. /data/specs_e2e/{rails_5_2 → rails_8}/README.md +0 -0
  335. /data/specs_e2e/{rails_4_2/vendor → rails_8/storage}/.keep +0 -0
  336. /data/specs_e2e/{rails_5_2 → rails_8}/vendor/.keep +0 -0
  337. /data/specs_e2e/{rails_3_2/vendor/.gitkeep → rails_8/vendor/javascript/.keep} +0 -0
data/CHANGELOG.md CHANGED
@@ -1,245 +1,466 @@
1
- ## [1.17.0]
2
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.16.0...v1.17.0
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ This project adheres to [Semantic Versioning](https://semver.org/).
5
+
6
+ ---
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+ * **Rake tasks for test execution**: Added `cypress:open` and `cypress:run` rake tasks for seamless test execution, similar to cypress-rails functionality. Also added `playwright:open` and `playwright:run` tasks.
12
+ * **Server lifecycle hooks**: Added configuration hooks for test server management:
13
+ - `before_server_start`: Run code before Rails server starts
14
+ - `after_server_start`: Run code after Rails server is ready
15
+ - `after_transaction_start`: Run code after database transaction begins
16
+ - `after_state_reset`: Run code after application state is reset
17
+ - `before_server_stop`: Run code before Rails server stops
18
+ * **State reset endpoint**: Added `/cypress_rails_reset_state` and `/__cypress__/reset_state` endpoints for compatibility with cypress-rails
19
+ * **Transactional test mode**: Added support for automatic database transaction rollback between tests
20
+ * **Environment configuration**: Support for `CYPRESS_RAILS_HOST` and `CYPRESS_RAILS_PORT` environment variables
21
+ * **Automatic server management**: Test server automatically starts and stops with test execution
22
+
23
+ ### Migration Guide
24
+
25
+ #### From Manual Server Management (Old Way)
26
+ If you were previously running tests manually:
27
+
28
+ **Before (Manual Process):**
29
+ ```bash
30
+ # Terminal 1: Start Rails server
31
+ CYPRESS=1 bin/rails server -p 5017
32
+
33
+ # Terminal 2: Run tests
34
+ yarn cypress open --project ./e2e
35
+ # or
36
+ npx cypress run --project ./e2e
37
+ ```
38
+
39
+ **After (Automated with Rake Tasks):**
40
+ ```bash
41
+ # Single command - server managed automatically!
42
+ bin/rails cypress:open
43
+ # or
44
+ bin/rails cypress:run
45
+ ```
46
+
47
+ #### From cypress-rails Gem
48
+ If migrating from the `cypress-rails` gem:
49
+
50
+ 1. Update your Gemfile:
51
+ ```ruby
52
+ # Remove
53
+ gem 'cypress-rails'
54
+
55
+ # Add
56
+ gem 'cypress-on-rails', '~> 1.0'
57
+ ```
58
+
59
+ 2. Run bundle and generator:
60
+ ```bash
61
+ bundle install
62
+ rails g cypress_on_rails:install
63
+ ```
64
+
65
+ 3. Configure hooks in `config/initializers/cypress_on_rails.rb` (optional):
66
+ ```ruby
67
+ CypressOnRails.configure do |c|
68
+ # These hooks match cypress-rails functionality
69
+ c.before_server_start = -> { DatabaseCleaner.clean }
70
+ c.after_server_start = -> { Rails.application.load_seed }
71
+ c.transactional_server = true
72
+ end
73
+ ```
74
+
75
+ 4. Use the same commands you're familiar with:
76
+ ```bash
77
+ bin/rails cypress:open
78
+ bin/rails cypress:run
79
+ ```
80
+
81
+ ---
82
+
83
+ ## [1.18.0] — 2025-08-27
84
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.17.0...v1.18.0
85
+
86
+ ### Added
87
+ * **VCR middleware (use_cassette)**: optional middleware that wraps each request with `VCR.use_cassette` (GraphQL supported). Includes configuration via `config/cypress_on_rails.rb` and Cypress commands. [PR 167]
88
+ * **Rails 8 example app & CI job** to validate against the newest framework version. [PR 174]
89
+
90
+ ### Changed
91
+ * **Rails 7.2 example app** updates and CI wiring. [PR 171]
92
+ * Updated JetBrains logo/assets in README. [PR 177]
93
+
94
+ ### Removed
95
+ * Dropped Rails 4 and 5 from CI matrix. [PR 172]
96
+
97
+ ---
98
+
99
+ ## [1.17.0] — 2024-01-28
100
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.16.0...v1.17.0
3
101
 
4
102
  ### Changed
5
- * Removed the update generator and reduced options for install generator [PR 149](https://github.com/shakacode/cypress-on-rails/pull/149)
103
+ * Removed the update generator and reduced options for install generator [PR 149]
6
104
 
7
105
  ### Fixed
8
- * fix update index.js in install generator [PR 147](https://github.com/shakacode/cypress-on-rails/pull/147) by [Judahmeek]
9
- * 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]
10
- * Rewind body before reading it [PR 150](https://github.com/shakacode/cypress-on-rails/pull/150)
106
+ * Fix update `index.js` in install generator [PR 147] by [Judahmeek]
107
+ * Support Rails 7.1 by adding `content-type` header to generated `on-rails.js` file [PR 148] by [anark]
108
+ * Rewind body before reading it [PR 150]
109
+
110
+ ---
11
111
 
12
112
  ## [1.16.0]
13
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.15.1...v1.16.0
113
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.15.1...v1.16.0
14
114
 
15
115
  ### Added
16
- * Add support for `before_request` options on the middleware, for authentication [PR 138](https://github.com/shakacode/cypress-on-rails/pull/138) by [RomainEndelin]
116
+ * Add support for `before_request` options on the middleware, for authentication [PR 138] by [RomainEndelin]
117
+
118
+ ---
17
119
 
18
120
  ## [1.15.1]
19
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.15.0...v1.15.1
121
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.15.0...v1.15.1
20
122
 
21
123
  ### Fixed
22
- * fix cypress_folder deprecation warning by internal code [PR 136](https://github.com/shakacode/cypress-on-rails/pull/136)
124
+ * Fix `cypress_folder` deprecation warning by internal code [PR 136]
125
+
126
+ ---
23
127
 
24
128
  ## [1.15.0]
25
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.14.0...v1.15.0
129
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.14.0...v1.15.0
26
130
 
27
131
  ### Changed
28
- * Add support for any e2e testing framewrok starting with Playwright [PR 131](https://github.com/shakacode/cypress-on-rails/pull/131) by [KhaledEmaraDev]
132
+ * Add support for any e2e testing framework starting with Playwright [PR 131] by [KhaledEmaraDev]
133
+
134
+ ---
29
135
 
30
136
  ## [1.14.0]
31
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.13.1...v1.14.0
137
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.13.1...v1.14.0
32
138
 
33
139
  ### Changed
34
- * Add support for proxy routes through `api_prefix` [PR 130](https://github.com/shakacode/cypress-on-rails/pull/130) by [RomainEndelin]
140
+ * Add support for proxy routes through `api_prefix` [PR 130] by [RomainEndelin]
35
141
 
36
142
  ### Fixed
37
- * Properly copies the cypress_helper file when running the update generator [PR 117](https://github.com/shakacode/cypress-on-rails/pull/117) by [alvincrespo]
143
+ * Properly copies the cypress_helper file when running the update generator [PR 117] by [alvincrespo]
38
144
 
39
145
  ### Tasks
40
- * pass cypress record key to github action [PR 110](https://github.com/shakacode/cypress-on-rails/pull/110)
146
+ * Pass Cypress record key to GitHub Action [PR 110]
147
+
148
+ ---
41
149
 
42
150
  ## [1.13.1]
43
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.13.0...v1.13.1
151
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.13.0...v1.13.1
44
152
 
45
153
  ### Fixed
46
- * use_vcr_middleware disabled by default [PR 109](https://github.com/shakacode/cypress-on-rails/pull/109)
154
+ * `use_vcr_middleware` disabled by default [PR 109]
155
+
156
+ ---
47
157
 
48
158
  ## [1.13.0]
49
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.12.1...v1.13.0
159
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.12.1...v1.13.0
50
160
 
51
161
  ### Changed
52
162
  * Add support for matching npm package and VCR
53
- * generate for cypress 10 [PR 108](https://github.com/shakacode/cypress-on-rails/pull/108)
163
+ * Generate for Cypress 10 [PR 108]
164
+
165
+ ---
54
166
 
55
167
  ## [1.12.1]
56
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.12.0...v1.12.1
168
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.12.0...v1.12.1
57
169
 
58
170
  ### Tasks
59
- * Documenting how to setup Factory Associations [PR 100](https://github.com/shakacode/cypress-on-rails/pull/100)
171
+ * Document how to setup Factory Associations [PR 100]
60
172
 
61
173
  ### Fixed
62
- * keep track of factory manual reloads to prevent auto_reload from reloading again [PR 98](https://github.com/shakacode/cypress-on-rails/pull/98)
174
+ * Keep track of factory manual reloads to prevent auto_reload from reloading again [PR 98]
175
+
176
+ ---
63
177
 
64
178
  ## [1.12.0]
65
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.11.0...v1.12.0
179
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.11.0...v1.12.0
66
180
 
67
181
  ### Changed
68
- * only reload factories on clean instead of every factory create request [PR 95](https://github.com/shakacode/cypress-on-rails/pull/95)
69
- * alternative command added for get tail of logs [PR 89](https://github.com/shakacode/cypress-on-rails/pull/89) by [ccrockett]
182
+ * Only reload factories on clean instead of every factory create request [PR 95]
183
+ * Alternative command added for get tail of logs [PR 89] by [ccrockett]
70
184
 
71
185
  ### Tasks
72
- * switch from travis to github actions [PR 96]
186
+ * Switch from Travis to GitHub Actions [PR 96]
187
+
188
+ ---
73
189
 
74
190
  ## [1.11.0]
75
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.10.1...v1.11.0
191
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.10.1...v1.11.0
76
192
 
77
193
  ### Changed
78
- * improve app command logging on cypress
79
- * 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]
194
+ * Improve app command logging on Cypress
195
+ * Allow build and build_list commands to be executed against FactoryBot [PR 87] by [Alexander-Blair]
196
+
197
+ ---
80
198
 
81
199
  ## [1.10.1]
82
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.9.1...v1.10.1
200
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.9.1...v1.10.1
83
201
 
84
202
  ### Changed
85
- * improve error message received from failed command
203
+ * Improve error message received from failed command
204
+
205
+ ---
86
206
 
87
207
  ## [1.9.1]
88
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.9.0...v1.9.1
208
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.9.0...v1.9.1
89
209
 
90
210
  ### Fixed
91
- * fix using `load` in command files
211
+ * Fix using `load` in command files
212
+
213
+ ---
92
214
 
93
215
  ## [1.9.0]
94
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.8.1...v1.9.0
216
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.8.1...v1.9.0
95
217
 
96
218
  ### Changed
97
- * Update default generated folder to cypress instead of spec/cypress
98
- * Add a generator option to not install cypress
99
- * generator by default does not include examples
100
- * default on local to run cypress in development mode
219
+ * Update default generated folder to `cypress` instead of `spec/cypress`
220
+ * Add a generator option to not install Cypress
221
+ * Generator by default does not include examples
222
+ * Default on local to run Cypress in development mode
223
+
224
+ ---
101
225
 
102
226
  ## [1.8.1]
103
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.8.0...v1.8.1
227
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.8.0...v1.8.1
104
228
 
105
229
  ### Fixed
106
- * remove "--silent" option when adding cypress [PR 76](https://github.com/shakacode/cypress-on-rails/pull/76)
107
- * update cypress examples to use "preserve" instead of "whitelist" [PR 75](https://github.com/shakacode/cypress-on-rails/pull/75) by [alvincrespo](https://github.com/alvincrespo)
230
+ * Remove `--silent` option when adding Cypress [PR 76]
231
+ * Update Cypress examples to use "preserve" instead of "whitelist" [PR 75] by [alvincrespo]
232
+
233
+ ---
108
234
 
109
235
  ## [1.8.0]
110
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.7.0...v1.8.0
236
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.7.0...v1.8.0
111
237
 
112
238
  ### Changed
113
- * Use `FactoryBo#reload` to reset factory bot
239
+ * Use `FactoryBot#reload` to reset FactoryBot
240
+
241
+ ---
114
242
 
115
243
  ## [1.7.0]
116
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.6.0...v1.7.0
244
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.6.0...v1.7.0
117
245
 
118
246
  ### Changed
119
- * Improve eval() in command executor [PR 46](https://github.com/shakacode/cypress-on-rails/pull/46) by [Systho](https://github.com/Systho)
247
+ * Improve eval() in command executor [PR 46] by [Systho]
120
248
 
121
249
  ### Fixed
122
- * Add middleware after load_config_initializers [PR 62](https://github.com/shakacode/cypress-on-rails/pull/62) by [duytd](https://github.com/duytd)
250
+ * Add middleware after load_config_initializers [PR 62] by [duytd]
251
+
252
+ ---
123
253
 
124
254
  ## [1.6.0]
125
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.5.1...v1.6.0
255
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.5.1...v1.6.0
126
256
 
127
257
  ### Changed
128
- * Change default port to 5017 [PR 49](https://github.com/shakacode/cypress-on-rails/pull/49) by [vfonic](https://github/vfonic)
258
+ * Change default port to 5017 [PR 49] by [vfonic]
129
259
 
130
260
  ### Fixed
131
- * fix file location warning message in clean.rb [PR 54](https://github.com/shakacode/cypress-on-rails/pull/54) by [ootoovak](https://github.com/ootoovak)
261
+ * Fix file location warning message in clean.rb [PR 54] by [ootoovak]
262
+
263
+ ---
132
264
 
133
265
  ## [1.5.1]
134
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.5.0...v1.5.1
266
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.5.0...v1.5.1
135
267
 
136
268
  ### Fixed
137
- * fix FactoryBot Trait not registered error [PR 43](https://github.com/shakacode/cypress-on-rails/pull/43)
269
+ * Fix FactoryBot Trait not registered error [PR 43]
270
+
271
+ ---
138
272
 
139
273
  ## [1.5.0]
140
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.4.2...v1.5.0
274
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.4.2...v1.5.0
141
275
 
142
276
  ### Added
143
- * Serialize and return responses to be used in tests [PR 34](https://github.com/shakacode/cypress-on-rails/pull/34).
144
- * Update generator to make it easier to update core generated files [PR 35](https://github.com/shakacode/cypress-on-rails/pull/35).
277
+ * Serialize and return responses to be used in tests [PR 34]
278
+ * Update generator to make it easier to update core generated files [PR 35]
145
279
 
146
280
  ### Tasks
147
- * Update integration tests [PR 36](https://github.com/shakacode/cypress-on-rails/pull/36).
281
+ * Update integration tests [PR 36]
282
+
283
+ ---
148
284
 
149
285
  ## [1.4.2]
150
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.4.1...v1.4.2
286
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.4.1...v1.4.2
151
287
 
152
288
  ### Fixed
153
- * update generator to use full paths for Factory files [PR 33](https://github.com/shakacode/cypress-on-rails/pull/33).
289
+ * Update generator to use full paths for Factory files [PR 33]
290
+
291
+ ---
154
292
 
155
293
  ## [1.4.1]
156
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.4.0...v1.4.1
294
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.4.0...v1.4.1
157
295
 
158
296
  ### Fixed
159
- * fix install generator when using npm [PR 22](https://github.com/shakacode/cypress-on-rails/pull/22) by [josephan](https://github.com/josephan).
297
+ * Fix install generator when using npm [PR 22] by [josephan]
160
298
 
161
299
  ### Tasks
162
- * Fix typo in authentication docs [PR 29](https://github.com/shakacode/cypress-on-rails/pull/27) by [badimalex](https://github.com/badimalex)
163
- * Gemspec: Drop EOL'd property rubyforge_project [PR 27](https://github.com/shakacode/cypress-on-rails/pull/27) by [olleolleolle](https://github.com/olleolleolle)
164
- * Update Travis CI badge in README [PR 31](https://github.com/shakacode/cypress-on-rails/pull/31)
165
- * Fix CI by Installing cypress dependencies on Travis CI [PR 31](https://github.com/shakacode/cypress-on-rails/pull/31)
300
+ * Fix typo in authentication docs [PR 29] by [badimalex]
301
+ * Gemspec: Drop EOL'd property `rubyforge_project` [PR 27] by [olleolleolle]
302
+ * Update Travis CI badge in README [PR 31]
303
+ * Fix CI by installing Cypress dependencies on Travis CI [PR 31]
304
+
305
+ ---
166
306
 
167
307
  ## [1.4.0]
168
- [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.3.0...v1.4.0
308
+ [Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.3.0...v1.4.0
169
309
 
170
- * Accept an options argument for scenarios. [PR 18](https://github.com/shakacode/cypress-on-rails/pull/18) by [ericraio](https://github.com/ericraio).
310
+ * Accept an options argument for scenarios [PR 18] by [ericraio]
171
311
 
172
312
  ### Changed
173
- * renamed CypressDev to CypressOnRails
313
+ * Renamed CypressDev to CypressOnRails
314
+
315
+ ---
174
316
 
175
317
  ## [1.3.0]
176
318
  ### Added
177
- * Send any arguments to simple rails factory, not only hashes by [grantspeelman](https://github.com/grantspeelman).
319
+ * Send any arguments to simple Rails factory, not only hashes by [grantspeelman]
178
320
 
179
321
  ### Improved
180
- * stop running cypress examples on CI
322
+ * Stop running Cypress examples on CI
323
+
324
+ ---
181
325
 
182
326
  ## [1.2.1]
183
327
  ### Fixed
184
- * simple factory fails silently, changed to use create!
328
+ * Simple factory fails silently, changed to use `create!`
329
+
330
+ ---
185
331
 
186
332
  ## [1.2.0]
187
333
  ### Tasks
188
- * adding additional log failure logging
334
+ * Add additional log failure logging
335
+
336
+ ---
189
337
 
190
338
  ## [1.1.1]
191
339
  ### Fixed
192
- * smart factory wrapper can handle when factory files get deleted
340
+ * Smart factory wrapper can handle when factory files get deleted
341
+
342
+ ---
193
343
 
194
344
  ## [1.1.0]
195
345
  ### Tasks
196
- * add cypress examples to install generator
197
- * add active record integration specs
346
+ * Add Cypress examples to install generator
347
+ * Add ActiveRecord integration specs
348
+
349
+ ---
198
350
 
199
351
  ## 1.0.1
200
352
  ### Fixed
201
- * install generator adding on-rails.js to import.js
353
+ * Install generator adding `on-rails.js` to `import.js`
354
+
355
+ ---
202
356
 
203
357
  ## 1.0.0
204
- * renamed to CypressDev
205
- * middleware stripped down to make it more flexible and generic
206
- * concept of generic commands introduced that can have any ruby in it
207
- * and lots of other changes
358
+ * Renamed to CypressDev
359
+ * Middleware stripped down to make it more flexible and generic
360
+ * Concept of generic commands introduced that can have any Ruby in it
361
+ * And lots of other changes
362
+
363
+ ---
208
364
 
209
365
  ## 0.2.2 (2018-03-24)
210
366
  ### Fixed
211
- * fix major bug when using scenarios
367
+ * Fix major bug when using scenarios
368
+
369
+ ---
212
370
 
213
371
  ## 0.2.1 (2017-11-05)
214
372
  ### Fixed
215
- * fix failure in api tests
373
+ * Fix failure in API tests
374
+
375
+ ---
216
376
 
217
377
  ## 0.2.0 (2017-11-05)
218
378
  ### Changed
219
- * remove the need for a seperate port for the setup calls. Requires rerunning `cypress:install` generator
379
+ * Remove the need for a separate port for the setup calls. Requires rerunning `cypress:install` generator
220
380
 
221
- ## 0.1.5 (2017-11-01)
381
+ ---
222
382
 
383
+ ## 0.1.5 (2017-11-01)
223
384
  ### Added
224
- * `cy.rails` command for executing raw ruby on the backend
385
+ * `cy.rails` command for executing raw Ruby on the backend
225
386
  * `cy.setupRails` command for resetting application state
226
387
  * `cypress:install` generator now adds a `beforeEach` call to `cy.setupRails`
227
388
  * `cypress:install` generator configures the `cache_classes` setting in `config/environments/test.rb`
228
- * configuration option to include further modules in your runcontext
389
+ * Configuration option to include further modules in your runcontext
390
+
391
+ ---
229
392
 
230
393
  ## 0.1.2 (2017-10-31)
231
394
  * First release.
232
395
 
233
- [1.8.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.7.0...v1.8.0
234
- [1.7.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.6.0...v1.7.0
235
- [1.6.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.5.1...v1.6.0
236
- [1.5.1]: https://github.com/shakacode/cypress-on-rails/compare/v1.5.0...v1.5.1
237
- [1.5.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.4.2...v1.5.0
238
- [1.4.2]: https://github.com/shakacode/cypress-on-rails/compare/v1.4.1...v1.4.2
239
- [1.4.1]: https://github.com/shakacode/cypress-on-rails/compare/v1.4.0...v1.4.1
240
- [1.4.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.3.0...v1.4.0
241
- [1.3.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.2.1...v1.3.0
242
- [1.2.1]: https://github.com/shakacode/cypress-on-rails/compare/v1.2.0...v1.2.1
243
- [1.2.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.1.1...v1.2.0
244
- [1.1.1]: https://github.com/shakacode/cypress-on-rails/compare/v1.1.0...v1.1.1
245
- [1.1.0]: https://github.com/shakacode/cypress-on-rails/compare/v1.0.0...v1.1.0
396
+ ---
397
+
398
+ [PR 167]: https://github.com/shakacode/cypress-playwright-on-rails/pull/167
399
+ [PR 174]: https://github.com/shakacode/cypress-playwright-on-rails/pull/174
400
+ [PR 171]: https://github.com/shakacode/cypress-playwright-on-rails/pull/171
401
+ [PR 177]: https://github.com/shakacode/cypress-playwright-on-rails/pull/177
402
+ [PR 172]: https://github.com/shakacode/cypress-playwright-on-rails/pull/172
403
+ [PR 149]: https://github.com/shakacode/cypress-playwright-on-rails/pull/149
404
+ [PR 147]: https://github.com/shakacode/cypress-playwright-on-rails/pull/147
405
+ [PR 148]: https://github.com/shakacode/cypress-playwright-on-rails/pull/148
406
+ [PR 150]: https://github.com/shakacode/cypress-playwright-on-rails/pull/150
407
+ [PR 138]: https://github.com/shakacode/cypress-playwright-on-rails/pull/138
408
+ [PR 136]: https://github.com/shakacode/cypress-playwright-on-rails/pull/136
409
+ [PR 131]: https://github.com/shakacode/cypress-playwright-on-rails/pull/131
410
+ [PR 130]: https://github.com/shakacode/cypress-playwright-on-rails/pull/130
411
+ [PR 117]: https://github.com/shakacode/cypress-playwright-on-rails/pull/117
412
+ [PR 110]: https://github.com/shakacode/cypress-playwright-on-rails/pull/110
413
+ [PR 109]: https://github.com/shakacode/cypress-playwright-on-rails/pull/109
414
+ [PR 108]: https://github.com/shakacode/cypress-playwright-on-rails/pull/108
415
+ [PR 100]: https://github.com/shakacode/cypress-playwright-on-rails/pull/100
416
+ [PR 98]: https://github.com/shakacode/cypress-playwright-on-rails/pull/98
417
+ [PR 95]: https://github.com/shakacode/cypress-playwright-on-rails/pull/95
418
+ [PR 89]: https://github.com/shakacode/cypress-playwright-on-rails/pull/89
419
+ [PR 96]: https://github.com/shakacode/cypress-playwright-on-rails/pull/96
420
+ [PR 87]: https://github.com/shakacode/cypress-playwright-on-rails/pull/87
421
+ [PR 76]: https://github.com/shakacode/cypress-playwright-on-rails/pull/76
422
+ [PR 75]: https://github.com/shakacode/cypress-playwright-on-rails/pull/75
423
+ [PR 46]: https://github.com/shakacode/cypress-playwright-on-rails/pull/46
424
+ [PR 62]: https://github.com/shakacode/cypress-playwright-on-rails/pull/62
425
+ [PR 49]: https://github.com/shakacode/cypress-playwright-on-rails/pull/49
426
+ [PR 54]: https://github.com/shakacode/cypress-playwright-on-rails/pull/54
427
+ [PR 43]: https://github.com/shakacode/cypress-playwright-on-rails/pull/43
428
+ [PR 34]: https://github.com/shakacode/cypress-playwright-on-rails/pull/34
429
+ [PR 35]: https://github.com/shakacode/cypress-playwright-on-rails/pull/35
430
+ [PR 36]: https://github.com/shakacode/cypress-playwright-on-rails/pull/36
431
+ [PR 33]: https://github.com/shakacode/cypress-playwright-on-rails/pull/33
432
+ [PR 22]: https://github.com/shakacode/cypress-playwright-on-rails/pull/22
433
+ [PR 29]: https://github.com/shakacode/cypress-playwright-on-rails/pull/29
434
+ [PR 27]: https://github.com/shakacode/cypress-playwright-on-rails/pull/27
435
+ [PR 31]: https://github.com/shakacode/cypress-playwright-on-rails/pull/31
436
+ [PR 18]: https://github.com/shakacode/cypress-playwright-on-rails/pull/18
437
+
438
+ <!-- Version diff reference list -->
439
+ [1.18.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.17.0...v1.18.0
440
+ [1.17.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.16.0...v1.17.0
441
+ [1.16.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.15.1...v1.16.0
442
+ [1.15.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.15.0...v1.15.1
443
+ [1.15.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.14.0...v1.15.0
444
+ [1.14.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.13.1...v1.14.0
445
+ [1.13.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.13.0...v1.13.1
446
+ [1.13.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.12.1...v1.13.0
447
+ [1.12.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.12.0...v1.12.1
448
+ [1.12.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.11.0...v1.12.0
449
+ [1.11.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.10.1...v1.11.0
450
+ [1.10.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.9.1...v1.10.1
451
+ [1.9.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.9.0...v1.9.1
452
+ [1.9.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.8.1...v1.9.0
453
+ [1.8.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.8.0...v1.8.1
454
+ [1.8.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.7.0...v1.8.0
455
+ [1.7.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.6.0...v1.7.0
456
+ [1.6.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.5.1...v1.6.0
457
+ [1.5.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.5.0...v1.5.1
458
+ [1.5.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.4.2...v1.5.0
459
+ [1.4.2]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.4.1...v1.4.2
460
+ [1.4.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.4.0...v1.4.1
461
+ [1.4.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.3.0...v1.4.0
462
+ [1.3.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.2.1...v1.3.0
463
+ [1.2.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.2.0...v1.2.1
464
+ [1.2.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.1.1...v1.2.0
465
+ [1.1.1]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.1.0...v1.1.1
466
+ [1.1.0]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.0.0...v1.1.0