Skip to content

Commit

Permalink
Fix: functional tests (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum authored Apr 25, 2018
1 parent 44597de commit 664bfe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions functional-tests/tests/highlight_comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ Scenario('Create/Reply/Delete a new highlight comment annotation @desktop', func
/*
* Delete the highlight comment annotation and reply
*/
I.waitForVisible(SELECTOR_ANNOTATIONS_LOADED);

I.say('Highlight dialog should appear on click');
I.click(`${SELECTOR_TEXT_LAYER} div`);
I.waitForVisible(SELECTOR_ANNOTATION_DIALOG);
Expand Down
4 changes: 2 additions & 2 deletions functional-tests/tests/plain_highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Scenario('Create/Delete a new plain highlight annotation @desktop', function(I)
I.waitForVisible(SELECTOR_ANNOTATION_HIGHLIGHT_DIALOG);

I.say('Delete the highlight annotation');
I.click(SELECTOR_ADD_HIGHLIGHT_BTN);
I.click(`${SELECTOR_ADD_HIGHLIGHT_BTN}${SELECTOR_ACTIVE}`);

I.say('Highlight should be deleted');
I.waitForDetached(SELECTOR_ANNOTATION_DIALOG, 5);
I.waitForDetached(SELECTOR_ANNOTATION_DIALOG, 1);
});

0 comments on commit 664bfe3

Please sign in to comment.