/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/e2e/test-amp-email.js
29 строк
822 B
Kristofer Baxter
♻️ Remove Notice from JS and Markdown (#35717)
19 авг 2021, 21:21
Не верифицирован
19 авг 2021, 21:21
f564b7e
Код
Авторство
О чём код?
describes.endtoend( 'layoutCallback depends on updated viewport size after documentHeight change.', { fixture: 'amp4email/viewport-size-race.html', environments: ['email-demo'], }, (env) => { it('Should call amp-img layoutCallback', async () => { const {controller} = env; const imgEl = await controller.findElement('img'); await expect(imgEl).ok; }); } ); describes.endtoend( 'layoutCallback depending on element remeasurement after documentHeight change.', { fixture: 'amp4email/element-size-race.html', environments: ['email-demo'], }, (env) => { it('Should call amp-list layoutCallback', async () => { const {controller} = env; const ampListChild = await controller.findElement('.fruit'); await expect(ampListChild).ok; }); } );