Skip to content

Commit

Permalink
disable duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
joeizang committed Jul 11, 2024
1 parent a774b28 commit e7fd235
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions apps/remix-ide-e2e/src/tests/file_explorer_multiselect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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' })
Expand All @@ -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')
Expand Down

0 comments on commit e7fd235

Please sign in to comment.