Ask HN: How do you test CMS-based websites?
Things I'll want to test:
* pages loading properly without errors * module-based content shows (as in excerpt of latest blog posts show on the home page etc.) * page modules like accordions and carousels function properly * navigation functions properly * forms submit (might have to forego this one as most forms depend on recaptcha submission)
What I have looked at:
Selenium -- the firefox ide seems a bit buggy
Katalon studio -- the files it produces are not fully compatible with Selenium (last time I checked).
We do have Ruby experience so also considering watir although not much experience with it. IDE-based test creation would be much faster though.
What do you use for website testing? I am interested not only in tooling , but also process: how do you create the tests, what do you test, how often, how do you audit the results?
How do you maintain the tests (content changes frequently).
Thank you.
8 comments
[ 3.7 ms ] story [ 36.7 ms ] threadIn the dev/test/staging environments you can continually do things like post 3 new articles with random text, then ensure that the latest blog posts show those 3 in the correct order, etc.
And, how do you apply it against production site which may display defects different environments?
The CMS we use does not have any automation so automating posting and analyzing results will be out of scope.
How do you go about? Pretty simple. Define criteria, run Chrome Headless against it, and check results. Jest is a nice add on in your toolchain!
As there are many use cases and a million criteria to test agains, coming up with a one size fits all solution is difficult. Katalon is perhaps closest to it, but it has many shortcomings.
Some food for thought. Rely more on screenshots and compare them with what you expect. I'm writing a simple downtime checker as we speak and one of the key features is very basic analytics that compares screenshot to blank screens, generic error pages, parked domain landing pages, etc.
Not trying to sell you or anything. Just that this is not something I can briefly answer on HN.