-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change iframe mount test to no use karma-server-side
Maybe this will fix CI browser tests? Maybe it's the karma `proxy` setting that was screwing things up? But also there is no reason to use server side in this case - simply local iframe is good enough.
- Loading branch information
Showing
5 changed files
with
29 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<title>Iframe mount test</title> | ||
</head> | ||
<body> | ||
<div class="message">default</div> | ||
<button>press me</button> | ||
<script charset="utf-8"> | ||
document.addEventListener('click', function(e) { | ||
if (e.target.innerText === 'press me') { | ||
var div = document.querySelector('.message') | ||
div.innerText = 'hello browser-monkey' | ||
} | ||
}) | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.