Using the success condition

Got rid of announcement test

Removed assumption about uniqueness of css steps
This commit is contained in:
JonahStanley
2013-07-02 11:05:31 -04:00
parent 3e44f8a213
commit 47158d7079
2 changed files with 0 additions and 7 deletions

View File

@@ -7,7 +7,6 @@ Feature: Component Adding
When I add the following components:
| Component |
| Discussion |
| Announcement |
| Blank HTML |
| LaTex |
| Blank Problem|
@@ -26,7 +25,6 @@ Feature: Component Adding
Then I see the following components:
| Component |
| Discussion |
| Announcement |
| Blank HTML |
| LaTex |
| Blank Problem|
@@ -50,7 +48,6 @@ Feature: Component Adding
And I add the following components:
| Component |
| Discussion |
| Announcement |
| Blank HTML |
| LaTex |
| Blank Problem|

View File

@@ -62,10 +62,6 @@ COMPONENT_DICTIONARY = {
'steps': step_selector_list('discussion', None),
'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': {
'steps': step_selector_list('html', 'Blank_HTML_Page'),
#this one is a blank html so a more refined search is being done