Run yarn install
to install the dependencies.
- Visit the page/web app you want to record the interactions on.
- Click on the bookmark.
- Copy the code to your test script :)
-
You need to export the bookmarklet by running
yarn build:bookmarklet
-
Then open
open ./dist/bookmarklet.html
in your browser. -
Drag & Drop that to your bookmarks bar.
-
Let it suggest using a test id like
data-cy
ordata-testid
to the user. -
Link the selector failure to the mapper (i.e. cypress contains mapper should not fail when there's no selector)
-
Move the UI code to a separate module
-
Support
select
andinput[type=file]
-
Write tests for the interaction handlers.
-
Organize the interaction handles to have the
register
method to register the events. -
Support
TestStepSuggestion
that will be shown if a condition met. -
Suggest
keypress
andkeyup
-
Support composable TestSteps, like
within()