Commit f3a0c58a by Muddasser

Merge pull request #11836 from edx/muddasser/lettuce/cms/component.feature

Partially covered in bokchoy at studio/test_studio_container.py:EditContainerTest and studio/test_studio_container.py:DisplayNameTest
parents 8343bd4e cb0bb1f4
...@@ -59,19 +59,3 @@ Feature: CMS.Component Adding ...@@ -59,19 +59,3 @@ Feature: CMS.Component Adding
# | Component | # | Component |
# | Problem Written in LaTeX | # | Problem Written in LaTeX |
# | Problem with Adaptive Hint in Latex | # | Problem with Adaptive Hint in Latex |
Scenario: I can set the display name of a component
Given I am in Studio editing a new unit
When I add a "Text" "HTML" component
Then I see the display name is "Text"
When I change the display name to "I'm the Cuddliest!"
Then I see the display name is "I'm the Cuddliest!"
Scenario: If a component has no display name, the category is displayed
Given I am in Studio editing a new unit
When I add a "Blank Advanced Problem" "Advanced Problem" component
Then I see the display name is "Blank Advanced Problem"
When I change the display name to ""
Then I see the display name is "problem"
When I unset the display name
Then I see the display name is "Blank Advanced Problem"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment