docbrown/cypress
Prayesh Shah c043339654
Bug Fix: Following an organization from article's sidebar creates an incorrect follow record (#15093)
* Downcase `followable_type` to fix wrong follows creation bug

* Use `follow_button` helper

* Remove puts statement

* Revert use of follow_button helper

* Remove downcase of followable_type from helper

* Refactor switch case for better consistency

* Add e2e test for follow organization from article page functionality

* Split cypress `it` block into two

* Add additional test to following organizations from dashboard

* Remove downcasing of followable_type for decorated objects

* Fix failing follow back spec

* Force capitalize `followable_type` param

Co-authored-by: Mac Siri <krairit.siri@gmail.com>

* Update app/controllers/follows_controller.rb

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2021-11-05 12:40:20 -04:00
..
fixtures Forem Creator Cypress Setup (#14984) 2021-10-08 11:05:12 -04:00
integration Bug Fix: Following an organization from article's sidebar creates an incorrect follow record (#15093) 2021-11-05 12:40:20 -04:00
plugins Added support for running E2E tests without seeded data (#14285) 2021-07-22 08:45:37 -04:00
support Creator Onboarding: Creator Setup View (#14728) 2021-11-01 15:50:08 -04:00
util Use a single listener for all follow buttons on a page (#14246) 2021-07-27 10:45:50 +01:00
.eslintrc.js Bump eslint-plugin-no-only-tests from 2.5.0 to 2.6.0 (#13616) 2021-05-03 11:16:29 -05:00
jsconfig.json Enabled Intellisense for the Cypress API (#14970) 2021-10-06 16:36:11 -04:00