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
This commit is contained in:
@@ -59,19 +59,3 @@ Feature: CMS.Component Adding
|
||||
# | Component |
|
||||
# | Problem Written 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"
|
||||
|
||||
Reference in New Issue
Block a user