codeceptjs / codeceptjs/CodeceptJS
Make stepping with debugger possible - resolve steps immediately
- Lingua principale
- JavaScript
- Stelle
- 4.2k
- Fork
- 757
- Merge medio
- 2g 9h
- PR unite (30g)
- 16
Descrizione
#### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il comportamento di esecuzione passo-passo del browser con lo scenario CodeceptJS fornito, usando CodeceptJS 1.3.0 e Node.js 8.11.3 come contesto. Traccia come vengono pianificate le chiamate I.amOnPage, I.see, I.click e pause dello scenario, quindi verifica che l'esecuzione passo-passo o un breakpoint permetta a ogni azione del browser di essere eseguita prima che venga valutata quella successiva.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100