|
|
|
@ -24,14 +24,13 @@ module.exports = { |
|
|
|
|
.assert.visible('.bg-secondary[data-id="treeViewLitreeViewItemcontracts/2_Owner.sol"]') |
|
|
|
|
.assert.visible('.bg-secondary[data-id="treeViewLitreeViewItemtests"]') |
|
|
|
|
}, |
|
|
|
|
'Should drag and drop multiple files in file explorer to tests folder #group1': ''+function (browser: NightwatchBrowser) { |
|
|
|
|
'Should drag and drop multiple files in file explorer to tests folder #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
const selectedElements = [] |
|
|
|
|
if (browser.options.desiredCapabilities?.browserName === 'firefox') { |
|
|
|
|
console.log('Skipping test for firefox') |
|
|
|
|
browser.end() |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
browser |
|
|
|
|
.click({ selector: '//*[@data-id="treeViewUltreeViewMenu"]', locateStrategy: 'xpath' }) |
|
|
|
|
.click({ selector: '//*[@data-id="treeViewLitreeViewItemcontracts/1_Storage.sol"]', locateStrategy: 'xpath' }) |
|
|
|
@ -55,6 +54,7 @@ module.exports = { |
|
|
|
|
.perform(() => done()) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
'should drag and drop multiple files and folders in file explorer to contracts folder #group3': function (browser: NightwatchBrowser) { |
|
|
|
|
const selectedElements = [] |
|
|
|
|