kblincoe / QualOpt_SE701

2 stars 15 forks source link

refactor(study-dialog): add this.isNew() to keep the logic for checki… #154

Closed frederickfogerty closed 5 years ago

frederickfogerty commented 6 years ago

…ng for new studies DRY

Fixes #58

Steps to test

Pre-requisites: logged in user

  1. Open the studies screen
  2. Open the New Study dialog
  3. Ensure that the title is "Create Study"
  4. Create a new study and verify that the study is successfully created
  5. Edit an existing study
  6. Ensure the title is "Edit Study"
  7. Save the edit and ensure the edit was successfully saved
fraserdrops commented 6 years ago

I approve

fraserdrops commented 6 years ago

@softeng-701 Team approval has been established