codeceptjs / codeceptjs/CodeceptJS

Make stepping with debugger possible - resolve steps immediately

未关闭
#1,144 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
4.2k
派生
757
平均合并
2 天 9 小时
30 天内合并 PR
16

描述

#### What are you trying to achieve?

Stepping using debugger while watching test execution in browser.

#### What do you get instead?

I get a bunch of promises that evaluate immediately, meaning the browser does nothing until I hit pause() or the test completes, then the commands start to execute.

```js
///

Feature('Checking debug');

Scenario('test something', (I) => {
I.amOnPage("/");
I.see("CRM Online");
pause(); // or a breakpoint
I.see("Log in with your registered account");
I.click("Next");
// step to here, and browser is still not doing anything.
});
```

### Details

* CodeceptJS version: 1.3.0
* NodeJS Version: 8.11.3
* Operating System: win10 64bit

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。