Skip to content

Commit

Permalink
Adding pdifftests for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinathanson committed Dec 12, 2014
1 parent e33d4c9 commit ecb38e7
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
Binary file added tests/pdifftests/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 added tests/pdifftests/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/examine-filter.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/examine-sorted.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/examine-tooltip.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/examine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions tests/pdifftests/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,27 @@ tests:
config:
<<: *std-config

- name: examine-comments-view
description: Examine page showing a comment in view mode.
url: http://localhost:5001/runs/1/examine
config:
<<: *std-config
injectJs: |
c = document.createEvent('MouseEvent');
c.initMouseEvent('click', true, true, window);
$('[class="vcf-table"]').find('tbody').find('tr:first').get(0).dispatchEvent(c)
- name: examine-comments-edit
description: Examine page showing a comment in edit mode.
url: http://localhost:5001/runs/1/examine
config:
<<: *std-config
injectJs: |
c = document.createEvent('MouseEvent');
c.initMouseEvent('click', true, true, window);
$('[class="vcf-table"]').find('tbody').find('tr:first').get(0).dispatchEvent(c)
$('[class="variant-info"]').find('button:contains("Edit")').get(0).dispatchEvent(c)
- name: runs
description: Initial view of the runs page
url: http://localhost:5001/
Expand Down

0 comments on commit ecb38e7

Please sign in to comment.