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
I am trying to run a functional test inside the docker on a website. However, I get the error:
**Form Testing
✖ validate form with error value (2s)
ERRORS
validate form with error value
Error: No node found for selector: [name="username"]
at assert (/ucode/node_modules/puppeteer/lib/helper.js:279:11)
at DOMWorld.type (/ucode/node_modules/puppeteer/lib/DOMWorld.js:421:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
-- ASYNC --
at Frame. (/ucode/node_modules/puppeteer/lib/helper.js:111:15)
at Page.type (/ucode/node_modules/puppeteer/lib/Page.js:1076:29)
at _actions.push (/ucode/node_modules/@adonisjs/vow-browser/src/Browser/ActionsChain.js:94:29)
at process._tickCallback (internal/process/next_tick.js:68:7)**
If I run the following test (taken from the docs), it works fine, so I think we can safely say that there is no issue with my docker setup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to run a functional test inside the docker on a website. However, I get the error:
**Form Testing
✖ validate form with error value (2s)
ERRORS
Error: No node found for selector: [name="username"]
at assert (/ucode/node_modules/puppeteer/lib/helper.js:279:11)
at DOMWorld.type (/ucode/node_modules/puppeteer/lib/DOMWorld.js:421:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
-- ASYNC --
at Frame. (/ucode/node_modules/puppeteer/lib/helper.js:111:15)
at Page.type (/ucode/node_modules/puppeteer/lib/Page.js:1076:29)
at _actions.push (/ucode/node_modules/@adonisjs/vow-browser/src/Browser/ActionsChain.js:94:29)
at process._tickCallback (internal/process/next_tick.js:68:7)**
If I run the following test (taken from the docs), it works fine, so I think we can safely say that there is no issue with my docker setup.
Here is my test. My view contains a form with the username and email fields:
Beta Was this translation helpful? Give feedback.
All reactions