pull/5370/head
bunsenstraat 3 months ago committed by bunsenstraat
parent 3744a51de3
commit 56c88844c5
  1. 4
      apps/remix-ide-e2e/src/tests/file_explorer_multiselect.test.ts

@ -45,7 +45,7 @@ module.exports = {
const id = (el as any).value.getId() const id = (el as any).value.getId()
browser browser
.waitForElementVisible({ selector: 'li[data-id="treeViewLitreeViewItemtests"]', abortOnFailure: false }) .waitForElementVisible({ selector: 'li[data-id="treeViewLitreeViewItemtests"]', abortOnFailure: false })
.dragAndDrop('li[data-id="treeViewLitreeViewItemcontracts/2_Storage.sol"]', id) .dragAndDrop('li[data-id="treeViewLitreeViewItemcontracts/1_Storage.sol"]', id)
.waitForElementPresent({ selector: '[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok', abortOnFailure: false }) .waitForElementPresent({ selector: '[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok', abortOnFailure: false })
.execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) .execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() })
.waitForElementVisible({ selector: 'li[data-id="treeViewLitreeViewItemtests/1_Storage.sol"]', abortOnFailure: false }) .waitForElementVisible({ selector: 'li[data-id="treeViewLitreeViewItemtests/1_Storage.sol"]', abortOnFailure: false })
@ -58,7 +58,7 @@ module.exports = {
} }
}, },
'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 #flaky #group3': function (browser: NightwatchBrowser) {
const selectedElements = [] const selectedElements = []
if (browser.options.desiredCapabilities?.browserName === 'firefox') { if (browser.options.desiredCapabilities?.browserName === 'firefox') {
console.log('Skipping test for firefox') console.log('Skipping test for firefox')

Loading…
Cancel
Save