Assert page visits in tests