Records user actions on a web page and generates Cypress code for automation and testing.

Latest Version

Version
1.0.2
Update
August 9, 2023
Size
1.01MiB
Developer
Category
Users
201
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
WebNavigation
ActiveTab
Storage
See more

Cy-Fi Extension

Introducing Cy-Fi, the Cypress Code Generator that simplifies automation testing by recording your actions and generating Cypress code for you. This extension allows you to easily record your interactions with web pages and then automatically generates Cypress code that can be used to repeat those actions during automated testing. With this extension, you can quickly and easily create comprehensive test suites that cover all of the functionality of your web application, without the need for manual coding. Try it out today and see the difference it can make in your automation testing workflow.

What are the features?

* Uses cypress commands from @testing-library/cypress for identifying HTML elements to follow best practices in automation.
* User-friendly interface and easy navigation.
* Records clicks, typing, web navigations and form submissions.
* Automatically generates Cypress code from recorded actions.
* A code editor to edit, delete or reset the actions you performed.
* Pause and resume recording.
* Copy the generated code to your clipboard.
* Find the best selector of an element by inspecting it.
* Provides different cypress commands to play with.
* Add cypress assertions based on the element.

How to use?

* Open the extension and click on 'Play' button to begin recording actions.
* Check your actions by opening the popup at any time during recording
* Click the 'Stop' button to stop recording.
* Click the 'Resume' button to resume recording.
* You can also reset, or copy the generated code to your clipboard.
* Click on 'Inspect' button to start inspecting an element.
- Click on an HTML element to get it's cy selector.
- Press 'ESCAPE' key to continue the inspection.
* You can rearrange different cypress commands in the settings tab.
* To use assertions:
- Start the recording by clicking on the play button.
- Hold ALT(Win)/OPTION(Mac) + RIGHT CLICK on any HTML element to get list of
assertions.
- Select one of the assertions and provide any additional input if required to generate cypress
code for that assertion
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Cy-Fi", "author": "Ally Bank", "version": "1.0.2", "description": "Records user actions on a web page and generates Cypress code for automation and testing.", "manifest_version": 3, "permissions": [ "webNavigation", "activeTab", "storage" ], "icons": { "16": "./assets/images/16x16.png", "32": "./assets/images/32x32.png", "48": "./assets/images/48x48.png", "128": "./assets/images/128x128.png" }, "content_scripts": [ { "matches": [ "" ], "js": [ "./assets/js/jquery.min.js", "./assets/js/aria-query.min.js", "./assets/js/dom-accessibility-api.js", "./assets/data/css-properties.js", "./scripts/config.js", "./assets/js/helpers.js", "./assets/js/role.js", "./assets/js/label.js", "./assets/js/text.js", "./scripts/getCy.js", "./scripts/contextMenuOptions.js", "./scripts/notContextMenuOptions.js", "./assets/js/selectDropDown.js", "./assets/js/notifier.js", "./scripts/content_script.js" ], "css": [ "./assets/css/contextMenu.css", "./assets/css/multiSelectDropDown.css" ], "all_frames": true, "run_at": "document_idle" } ], "action": { "default_icon": { "128": "./assets/images/128x128.png" }, "default_title": "Cy-Fi", "default_popup": "./popups/popup.html" }, "background": { "service_worker": "./scripts/background.js", "type": "module" }, "offline_enabled": true, "web_accessible_resources": [ { "resources": [ "/assets/fonts/FontAwesome.otf", "/assets/fonts/fontawesome-webfont.eot", "/assets/fonts/fontawesome-webfont.svg", "/assets/fonts/fontawesome-webfont.ttf", "/assets/fonts/fontawesome-webfont.woff", "/assets/fonts/fontawesome-webfont.woff2", "/assets/js/aria-query.min.js", "/assets/css/font-awesome.min.css", "/assets/js/jquery.min.js", "/assets/js/intro/intro.min.js", "/assets/css/introjs.min.css", "/assets/js/intro/intro.min.js.map", "/assets/css/introjs.min.css.map", "/assets/js/editor/src/ace.js", "/assets/js/editor/src/theme-twilight.js", "/assets/js/editor/src/mode-javascript.js", "/assets/js/editor/src/ext-language_tools.js", "/assets/js/editor/src/ext-emmet.js", "/assets/js/editor/src/ext-beautify.js", "/assets/js/editor/src/ext-elastic_tabstops_lite.js", "/scripts/config.js", "/assets/data/css-properties.js" ], "matches": [ "" ], "use_dynamic_url": true } ]}
Read more