Skip to content
Independent guides for QA & test automationRSSEditorial policy
QA Vibes

Topic

Cypress

3 articles tagged “cypress”.

Cypress "failed because this element is detached from the DOM": The Messages That Replaced It, and the Fixes

"cy.click() failed because this element is detached from the DOM" no longer exists: Cypress 12.0.0 replaced it with two messages about the page updating. We reproduced both in Cypress 16.1.1, on Sauce Demo and on two one-file local pages: chained actions, a wrapped element kept too long, and a button that disappeared while covered. Why the alias the error suggests failed for a button that changed, and why Cypress could click a button replaced every 20 ms.

cypress · automation · tutorial

9 MIN

Cypress vs Playwright vs Selenium: The Same Test in All Three, Timed

One test (log in, add a product, check the cart badge) written in Cypress, Playwright, and Selenium against the same public demo shop. How the code differs, how long each run took, what broke during setup, and which framework fits which team.

cypress · playwright · selenium

7 MIN

Updated

UI Test Automation Mistakes: Seven We Reproduced on a Demo Shop

A fixed wait that added up to five seconds to a test, an assertion that passed for text that doesn't exist, a click on the wrong product, and a dialog listener that froze the page. Each mistake is reproduced with real output, and each has a fix.

ui automation · best practices · cypress

8 MIN

Updated