updates based on comments from @Aniket-Engg

pull/5370/head
Joseph Izang 7 months ago committed by Aniket
parent 681fb5fff4
commit 4b3a6c176d
  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