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
При попытке запустить e2e тесты всё завершается ошибкой:
Scenario: View home page content (attempt 2, retried) # features/home.feature:7
✖ Before # features/support/hooks.ts:7
Error: function timed out, ensure the promise resolves within 30000 milliseconds
at Timeout.<anonymous> (/app/node_modules/@cucumber/cucumber/src/time.ts:52:14)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
Получил обновления с git через git pull --rebase origin master
Запуск:
make init
make cucumber-e2e
Если понизить версии node, cucumber и puppeteer - тесты e2e проходят без ошибок.
Чтобы решить проблему необходимо указать точную версию для node:21-alpine
FROM node:21-alpine3.19
Согласно документации у puppeteer возникает проблема с timeout в alpine3.20.
CAUTION
The current Chromium version in Alpine 3.20 is causing timeout issues with Puppeteer. Downgrading to Alpine 3.19
fixes the issue. See #11640, #12637, #12189
The text was updated successfully, but these errors were encountered:
При попытке запустить e2e тесты всё завершается ошибкой:
Получил обновления с git через
git pull --rebase origin master
Запуск:
make init
make cucumber-e2e
Если понизить версии node, cucumber и puppeteer - тесты e2e проходят без ошибок.
UPD
Чтобы решить проблему необходимо указать точную версию для node:21-alpine
Согласно документации у puppeteer возникает проблема с timeout в alpine3.20.
The text was updated successfully, but these errors were encountered: