Skip to content

Commit

Permalink
Update test to hide times (where possible with simple css), update sc…
Browse files Browse the repository at this point in the history
…reenshots
  • Loading branch information
ihodes committed May 7, 2015
1 parent fe8c7d9 commit 33c2ab7
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 1 deletion.
Binary file modified tests/pdifftests/images/examine_comments-edit.png
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
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/runs_bams.png
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/runs_info.png
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/runs_page.png
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/website_comments.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion tests/pdifftests/test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from seltest import url, waitfor, dontwaitfor, Base
from seltest import url, waitfor, dontwaitfor, Base, hide
from selenium.webdriver.support.ui import Select
from selenium.webdriver.common.action_chains import ActionChains

Expand All @@ -16,6 +16,7 @@ def about_page(self, driver):
"""The about/API documentation page."""
pass

@hide('span.time')
@url('/comments')
def comments(self, driver):
"""Initial view of the comments page."""
Expand All @@ -26,15 +27,18 @@ class Runs(Base):
window_size = [1280, 800]
base_url = BASE

@hide('span.time')
def page(self, driver):
"""Initial view of the runs page."""
pass

@hide('span.time')
def info(self, driver):
"""Showing an expanded run row and information."""
run = driver.find_element_by_css_selector('tr.run')
run.click()

@hide('span.time')
def bams(self, driver):
"""Showing the list of BAMs in a project."""
bam_btn_sel = 'div.project:last-child .project-stats a:first-child'
Expand Down

0 comments on commit 33c2ab7

Please sign in to comment.