updates based on comments from @Aniket-Engg

pull/4757/head
Joseph Izang 7 months ago committed by Aniket
parent d06f811cf3
commit c26a74fb4d
  1. 6
      apps/remix-ide-e2e/src/tests/file_explorer_multiselect.test.ts

@ -10,14 +10,12 @@ module.exports = {
const selectedElements = []
browser
.openFile('contracts')
browser
.click({ selector: '//*[@data-id="treeViewLitreeViewItemcontracts/1_Storage.sol"]', locateStrategy: 'xpath' })
browser
.findElement({ selector: '//*[@data-id="treeViewLitreeViewItemcontracts/2_Owner.sol"]', locateStrategy: 'xpath' }, (el) => {
selectedElements.push(el)
})
browser
.findElement({ selector: '//*[@data-id="treeViewLitreeViewItemtests"]', locateStrategy: 'xpath' }, (el) => {
browser.findElement({ selector: '//*[@data-id="treeViewLitreeViewItemtests"]', locateStrategy: 'xpath' },
(el: any) => {
selectedElements.push(el)
})
browser.selectFiles(selectedElements)

Loading…
Cancel
Save