medic / cht-release-testing

Used to track release testing on medic projects
2 stars 0 forks source link

Test Compatibility with `cht-conf` #204

Open ngaruko opened 1 year ago

ngaruko commented 1 year ago

User: Admin/ Online Site: local Platform: Chrome, Mobile App Test Steps: Steps for test

  1. Check if there is enough documentation for version of cht conf compatible with cht 4.
  2. Test that version - config/settings/supported actions etc.

Expected Result: User should be able to use cht conf to an cht 4 instance. If there are incompatible versions, this should be documented. Users using incompatible cht conf versions should have a clear warning when attempting to use an older version of cht-conf

lorerod commented 1 year ago

Client platform: MacOS App: api Version: 4.0.0-alpha

Single node couchdb cht-conf version 3.9.1 Steps:

  1. Single node upload docs:

Captura de Pantalla 2022-11-03 a la(s) 12 17 37

Data uploaded: Captura de Pantalla 2022-11-03 a la(s) 12 23 28
  1. Single node change config and upload docs:
    • Navigate your terminal to the directory of your config.
    • Run the following cht-conf command to your local instance: cht --url=https://medic:password@localhost --accept-self-signed-certs
    • It will execute:
      INFO Processing config in config-brac. 
      INFO Actions:
      - check-git
      - compile-app-settings
      - backup-app-settings
      - upload-app-settings
      - convert-app-forms
      - convert-collect-forms
      - convert-contact-forms
      - backup-all-forms
      - delete-all-forms
      - upload-app-forms
      - upload-collect-forms
      - upload-contact-forms
      - upload-resources
      - upload-branding
      - upload-partners
      - upload-custom-translations
      - upload-privacy-policies 
    • And finally: INFO All actions completed.
Log: ``` INFO Summary: 7462 of 7462 docs uploaded OK. Full report written to: upload-docs.1667490256047.log.json INFO upload-docs complete. INFO Starting action: create-users… INFO Requesting user-info for "betheltesting1-districthospitaldistricthospital0user0" INFO Requesting user-info for "jerodtesting1-districthospitaldistricthospital0user1" INFO Requesting user-info for "jessycatesting1-districthospitaldistricthospital0user2" INFO Requesting user-info for "antoniotesting1-districthospitaldistricthospital0user3" INFO Requesting user-info for "adrieltesting1-districthospitaldistricthospital0user4" INFO Requesting user-info for "deontetesting1-districthospitaldistricthospital0user5" INFO Requesting user-info for "abbigailtesting1-districthospitaldistricthospital0healthcenter0user0" INFO Requesting user-info for "lisatesting1-districthospitaldistricthospital0healthcenter1user0" INFO Requesting user-info for "nyasiatesting1-districthospitaldistricthospital0healthcenter2user0" INFO Requesting user-info for "rhetttesting1-districthospitaldistricthospital0healthcenter3user0" INFO Requesting user-info for "kaleightesting1-districthospitaldistricthospital0healthcenter4user0" INFO Requesting user-info for "mavericktesting1-districthospitaldistricthospital0healthcenter5user0" INFO Requesting user-info for "reinatesting1-districthospitaldistricthospital0healthcenter6user0" INFO Requesting user-info for "leonortesting1-districthospitaldistricthospital0healthcenter7user0" INFO Requesting user-info for "delphinetesting1-districthospitaldistricthospital0healthcenter8user0" INFO Requesting user-info for "dawsontesting1-districthospitaldistricthospital0healthcenter9user0" INFO Creating user betheltesting1-districthospitaldistricthospital0user0 INFO Creating user jerodtesting1-districthospitaldistricthospital0user1 INFO Creating user jessycatesting1-districthospitaldistricthospital0user2 INFO Creating user antoniotesting1-districthospitaldistricthospital0user3 INFO Creating user adrieltesting1-districthospitaldistricthospital0user4 INFO Creating user deontetesting1-districthospitaldistricthospital0user5 INFO Creating user abbigailtesting1-districthospitaldistricthospital0healthcenter0user0 INFO Creating user lisatesting1-districthospitaldistricthospital0healthcenter1user0 INFO Creating user nyasiatesting1-districthospitaldistricthospital0healthcenter2user0 INFO Creating user rhetttesting1-districthospitaldistricthospital0healthcenter3user0 INFO Creating user kaleightesting1-districthospitaldistricthospital0healthcenter4user0 INFO Creating user mavericktesting1-districthospitaldistricthospital0healthcenter5user0 INFO Creating user reinatesting1-districthospitaldistricthospital0healthcenter6user0 INFO Creating user leonortesting1-districthospitaldistricthospital0healthcenter7user0 INFO Creating user delphinetesting1-districthospitaldistricthospital0healthcenter8user0 INFO Creating user dawsontesting1-districthospitaldistricthospital0healthcenter9user0 INFO create-users complete. INFO All actions completed. ```
lorerod commented 1 year ago

Client platform: MacOS App: api Version: 4.0.0-alpha

Clustered node couchdb cht-conf version 3.9.1 Steps:

  1. Clustered node upload docs:

Captura de Pantalla 2022-11-03 a la(s) 13 07 52

Data uploaded: Captura de Pantalla 2022-11-03 a la(s) 13 08 45
  1. Clustered node change config and upload docs:
    • Navigate your terminal to the directory of your config.
    • Run the following cht-conf command to your local instance: cht --url=https://medic:password@localhost --accept-self-signed-certs
    • It will execute:
      INFO Processing config in config-brac. 
      INFO Actions:
      - check-git
      - compile-app-settings
      - backup-app-settings
      - upload-app-settings
      - convert-app-forms
      - convert-collect-forms
      - convert-contact-forms
      - backup-all-forms
      - delete-all-forms
      - upload-app-forms
      - upload-collect-forms
      - upload-contact-forms
      - upload-resources
      - upload-branding
      - upload-partners
      - upload-custom-translations
      - upload-privacy-policies 
    • And finally: INFO All actions completed.
Log: ``` INFO Summary: 7462 of 7462 docs uploaded OK. Full report written to: upload-docs.1667491995750.log.json INFO upload-docs complete. INFO Starting action: create-users… INFO Requesting user-info for "betheltesting1-districthospitaldistricthospital0user0" INFO Requesting user-info for "jerodtesting1-districthospitaldistricthospital0user1" INFO Requesting user-info for "jessycatesting1-districthospitaldistricthospital0user2" INFO Requesting user-info for "antoniotesting1-districthospitaldistricthospital0user3" INFO Requesting user-info for "adrieltesting1-districthospitaldistricthospital0user4" INFO Requesting user-info for "deontetesting1-districthospitaldistricthospital0user5" INFO Requesting user-info for "abbigailtesting1-districthospitaldistricthospital0healthcenter0user0" INFO Requesting user-info for "lisatesting1-districthospitaldistricthospital0healthcenter1user0" INFO Requesting user-info for "nyasiatesting1-districthospitaldistricthospital0healthcenter2user0" INFO Requesting user-info for "rhetttesting1-districthospitaldistricthospital0healthcenter3user0" INFO Requesting user-info for "kaleightesting1-districthospitaldistricthospital0healthcenter4user0" INFO Requesting user-info for "mavericktesting1-districthospitaldistricthospital0healthcenter5user0" INFO Requesting user-info for "reinatesting1-districthospitaldistricthospital0healthcenter6user0" INFO Requesting user-info for "leonortesting1-districthospitaldistricthospital0healthcenter7user0" INFO Requesting user-info for "delphinetesting1-districthospitaldistricthospital0healthcenter8user0" INFO Requesting user-info for "dawsontesting1-districthospitaldistricthospital0healthcenter9user0" INFO Creating user betheltesting1-districthospitaldistricthospital0user0 INFO Creating user jerodtesting1-districthospitaldistricthospital0user1 INFO Creating user jessycatesting1-districthospitaldistricthospital0user2 INFO Creating user antoniotesting1-districthospitaldistricthospital0user3 INFO Creating user adrieltesting1-districthospitaldistricthospital0user4 INFO Creating user deontetesting1-districthospitaldistricthospital0user5 INFO Creating user abbigailtesting1-districthospitaldistricthospital0healthcenter0user0 INFO Creating user lisatesting1-districthospitaldistricthospital0healthcenter1user0 INFO Creating user nyasiatesting1-districthospitaldistricthospital0healthcenter2user0 INFO Creating user rhetttesting1-districthospitaldistricthospital0healthcenter3user0 INFO Creating user kaleightesting1-districthospitaldistricthospital0healthcenter4user0 INFO Creating user mavericktesting1-districthospitaldistricthospital0healthcenter5user0 INFO Creating user reinatesting1-districthospitaldistricthospital0healthcenter6user0 INFO Creating user leonortesting1-districthospitaldistricthospital0healthcenter7user0 INFO Creating user delphinetesting1-districthospitaldistricthospital0healthcenter8user0 INFO Creating user dawsontesting1-districthospitaldistricthospital0healthcenter9user0 INFO create-users complete. INFO All actions completed. ```

Observation: Also tested this with cht-conf version 3.15