B
B
BonBon Slick2018-09-12 21:43:18
symfony
BonBon Slick, 2018-09-12 21:43:18

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

1 answer(s)
D
DevMan, 2018-09-12
@BonBonSlick

and what, did the symphony crawler learn how to execute js or render css?
Silenium or headless browsers like Phantom were used all the way for these things.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question