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

Veröffentlicht am: 24 Oktober 2023
auf dem Kanal: 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.


Auf dieser Seite können Sie das Online-Video Effective DOM selector patterns. Interact like a user | Carter Capocaccia mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Cypress.io 24 Oktober 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,480 Mal angesehen und es wurde von 55 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!