I know NightwatchJS and Cypress.io for Frontend Testing. Is there a way to make these tests more dynamic? For exmaple I have a framework where the detailpage of an article is always the same (ID-wise / styling can differ) and I want to test a list of URLs from my MYSQL database. So I define a test for the detailpage and call this test with an url/env parameter.
But how do I execute these tests? I want to work with cronjobs. Should I use a third-party like jenkins to trigger them? Directly in PHP (exec()) or are there other tools for that purpose.
Overview
TEST -> created with Cypress or Nightwatch
MYSQL -> query all website URLs
foreach(website) call a TEST