Answer the question
In order to leave comments, you need to log in
How to test a popup with a functional test?
How to test using symfony dom crawler
1 - is there a link to which to click to pop up a popup +
2 - click -
3 - check if the popup pops up -
5 - check if there is a form in it +
6 - check for the presence of fields +
7 - check the presence of
a button +
8 - check its translation +
9 - send the form + 10 - check the
redirect
, confirm that it happened -
11 - check the response 200 from the redirect etc. it's just in the document, but how to check whether the form has popped up?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question