Refactor A Test Part 3: Checking A Paginated List

Published: 29 February 2024
on channel: gleb bahmutov
597
22

This is part 3 of refactoring Cypress tests. In this video, I show writing a recursive test that checks a paginated list shown by the app to ensure the deleted user name does not appear in the list. But there are a couple of pitfalls in the application that make writing such tests hard(er). I summarized these tough cases and how to solve them in my blog post "Solve Tough Pagination Cases Using Cypress" https://glebbahmutov.com/blog/solve-t... Find the full source code in the repo https://github.com/bahmutov/basta-spr...