FreedomCoop / valuenetwork

Fork coming from NRP-Sensorica to use and work for FREEDOM COOP
http://fair.coop
GNU Affero General Public License v3.0
31 stars 12 forks source link

Check if form is sent if put a different number of shares than minimum required (Collective). Registration Module. Testocp enviroment #506

Closed Holofractographic closed 4 years ago

Holofractographic commented 5 years ago

Defect ID: DF_REG_01 Test Case: Check if form is sent if put a different number of shares than minimum required (Collective Accounts)

Steps to reproduce:

  1. Go to testocp.freedomcoop.eu
  2. Click on JoinFreedomcoop Button
  3. Fullfil the form adding less shares than required (collective accounts)
  4. Click on Submit Button

Expected Result: A message requering fulfill fields appear The form is not sent

Actual Result: It allow to send the form with 1 share (less than minimum required)

Screenshot (admin module) DF_REG_05

bum2 commented 5 years ago

needs to be solved via JavaScript in the custom script for the project, because is a custom behavior for FdC... no commits will solve this, just needs to include this js behavior in the PROJECTS_LOGIN object at local_settings.py

bum2 commented 5 years ago

i did a change in the custom js for FdC membership form at testocp, and now this minimum shares should be forced... please retest and reopen if needed

Xicnet commented 5 years ago

This is ready to do the final test and close if applies.

encosianima commented 5 years ago

I did follow instruction as Holofractografic commented on May 20 and, when selecting collective account, the number of shares is forced to be 2 (or more).

Holofractographic commented 4 years ago

Retested and works fine. Close the issue