<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      Cypress UI/API測試的使用參考

      官網的深入示例

      https://docs.cypress.io/examples/examples/recipes.html

       

      類別

      地址和備注

      workshop

      https://docs.cypress.io/examples/examples/workshop.html#End-to-end-Testing-with-Cypress-io

       

      https://github.com/cypress-io/testing-workshop-cypress 這里有初中高級別的學習說明。包含一步步如何把工程等做出來的

      Recipes

      https://docs.cypress.io/examples/examples/recipes.html#Fundamentals

      各種技術點的菜單式講解

      視頻

      https://docs.cypress.io/examples/examples/tutorials.html

      需要FQ

      Applications

      https://docs.cypress.io/examples/examples/applications.html

      完整的應用工程測試的例子

      Kitchen Sink Vanilla Showcases every single Cypress command 展示每個命令的用法

      TodoMVC React Compares the official TodoMVC Selenium tests to Cypress TodoMVC和selenium的對比

      Realworld React Full end-to-end tests for the gothinkster/realworld “Conduit” app 完整的應用工程測試

       

       

       

      相關資料內網confluence搜索關鍵詞 cypress

       

      Docker方式運行環境

      除了普通的安裝方式外,這里對基于docker的運行方式進行一個總結。

      docker方式比較簡單,依賴少,多人工作時比較方便

      運行模式

      https://www.cypress.io/blog/2019/05/02/run-cypress-with-a-single-docker-command/

      Running headless tests-后臺運行模式

      If you have Cypress end-to-end tests, you can run them using the complete image. For example, if your project structure looks like this:

      cypress/

        integration/

          spec.js

      cypress.json

      Then you can execute your Cypress tests using the following shell command:

      $ docker run -it -v $PWD:/e2e -w /e2e cypress/included:3.2.0

      Interactive mode-交互模式

      DISPLAY=$IP:0

      docker run -it \

        -v $PWD:/e2e \

        -v /tmp/.X11-unix:/tmp/.X11-unix \

        -w /e2e \

        -e DISPLAY \

        --entrypoint cypress \

        cypress/included:3.2.0 open --project .

      鏡像類別

      https://docs.cypress.io/examples/examples/docker.html

      cypress/base:<Node version> has the operating system dependencies required to run Cypress.

      Cypress依賴的運行環境

      cypress/browsers:<tag> extends the base images with pre-installed browsers.

      包含了瀏覽器的鏡像Docker image with all operating system dependencies and some pre-installed browsers, but NOT Cypress itself. See cypress/included images if you need Cypress pre-installed in the image.

       

      下載地址

      https://hub.docker.com/r/cypress/browsers/tags

      cypress/included:<Cypress version> extends the base images with pre-installed Cypress versions.

      安裝好的可用的cypress鏡像【有內置瀏覽器的版本】Docker images with all operating system dependencies, Cypress, and some pre-installed browsers.

       

      下載地址

      https://hub.docker.com/r/cypress/included/tags

      鏡像的完整類別地址

      https://github.com/cypress-io/cypress-docker-images

       

       

      cypress/included:6.1.0

      cypress/browsers:node12.18.3-chrome87-ff82

      914M

       

      完整的使用說明

      https://github.com/cypress-io/cypress-docker-images/tree/master/included

       

      docker run -it -v $PWD:/e2e -w /e2e cypress/included:6.1.0

      示范例子

      基礎:由有于需要在容器中運行GUI程序vscode和cypress runner,因此宿主機器需要有X11 Server服務,不同的系統的情況

      l Linux: 只要安裝了Linux桌面默認就可用

      l Windows:參考Linux服務器的x11方式遠程管理參考”

      由于需要寫腳本等,不建議使用windows,統一使用linux桌面版【centos7安裝時選擇桌面即可】

       

      示范目錄說明

      • 1 dev

      n 基于官方的發布鏡像做一個完整的包含開發工具vscode的再發布鏡像

      n ide.sh 執行這個即可生成,詳細參考其中的說明

      • 2.1 starter

      n 最簡單的一個測試工程

      n run.sh 執行這個可以直接啟動vscode 和cypress runner

       

      • 2.2 conduit-app cypress-realworld-app-develop

      n 這是官方發布的2個完整的WEB系統測試

      n run.sh 執行這個可以直接啟動vscode 和cypress runner

      【例子和文檔在 https://gitee.com/wushifeng/cypressKit 這里可以查看】

      整體的運行效果類似如下圖

       

      posted @ 2021-03-16 08:43  2012  閱讀(488)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 亚洲国产中文字幕在线视频综合 | 亚洲欧美色综合影院| 久久96热在精品国产高清| 泗阳县| 国产亚洲精品中文字幕| 亚洲精品无码乱码成人| 自拍偷拍视频一区二区三区| 九九热精品视频免费在线| 中文字幕v亚洲日本在线电影| 狠狠综合久久综合88亚洲| 亚洲顶级裸体av片| 在线a久青草视频在线观看| 亚洲精品乱码免费精品乱| 狠狠躁夜夜躁人人爽天天bl| 视频一区二区不中文字幕| 亚洲人成人伊人成综合网无码| 精品国产自线午夜福利| 国产专区一线二线三线码| 无码国产69精品久久久久网站 | 欧洲精品色在线观看| 蜜臀av久久国产午夜| 日本一区二区三区四区黄色| 中文字幕国产精品一二区| 日本中文字幕乱码免费| 大地资源高清免费观看| 亚洲第三十四九中文字幕| 开心激情站开心激情网六月婷婷| 人妻少妇精品系列一区二区 | 久久美女夜夜骚骚免费视频| 精品人妻日韩中文字幕| 成人国产精品中文字幕| 一区二区三区无码视频免费福利| 日本边添边摸边做边爱喷水| 国产精品午夜av福利| 宁晋县| 女同亚洲精品一区二区三| 免费又大粗又爽又黄少妇毛片| 日本高清一区免费中文视频| 日本中文字幕不卡在线一区二区| 秋霞AV鲁丝片一区二区| 亚洲自拍偷拍福利小视频|