Releases: FDMediagroep/fd-cypress-recorder
Option to select attribute first
Thanks to @atilacamurca an option has been added to allow the selection of elements to prioritize attributes. This is following the recommendations by Cypress.io: https://docs.cypress.io/guides/references/best-practices.html#Selecting-Elements
Matches ID with fallback to selectors
Fixed error message on plugin reload
Also added CTRL+Context Menu as binding to open up the context menu. This also works for CTRL+Right Mouse Click.
Extra keyboard shortcuts
Added extra keyboard shortcuts to make it easier to toggle the recording state
and open the context menu
alt
+r
: toggle recording state
alt
+c
: open context menu
Fixed cypress dictionary for attribute checking
Minor fix for the Cypress dictionary so it returns the correct Cypress test code for attributes checking.
Fixed dictionary for attribute checks
v0.10 v0.10
Template appending
A website can change often and sometimes only a small portion of an end-2-end test becomes invalid.
The plugin can now append templates instead of just loading and replacing your current interactions. With this functionality you can create multiple smaller templates which can be joined later to one larger set of interactions.
This makes it more convenient to rewrite larger tests which are created with multiple templates.
Take for instance a test which consists of accepting cookiewall
, login
, clicking a link to an article
. Lets say that the cookiewall has changed and the test for it needs to be amended. You now only need to re-record the accepting cookiewall
template and overwrite it. Then you can simply append
all the tests containing the steps required for this end-2-end test.
Note: You can also remove singular interactions in the Show events
view. It is also possible to drag 'n drop interactions in this view to re-order them. This gives you more flexibility in changing your test with minimal effort.
Assert element count
Can now generate code to count the occurance of an element type within its parent element.