Cypress 测试 wirh circi ci 边缘浏览器失败

问题描述 投票:0回答:0

我一直在尝试为 cicle ci 设置边缘浏览器,但它显示错误(非常感谢任何提示。代码正在为 chrome 和 firefix 工作,我已经添加了边缘但无法解决这个问题。谢谢)

yml 配置如下:

版本:2.1 球体: 赛普拉斯:cypress-io/[email protected] 执行人: 铬: 码头工人: - 图片:'赛普拉斯/浏览器:最新' 与火狐: 码头工人: - 图片:'赛普拉斯/浏览器:最新' 带电子: 码头工人: - 图片:“浏览器/赛普拉斯电子:最新” 带边: 码头工人: - 图片:'cypress/browsers:node14.10.1-edge88'

workflows:
  build:
    jobs:
      - cypress/install:
          install-command: yarn install --frozen-lockfile --ignore-engines

      - cypress/run:
          name: Chrome
          yarn: true
          requires:
            - cypress/install
          executor: with-chrome
          browser: chrome
          post-steps:
            - run: ls
            - store_test_results:
                path: results
            - store_artifacts:
                path: cypress/screenshots

      - cypress/run:
          name: Firefox
          yarn: true
          requires:
            - Chrome
            - cypress/install
          executor: with-firefox
          browser: firefox
          post-steps:
              - run: ls
              - store_test_results:
                      path: results
              - store_artifacts:
                      path: cypress/screenshots

      - cypress/run:
          name: Edge
          yarn: true
          requires:
            - Chrome
            - Firefox
            - cypress/install
          executor: with-edge
          browser: edge
          post-steps:
              - run: ls
              - store_test_results:
                path: results
              - store_artifacts:
                path: cypress/screenshots
cypress microsoft-edge
© www.soinside.com 2019 - 2024. All rights reserved.