codeceptjs / codeceptjs/CodeceptJS
Make stepping with debugger possible - resolve steps immediately
- 主要言語
- JavaScript
- スター
- 4.2k
- フォーク
- 757
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 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
コントリビューションガイド
調査の方向性
まず、CodeceptJS 1.3.0 と Node.js 8.11.3 をコンテキストとして使用し、提供された CodeceptJS シナリオでブラウザーのステップ実行の動作を再現します。次に、シナリオの I.amOnPage、I.see、I.click、pause の呼び出しがどのようにスケジュールされるかを追跡し、ステップ実行またはブレークポイントによって、次の操作が評価される前に各ブラウザー操作を実行できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100