Cy-Fi

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

什么是Cy-Fi?

Cy-Fi是由gaurav.samdani.ally开发的Chrome扩展程序,该扩展的主要功能是“Records user actions on a web page and generates Cypress code for automation and testing.”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载Cy-Fi扩展crx文件

下载Cy-Fi扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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                    

扩展基本信息

名称 Cy-Fi Cy-Fi
ID pgofdpaacanjbcchniaehpiobldjcgcn
官方URL https://chromewebstore.google.com/detail/cy-fi/pgofdpaacanjbcchniaehpiobldjcgcn
简介 Records user actions on a web page and generates Cypress code for automation and testing.
文件大小 1.01 MB
安装次数 144
当前版本 1.0.2
更新时间 2023-08-10
上架时间 2023-05-02
评分 5.00/5 共1次评分
开发者 gaurav.samdani.ally
电子邮箱 [email protected]
付费类型 free
支持的语言 en-US
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
        }
    ]
}