无法使用存根切换Windows和使用Cypress监视

时间:2019-10-10 17:19:28

标签: cypress stub

我在使用存根方法切换CRM Web应用程序中的窗口时遇到问题。得到以下错误消息

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.4.RELEASE</version>
        <relativePath /> <!-- lookup parent from repository -->
</parent>

下面是我的代码。

Timed out retrying: { [Function: open]
  callBaseMethod: 
   { [Function]
     callBaseMethod: [Circular],
     getBaseMethod: 
      { [Function]
        callBaseMethod: [Circular],
        getBaseMethod: [Circular],
 resolveInheritance: [Circular],
        registerEnum: [Circular] },
     registerEnum: [Circular] } } is not a spy or a call to a spy!
Because this error occurred during a 'before each' hook we are skipping the remaining tests in the current suite: 'window open'

任何人都可以提出我所错过的使执行失败的信息

0 个答案:

没有答案