【发布时间】:2023-01-13 04:38:51
【问题描述】:
当我运行测试时,指定的 URL 没有打开,即使它输入正确并在 cypress.config.js 的 BaseUrl 中设置:
> module.exports = defineConfig({ e2e: {
> "projectId": "fi4fhz",
> "viewportHeight": 1080,
> "viewportWidth": 1920,
> specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
> baseUrl: 'https://pha.mm.int:6001/',
>
> setupNodeEvents(on, config) {
>
> }, },
【问题讨论】:
-
你能在失败的地方包括代码吗?
标签: javascript cypress