About-4Geeks-Academy
About-4Geeks-Academy copied to clipboard
If you go to `/pricing` logged in we should act different
If you are a member of a cohort with available_as_saas=false
, ending_date>today
, and educational_status=ACTIVE
; then we should redirect the user to the dashboard, because we don't want to sell him anything more.
Tests:
Tests 1:
login as a user that is a member of a cohort with available_as_saas=false
, ending_date>today
, and educational_status=ACTIVE
, and try to go to https://dev.4geeks.com/pricing.
- [ ] It should redirect you to the dashboard.
Tests 2:
login as a user that is a member of a cohort with available_as_saas=true
, ending_date>today
, and educational_status=ACTIVE
, and try to go to https://dev.4geeks.com/pricing.
- [ ] It should allow you to go to pricing
Tests 3:
login as a user that is a member of a cohort with available_as_saas=false
, ending_date<today
, and educational_status=ACTIVE
, and try to go to https://dev.4geeks.com/pricing.
- [ ] It should allow you to go to pricing
Tests 4:
login as a user that is a member of a cohort with available_as_saas=true
, ending_date>today
, and educational_status!=ACTIVE
, and try to go to https://dev.4geeks.com/pricing.
- [ ] It should allow you to go to pricing