Effective DOM selector patterns. Interact like a user | Carter Capocaccia

Pubblicato il: 24 ottobre 2023
sul canale di: Cypress.io
2,480
55

When writing tests that interact with your UI, you will likely utilize DOM nodes to isolate elements of your application and perform actions or assertions upon those elements or contents thereof.

In this talk, Carter ranks DOM node selectors styles into three "tiers" and discusses why he favors some over others and how Cypress enables us to act like a user more than ever before. Using poor selectors is akin to building your house upon sand. You can build a mansion of a test suite using poor selectors, but the test suite will crumble violently and require constant maintenance.


In questa pagina del sito puoi guardare il video online Effective DOM selector patterns. Interact like a user | Carter Capocaccia della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Cypress.io 24 ottobre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,480 volte e gli è piaciuto 55 spettatori. Buona visione!