-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFR] Add methods for questionnaire class #749
Conversation
Signed-off-by: Nandini Chandra <[email protected]>
|
||
export class AssessmentQuestionnaire { | ||
public static fullUrl = Cypress.env("tackleUrl") + "/assessment"; | ||
|
||
constructor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to add fileName in constructor ?
That will make it a mandatory parameter to initialize this class.
User can just enable legacyPathfinder and not necessarily import one.
We can make fileName a parameter in importQuestionnaire() method and pass it from test in case when we are importing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sshveta , thanks for the question.
My plan is to have the following methods for all questionnaires including the Legacy Pathfinder questionnaire. I know the import method is not relevant to the Legacy Pathfinder questionnaire since it's already available , but the other methods are . I'll look into this to figure out what works the best for this class.
- Import
- Export
- View
- Delete
- Enable
- Disable
Signed-off-by: Nandini Chandra <[email protected]>
Signed-off-by: Nandini Chandra <[email protected]>
cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts
Outdated
Show resolved
Hide resolved
cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts
Outdated
Show resolved
Hide resolved
cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts
Outdated
Show resolved
Hide resolved
cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Nandini Chandra <[email protected]>
cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts
Show resolved
Hide resolved
cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Nandini Chandra <[email protected]>
To do: