https://cypress.io logo
In cypress its possible add action after click sub...
# i-need-help
b
fields in the form and after click submit execute action?
g
I am not sure what you mean, can you provide more details?
b
Thanks for response...In cypress, i can create action after click in button? If i use funcion click(), cypress not wait for user action @gray-kilobyte-89541
g
I still don't get it, sorry
b
is it possible to start a test after I fill in the form fields and click on the submit button?
g
? The test is filling the form? You are trying to prefill the form manually and then start the test? no
b
exactly! I want to fill in the form automatically and then start the test
Not possible?
g
fill the form automatically? like by the test? or by something else? something like https://www.cypress.io/blog/2019/10/29/split-a-very-long-cypress-test-into-shorter-ones-using-app-actions/
b
I fill in the form manually and on clicking the "Criar" button the test start
It this, i think, i see better!! Thanks and sorry
2 Views