assaf / zombie

Insanely fast, full-stack, headless browser testing using node.js
http://zombie.js.org/
MIT License
5.65k stars 518 forks source link

browser.click versus browser.pressButton #1180

Closed TheFive closed 6 years ago

TheFive commented 6 years ago

in 5.x it was possible to use browser.click to submit a form with a "submit button".

It looks like this behavior is broken in 6.x, and now the tester has to decide, wether he would like to click a button (browser.click) or activate a submit button (browser.pressButton).

As i would like to write blackbox test, without knowing the implementation it would be fine to be able to "click" a button with zombie.

TheFive commented 6 years ago

I suggest to follow up in the related post. I have put my investigations there.