kpi is the (frontend) server for KoboToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data.
Update Cypress tests so that the first test, which logs in and creates a new project, works again.
Notes
The tests were broken by Django upgrades, the switch to django-allauth, removal of valid webpack configuration from the testing environment (#4517), and UI layout changes.
project.spec.js now works, but question.spec.js and delete.spec.js are still broken due to UI changes.
NB: the /api/v2/organizations/…/service_usage/ endpoint currently cannot be served by ./manage.py cypress_testserver; it will log this failure:
django.db.utils.ProgrammingError: relation "logger_xform" does not exist
LINE 1: ...ttachment_storage_bytes"), 0) AS "bytes_sum" FROM "logger_xf...
There's a corresponding error message in the UI, but this is not the cause of any Cypress tests failing.
Description
Update Cypress tests so that the first test, which logs in and creates a new project, works again.
Notes
The tests were broken by Django upgrades, the switch to django-allauth, removal of valid webpack configuration from the testing environment (#4517), and UI layout changes.
project.spec.js
now works, butquestion.spec.js
anddelete.spec.js
are still broken due to UI changes.NB: the
/api/v2/organizations/…/service_usage/
endpoint currently cannot be served by./manage.py cypress_testserver
; it will log this failure:There's a corresponding error message in the UI, but this is not the cause of any Cypress tests failing.