Answer the question
In order to leave comments, you need to log in
How to use codeception to check whether the page was reloaded or not?
Hello. I have a button that calls a function to update data. At the end of this function, if the data is successfully updated (and the cache of that data is cleared), the page is reloaded.
How can I use codeception to check if the page has reloaded or not?
Answer the question
In order to leave comments, you need to log in
the refresh button should show something to the user:
Display these states in a block on a new page and check in tests, at the same time and see whether the page has reloaded or not, because by default do not load this block with a notification
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question