Logo: Relish

  1. Sign in

Project: Efclass-authoring-web

Edit a course

As an
I want to
So that

Background
Given
the course with alias "ctx_qa Edit a course" exists:
And
I have logged in as a author
Scenarios
  • @manual
Editing an existent course
When
I open the course with alias "ctx_qa Edit a course"
Then
I should be able to edit the course with alias "ctx_qa Edit a course" with the following information:
Course Title title
Course Description description
Production Stage production_stage
Languages Taught languages_taught
CEFR Stages cefr_stages
Curriculum Requirements curriculum_requirements
ILS Business unit ID ils_id
Examples: Only for required attributes
title description production_stage languages_taught cefr_stages curriculum_requirements ils_id
[sentence(4)] [~production_stage] [~languages_taught]
Examples: For all attributes
title description production_stage languages_taught cefr_stages curriculum_requirements ils_id
[sentence(4)] [paragraph(2)] [~production_stage] [~languages_taught] [~cefr_stages] [~curriculum_requirements] [characters(4)]
Examples: Long data (long course title, long description, all CEFR stages and a long ILS business unit ID)
title description production_stage languages_taught cefr_stages curriculum_requirements ils_id
[sentence(8)] [paragraph(4)] [~production_stage] [~languages_taught] [*cefr_stages] [~curriculum_requirements] [characters(50)]
  • @manual
Validating required attributes when editing a course
When
I open the course with alias "ctx_qa Edit a course"
And
I edit the course with alias "ctx_qa Edit a course" with the following information:
Course Title
Course Description [paragraph(2)]
Production Stage
Languages Taught [~languages_taught]
CEFR Stages [~cefr_stages]
Curriculum Requirements [~curriculum_requirements]
ILS Business unit ID [characters(4)]
Then
I should be informed that required unit fields should be entered
  • @manual
Cancel course editing
When
I open the course with alias "ctx_qa Edit a course"
Then
I should be able to cancel the attempt to edit the course with alias "ctx_qa Edit a course" with the following data:
Course Title title
Course Description description
Production Stage production_stage
Languages Taught languages_taught
CEFR Stages cefr_stages
Curriculum Requirements curriculum_requirements
ILS Business unit ID ils_id
Examples: Empty course with the default product stage
title description production_stage languages_taught cefr_stages curriculum_requirements ils_id
[&production_stage]
Examples: Full course
title description production_stage languages_taught cefr_stages curriculum_requirements ils_id
[sentence(4)] [paragraph(2)] [~production_stage] [~languages_taught] [~cefr_stages] [~curriculum_requirements] [characters(4)]

Last published over 5 years ago by Willy De la Cruz Sierra.