> (0 , _cypressCucumberPreprocessor.And) is not a function

huangapple go评论79阅读模式
英文:

> (0 , _cypressCucumberPreprocessor.And) is not a function

问题

(0 , _cypressCucumberPreprocessor.And) is not a function

> (0 , _cypressCucumberPreprocessor.And) is not a function

英文:

> (0 , _cypressCucumberPreprocessor.And) is not a function

> (0 , _cypressCucumberPreprocessor.And) is not a function

答案1

得分: 3

只是一个简单的疏忽,意味着你没有导入 And - 任何在测试中使用的Cucumber关键字都需要导入。

import { Then, When, And } from "@badeball/cypress-cucumber-preprocessor"
英文:

It's just a simple oversight, it means you are missing an import for And - any Cucumber keywords used in the test needs to be imported.

import { Then, When, And } from "@badeball/cypress-cucumber-preprocessor"

huangapple
  • 本文由 发表于 2023年7月23日 20:31:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76748244.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定