codeceptjs / codeceptjs/CodeceptJS

Make stepping with debugger possible - resolve steps immediately

Open
#1,144 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.2k
Forks
757
Avg merge
2d 9h
Merged PRs (30d)
16

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.