Without wasting time, this article will have you set up and running your Dusk test suite on GitHub Actions. We'll also discuss security around any secret keys you may need. Let's take a look.
While Dusk doesn't provide a direct assertion method to check the count of elements on a page, we can still fetch all elements by a selector and then make an assertion on what's returned.