You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: 'The element did not specify a layout attribute. Check https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/control_layout and the respective element documentation for details.'
The test "amp-story amp-story consent should pause the story if there is a consent" resulted in a call to console.error. (See above line.)
⤷ If the error is not expected, fix the code that generated the error.
⤷ If the error is expected (and synchronous), use the following pattern to wrap the test code that generated the error:
'allowConsoleError(() => { <code that generated the error> });'
⤷ If the error is expected (and asynchronous), use the following pattern at the top of the test:
'expectAsyncConsoleError(<string or regex>[, <number of times the error message repeats>]);'
This error is triggered by the amp-story consent test cases.
It looks like the created amp-consent AMP component does not have a layout (see: supported layouts).
The text was updated successfully, but these errors were encountered:
Layout attribute console error in test-amp-story:
This error is triggered by the
amp-story consent
test cases.It looks like the created
amp-consent
AMP component does not have a layout (see: supported layouts).The text was updated successfully, but these errors were encountered: