|
|
|
@ -195,10 +195,16 @@ module.exports = { |
|
|
|
|
.executeScript('remix.exeCurrent()') |
|
|
|
|
.pause(3000) |
|
|
|
|
.clickLaunchIcon('debugger') |
|
|
|
|
.waitForElementVisible('*[data-id="slider"]') |
|
|
|
|
.click('*[data-id="slider"]') |
|
|
|
|
.setValue('*[data-id="slider"]', '5') |
|
|
|
|
.pause(1000) |
|
|
|
|
.goToVMTraceStep(5) |
|
|
|
|
.pause(1000) |
|
|
|
|
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n5') |
|
|
|
|
/* |
|
|
|
|
setting the slider to 5 leads to "vm trace step: 91" for chrome and "vm trace step: 92" for firefox |
|
|
|
|
=> There is something going wrong with the nightwatch API here. |
|
|
|
|
As we are only testing if debugger is active, this is ok to keep that for now. |
|
|
|
|
*/ |
|
|
|
|
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n9') |
|
|
|
|
.end() |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|