如何使用CodeCeptJ和Cucumber获取场景名称
我正在使用带有黄瓜助手的CodeCeptJ。对于报告,需要在部分之前获取方案名称。 尝试使用此文档: https://codecept.io/bdd/#before 所以 Before(() =>…
ESLINT插件CodeCptjs无法读取未定义的属性(Reading'属性')
在运行ESLINT命令时,我会遇到以下错误, PS C:\WORK\AutomationPlayground\codeceptjs-boilerplate-project> eslint "**/*.ts" --ignore-pattern nod…
Google云功能上的codeceptj goto doto
我正在尝试使用在Google Cloud功能中运行的CodeCeptJS(带有Puppeteer)自动化Web活动。 我的index.js是: const Container = require('codeceptjs').…
codeceptjs react测试 - 文本| css | xpath找不到点击元素
我有一个由React和Rest API(php+MySQL)制成的项目。我必须通过CodeCeptJS测试进行。该应用程序正在适当地使用无数的手动测试,据我所知,CodeCeptJS…
无法读取未定义的“textContent”的属性
我有一段简单的代码, describe('My First Puppeeteer Test', () => { it('Should launch the browser', async function() { const browser = await p…
如何在子文件夹中组织代码接收测试,并让一个 codecept.conf.js 指向整个文件夹架构
我遇到问题,在我的 codecept 配置中的“./acceptance_tests.js/*_tests.js”路径名中创建子文件夹。 即我的 codecept.conf.js 看起来像这样: export…
“在每个之前”钩子:codeceptjs错误消息
我使用 codeceptjs 使用量角器助手,我尝试编写简单的代码 并运行此命令“npm run codeceptjs” 我遇到了这个错误“ד在每个”钩子之前:codeceptjs.…
- 共 1 页
- 1