dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

Calling log.dom multiple times always returns first logged value #94

Open leonstafford opened 10 years ago

leonstafford commented 10 years ago

Reproduced on Mac, v 0.0.8, CLI tools 0.0.4

test.open("https://google.com");
test.log.dom('._hf');
test.log.dom('#hplogo');
test.done();

Outputs

RUNNING TEST - "Reproducing an issue where log.dom cannot be used more than once" ▶ OPEN https://google.com ☁ [USER] DOM: ._hf Settings ☁ [USER] DOM: ._hf Settings ✔ 0 Assertions run ✔ TEST - "Reproducing an issue where log.dom cannot be used more than once" SUCCEEDED

Same result when chaining together.

asciidisco commented 10 years ago

Could verify the error, but could not find the reason why this is happening. Will investigate.