Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error deprecated backstopjs #75

Closed
Eduardo-Morales-Alberti opened this issue Sep 19, 2022 · 0 comments · Fixed by #76
Closed

Fix error deprecated backstopjs #75

Eduardo-Morales-Alberti opened this issue Sep 19, 2022 · 0 comments · Fixed by #76

Comments

@Eduardo-Morales-Alberti
Copy link
Member

Fix error:

waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
Error: Evaluation failed: TypeError: n.forEach is not a function
    at Function.Z (http://apache/sites/default/files/js/js_6qryUOSwDcOZuLF_ITWgCYMA181cmiyWP1DyJzZkVkc.js:109:2092)
    at Object.m.load (http://apache/sites/default/files/js/js_6qryUOSwDcOZuLF_ITWgCYMA181cmiyWP1DyJzZkVkc.js:129:1673)
    at __puppeteer_evaluation_script__:9:29
    at ExecutionContext._evaluateInternal (/usr/local/lib/node_modules/backstopjs/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
    at runMicrotasks (<anonymous>)
    at runNextTicks (internal/process/task_queues.js:60:5)
    at listOnTimeout (internal/timers.js:526:9)
    at processTimers (internal/timers.js:500:7)
    at async ExecutionContext.evaluate (/usr/local/lib/node_modules/backstopjs/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)

Related issue: puppeteer/puppeteer#6214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant