disable duplicate test

pull/4767/head
Joseph Izang 7 months ago
parent a774b28376
commit e7fd235582
  1. 11
      apps/remix-ide-e2e/src/tests/file_explorer_multiselect.test.ts

@ -8,7 +8,6 @@ module.exports = {
},
'Should select multiple items in file explorer #group1': function (browser: NightwatchBrowser) {
console.log(browser)
const selectedElements = []
browser
.openFile('contracts')
@ -27,7 +26,11 @@ module.exports = {
},
'Should drag and drop multiple files in file explorer to tests folder #group1': function (browser: NightwatchBrowser) {
const selectedElements = []
if (browser.options.desiredCapabilities?.browserName === 'chrome') {
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' })
@ -51,11 +54,9 @@ module.exports = {
.perform(() => done())
})
})
} else {
browser.end()
}
},
'should drag and drop multiple files and folders in file explorer to contracts folder #group3': function (browser: NightwatchBrowser) {
'should drag and drop multiple files and folders in file explorer to contracts folder #group3': ''+function (browser: NightwatchBrowser) {
const selectedElements = []
browser
.clickLaunchIcon('filePanel')

Loading…
Cancel
Save