Jobs And Candidates 🗂️
Cypress QA Engineer - Kubra - Tempe, AZ
Kubra is looking to hire a Cypress expert in Arizona. They need someone with around 70% score on Gleb’s Cypress Skills Ladder.
Are you interested in sharing your job announcements with 2k Cypress professionals? Get in touch via my Discord about placing it in this newsletter.
Joshua Helguero
Recently Mercari US went through a round of layoffs. Unfortunately, it affected two people from my automation team. If you are looking for an exceptional test engineer, Joshua Helguero is your candidate:
90+ % on my Cypress Skills Ladder
Detox hands-on automation knowledge
Node.js and React developer, see https://github.com/jjhelguero
Writes the monthly Automation Insider newsletter
Houston, Texas, or remote
Please reach out to Joshua via Linkedin jjhelguero or via email “jjhelguero” at protonmail.com
Cypress Quiz 🧐
If you haven’t tried solving the Cypress Quiz, try it today. Then watch the video I recorded with the quiz’s author Yevhen Laichenkov:
Refactoring Cypress API tests 🧑💻
I saw a good repo https://github.com/EvgeniiDolzhenko/cypress-conduit-api with Cypress API tests and thought I could make the code slightly easier to read and understand. Unfortunately, once I start refactoring, I cannot stop. Watch these four videos to see how I would write Cypress API tests:
All these videos use some of my favorite testing plugins: cy-api, cy-spok, and cypress-map. These plugins are covered by lessons in my Cypress Plugins course.
cypress-split Programmatic Control 🎛️
Speaking of plugins: I have finally added programmatic control to my cypress-split plugin. Now you can really control how Cypress runs your specs in parallel for free:
// the specs is the list of specs
// determined by the split algorithm
function adjustTheSpecs(specs) {
// for example, reverse the order of specs
specs.reveres()
return specs
}
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
cypressSplit(on, config, adjustTheSpecs)
// IMPORTANT: return the config object
return config
},
},
})
Your plugin can “adjust” the list of specs. For example, you can first execute the “prepare-spec.cy.js” on every machine.
By the way, here is a blog post showing how to split specs across different baseUrl
servers using test tags: “Enhancing Test Efficiency: A Novel Approach Using Multiple Application Clones using tags concept in cypress”
New Videos 📺 And Blog Posts 📝
Happy Testing!
PS: Playwright vs Cypress NPM numbers 📈
If you haven’t seen, recently Playwright test NPM package surpassed Cypress weekly downloads. Other people have commented on it, but I am waiting for another shoe to drop, so to speak before commenting. Remember, for Cypress-The-Company the NPM package downloads is not the main metric they care about.