Skip to content

Commit

Permalink
Update test.py with class change and tweak CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinathanson committed Mar 31, 2015
1 parent 0a5ecdb commit 3ecf170
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion cycledash/static/css/examine.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,13 @@ body {
}
.vcf-table .comment-header {
width: 700px;
height: 30px;
height: 35px;
padding-top: 2px;
text-align: right;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 3px 3px 0px 0px;
color: #666;
}
.vcf-table .comment-text {
clear: both;
Expand Down
Binary file modified tests/pdifftests/images/examine_comments-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/images/examine_comments-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions tests/pdifftests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def comments_edit(self, driver):
"""Examine page showing a comment in edit mode."""
row = driver.find_element_by_css_selector('tbody tr')
row.click()
btn = driver.find_elements_by_css_selector('.comment-button')[1]
assert btn.text.lower() == 'edit'
btn = driver.find_elements_by_css_selector('.comment-edit')[1]
btn.click()

@dontwaitfor('.query-status')
Expand Down

0 comments on commit 3ecf170

Please sign in to comment.