Commit 47158d70 by JonahStanley

Using the success condition

Got rid of announcement test

Removed assumption about uniqueness of css steps
parent 3e44f8a2
...@@ -7,7 +7,6 @@ Feature: Component Adding ...@@ -7,7 +7,6 @@ Feature: Component Adding
When I add the following components: When I add the following components:
| Component | | Component |
| Discussion | | Discussion |
| Announcement |
| Blank HTML | | Blank HTML |
| LaTex | | LaTex |
| Blank Problem| | Blank Problem|
...@@ -26,7 +25,6 @@ Feature: Component Adding ...@@ -26,7 +25,6 @@ Feature: Component Adding
Then I see the following components: Then I see the following components:
| Component | | Component |
| Discussion | | Discussion |
| Announcement |
| Blank HTML | | Blank HTML |
| LaTex | | LaTex |
| Blank Problem| | Blank Problem|
...@@ -50,7 +48,6 @@ Feature: Component Adding ...@@ -50,7 +48,6 @@ Feature: Component Adding
And I add the following components: And I add the following components:
| Component | | Component |
| Discussion | | Discussion |
| Announcement |
| Blank HTML | | Blank HTML |
| LaTex | | LaTex |
| Blank Problem| | Blank Problem|
......
...@@ -62,10 +62,6 @@ COMPONENT_DICTIONARY = { ...@@ -62,10 +62,6 @@ COMPONENT_DICTIONARY = {
'steps': step_selector_list('discussion', None), 'steps': step_selector_list('discussion', None),
'found_func': found_css_func('section.xmodule_DiscussionModule') 'found_func': found_css_func('section.xmodule_DiscussionModule')
}, },
'Announcement': {
'steps': step_selector_list('html', 'Announcement'),
'found_func': found_text_func('Heading of document')
},
'Blank HTML': { 'Blank HTML': {
'steps': step_selector_list('html', 'Blank_HTML_Page'), 'steps': step_selector_list('html', 'Blank_HTML_Page'),
#this one is a blank html so a more refined search is being done #this one is a blank html so a more refined search is being done
......
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