Skip to content

Commit

Permalink
updates based on comments from @Aniket-Engg
Browse files Browse the repository at this point in the history
  • Loading branch information
joeizang authored and Aniket-Engg committed Apr 23, 2024
1 parent d06f811 commit c26a74f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c26a74f

Please sign in to comment.