codeceptjs / codeceptjs/CodeceptJS

Make stepping with debugger possible - resolve steps immediately

Đang mở
#1,144 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

#### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.