Commit 0548b119 by JonahStanley

Fixed other scenarios that were skipped

parent acc743ee
...@@ -26,11 +26,9 @@ Feature: Create Section ...@@ -26,11 +26,9 @@ Feature: Create Section
And I save a new section release date And I save a new section release date
Then the section release date is updated Then the section release date is updated
# Skipped because Ubuntu ChromeDriver hangs on alert
@skip
Scenario: Delete section Scenario: Delete section
Given I have opened a new course in Studio Given I have opened a new course in Studio
And I have added a new section And I have added a new section
When I press the "section" delete icon When I confirm all alerts
And I confirm the alert And I press the "section" delete icon
Then the section does not exist Then the section does not exist
...@@ -69,8 +69,8 @@ def i_see_complete_section_name_with_quote_in_editor(step): ...@@ -69,8 +69,8 @@ def i_see_complete_section_name_with_quote_in_editor(step):
@step('the section does not exist$') @step('the section does not exist$')
def section_does_not_exist(step): def section_does_not_exist(step):
css = 'span.section-name-span' css = 'h3[data-name="My Section"]'
assert world.browser.is_element_not_present_by_css(css) assert world.is_css_not_present(css)
@step('I see a release date for my section$') @step('I see a release date for my section$')
......
...@@ -32,12 +32,10 @@ Feature: Create Subsection ...@@ -32,12 +32,10 @@ Feature: Create Subsection
And I reload the page And I reload the page
Then I see the correct dates Then I see the correct dates
# Skipped because Ubuntu ChromeDriver hangs on alert
@skip
Scenario: Delete a subsection Scenario: Delete a subsection
Given I have opened a new course section in Studio Given I have opened a new course section in Studio
And I have added a new subsection And I have added a new subsection
And I see my subsection on the Courseware page And I see my subsection on the Courseware page
When I press the "subsection" delete icon When I confirm all alerts
And I confirm the alert And I press the "subsection" delete icon
Then the subsection does not exist Then the subsection does not exist
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