Skip to content

Commit

Permalink
Update screenshots, switch to using phantomjs for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
ihodes committed Mar 23, 2015
1 parent f0bae16 commit b71ebf8
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 2 deletions.
Binary file removed tests/pdifftests/images/examine-bad_query.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-base.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-comments_edit.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-comments_view.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-filter.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-sorted.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-tooltip.png
Binary file not shown.
Binary file removed tests/pdifftests/images/examine-validation.png
Binary file not shown.
Binary file removed tests/pdifftests/images/runs-bams.png
Binary file not shown.
Binary file removed tests/pdifftests/images/runs-info.png
Binary file not shown.
Binary file removed tests/pdifftests/images/runs-page.png
Binary file not shown.
Binary file added tests/pdifftests/images/runs_bams.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 removed tests/pdifftests/images/website-about_page.png
Binary file not shown.
Binary file removed tests/pdifftests/images/website-comments.png
Binary file not shown.
Binary file added tests/pdifftests/images/website_about-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/pdifftests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ python run.py > tests/pdifftests/log.txt 2>&1 &
RUN_PID=$!
echo pid of test server is $RUN_PID
echo logging to tests/pdifftests/log.txt
sel update -o tests/pdifftests/images $@ tests/pdifftests
sel update -b phantomjs -o tests/pdifftests/images "$@" tests/pdifftests
kill $RUN_PID
4 changes: 3 additions & 1 deletion tests/pdifftests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class Website(Base):
window_size = [2000, 10000]
window_size = [1280, 800]
base_url = BASE

@url('/about')
Expand All @@ -23,6 +23,7 @@ def comments(self, driver):


class Runs(Base):
window_size = [1280, 800]
base_url = BASE

def page(self, driver):
Expand All @@ -42,6 +43,7 @@ def bams(self, driver):


class Examine(Base):
window_size = [1280, 800]
base_url = BASE + '/runs/1/examine'

def base(self, driver):
Expand Down

0 comments on commit b71ebf8

Please sign in to comment.