Skip to content

Commit

Permalink
✅ amp-iframe: fix test flake (ampproject#21968)
Browse files Browse the repository at this point in the history
* amp-iframe: fix test flake

* review comments
  • Loading branch information
aghassemi authored Apr 25, 2019
1 parent 467955f commit a913505
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions extensions/amp-iframe/0.1/test/test-amp-iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,19 +510,20 @@ describes.realWin('amp-iframe', {
});
});

// TODO(@aghassemi): unskip flaky test
it.skip('should allow resize events w/ srcdoc', function* () {
it('should allow resize events w/ srcdoc', function* () {
const srcdoc = `
<!doctype html>>
<!doctype html>
<html>
<body>
<script>
setTimeout(() => {
window.parent.postMessage({
sentinel: 'amp',
type: 'embed-size',
height: 200,
width: 300,
}, '*');
}, 100);
</script>
</body>
</html>
Expand Down

0 comments on commit a913505

Please sign in to comment.