S
S
sorry_i_noob2019-02-10 22:10:21
Codeception
sorry_i_noob, 2019-02-10 22:10:21

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

1 answer(s)
M
Maxim Fedorov, 2019-02-10
@Maksclub

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 question

Ask a Question

731 491 924 answers to any question