How to automate a Vuex single page web application

Description of the problem When building test automation for a single page app (SPA) written with Vuex (Vue.js), how can I reliably simulate user interaction on complex elements using JavaScript? Modern test frameworks like TestCafe and Cypress (and Microsoft’s Power Automate) run inside the browser’s JavaScript web engine and simulate input with JavaScript. But older tools like Selenium WebDriver (and in my case, plain JavaScript) have trouble simulating user actions on these complex Vuex elements....

May 25, 2023 · 10 min

Query SQLite databases on pods directly

If you work with SQLite databases in Kubernetes or OpenShift, you’re probably familiar with using the remote shell (rsh) feature to access the database and run queries on the pod directly. The remote shell is great for one-off tasks with a table or exploratory work, but it will break your workflow and chain of thought when working with automation or running tasks on your local system. But you can use the exec command in oc and kubectl to query the database and return results directly int to your local environment, making tasks faster, easier, and more fluid....

May 13, 2023 · 7 min