Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit c89a044

Browse files
author
Erin Altenhof-Long
committed
test(e2e): add div for console output
Although protractor can catch console.error it won't detect console.log. To test this output with protractor the best strategy is to move that output into a div where the contents can then be fetched.
1 parent 088af12 commit c89a044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

e2e/inclusiveHint/inclusiveHint.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
loaded, a message would be logged. However, the ng-hint-include only has 'dom', so there
1212
should be no message about this error.
1313
</div>
14+
<div id="console"></div>
1415
</div>

0 commit comments

Comments
 (0)