Logo: Relish

  1. Sign in

Project: Efclass-authoring-web

Edit a unit

As an
I want to
So that

Background
Given
the unit with alias "ctx_qa Edit a unit" exists:
And
I have logged in as a author
Scenarios
  • @manual
Editing an existent course
When
I open the unit with alias "ctx_qa Edit a unit"
Then
I should be able to edit the unit with alias "ctx_qa Edit a course" with the following information:
Unit Title title
Unit Description description
Production Stage production_stage
CEFR Stages cefr_stages
Compass Topics topics
Compass can-do statements can_do_statements
Compass functions functions
Compass grammar points grammar_points
ILS Business unit ID ils_id
Examples: Only for required attributes
title description production_stage cefr_stages topics can_do_statements functions grammar_points ils_id
[sentences(4)] ~[production_stage]
Examples: For all attributes
title description production_stage cefr_stages topics can_do_statements functions grammar_points ils_id
[sentences(4)] [paragraphs(2)] ~[production_stage] ~[cefr_stages] ~[topics] ~[can_do_statement] ~[functions] ~[grammar_points] [characters(4)]
Examples: Long data (long title, description, topics, can do statements, functions, grammar points and ils bossiness id)
title description production_stage cefr_stages topics can_do_statements functions grammar_points ils_id
[sentences(8)] [paragraphs(4)] ~[production_stage] *[cefr_stages] ~5[topics] ~5[can_do_statement] ~5[functions] ~5[grammar_points] [characters(50)]
  • @manual
Validating required attributes when editing a unit
When
I open the unit with alias "ctx_qa Edit a unit"
And
I edit the unit with alias "ctx_qa Edit a unit" with the following information:
Unit Title
Unit Description [paragraphs(2)]
Production Stage
CEFR Stages ~[cefr_stages]
Compass Topics ~[topics]
Compass can-do statements ~[can_do_statement]
Compass functions ~[functions]
Compass grammar points ~[grammar_points]
ILS Business unit ID [characters(4)]
Then
I should be informed that required unit fields should be entered
  • @manual
Cancel unit editing
When
I open the unit with alias "ctx_qa Edit a unit"
Then
I should be able to cancel the attempt to edit the unit with alias "ctx_qa Edit a unit" with the following data:
Unit Title title
Unit Description description
Production Stage production_stage
CEFR Stages cefr_stages
Compass Topics topics
Compass can-do statements can_do_statements
Compass functions functions
Compass grammar points grammar_points
ILS Business unit ID ils_id
Examples: Empty unit with the default product stage
title description production_stage cefr_stages topics can_do_statements functions grammar_points ils_id
[sentences(8)] [paragraphs(4)] ~[production_stage] *[cefr_stages] ~5[topics] ~5[can_do_statement] ~5[functions] ~5[grammar_points] [characters(50)]
Examples: Full unit
title description production_stage cefr_stages topics can_do_statements functions grammar_points ils_id
[sentences(8)] [paragraphs(4)] ~[production_stage] *[cefr_stages] ~5[topics] ~5[can_do_statement] ~5[functions] ~5[grammar_points] [characters(50)]

Last published about 6 years ago by Willy De la Cruz Sierra.