Skip to content

Commit 8370cee

Browse files
jackbsteinberggmajoulet
authored andcommitted
Add layout attribute to amp-story-consent test element (ampproject#24824)
1 parent 04fdc51 commit 8370cee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/amp-story/1.0/test/test-amp-story.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ describes.realWin(
545545

546546
const consentEl = win.document.createElement('amp-consent');
547547
const storyConsentEl = win.document.createElement('amp-story-consent');
548+
storyConsentEl.setAttribute('layout', 'nodisplay');
548549
consentEl.appendChild(storyConsentEl);
549550
element.appendChild(consentEl);
550551

0 commit comments

Comments
 (0)