Skip to content

Commit 2a5985f

Browse files
ci-botAniket-Engg
authored andcommitted
fix tests
1 parent 0e70bc0 commit 2a5985f

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed

apps/remix-ide-e2e/src/tests/circom.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ module.exports = {
5757
.click('[data-id="compute_witness_btn"]')
5858
.frameParent()
5959
.clickLaunchIcon('filePanel')
60+
.pause(5000)
6061
.openFile('circuits/.bin/simple_js/simple.wtn')
6162
.waitForElementPresent('[data-id="treeViewLitreeViewItemcircuits/.bin/simple_js/simple.wtn"]')
6263
.waitForElementVisible('[data-id="treeViewLitreeViewItemcircuits/.bin/simple_js/simple.wtn"]')

apps/remix-ide-e2e/src/tests/contract_flattener.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
},
2020
'Should not be able to flatten contract without imports': function (browser: NightwatchBrowser) {
2121
browser.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]')
22+
.openFile('contracts')
2223
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]')
2324
.pause(1000)
2425
.click('*[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]')

apps/remix-ide-e2e/src/tests/file_explorer_multiselect.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ module.exports = {
1111
const selectedElements = []
1212
browser
1313
.openFile('contracts')
14-
.click('*[data-id="treeViewDivtreeViewItemcontracts"]')
1514
.click({ selector: '//*[@data-id="treeViewDivtreeViewItemcontracts/1_Storage.sol"]', locateStrategy: 'xpath' })
1615
.findElement({ selector: '//*[@data-id="treeViewDivtreeViewItemcontracts/2_Owner.sol"]', locateStrategy: 'xpath' }, (el) => {
1716
selectedElements.push(el)

apps/remix-ide-e2e/src/tests/pinned_contracts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
browser
1818
.clickLaunchIcon('filePanel')
1919
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]')
20-
// .click('*[data-id="treeViewLitreeViewItemcontracts"]')
20+
.click('*[data-id="treeViewLitreeViewItemcontracts"]')
2121
.click('*[data-id="treeViewLitreeViewItemcontracts/1_Storage.sol"]')
2222
.waitForElementVisible('*[data-id="compile-action"]')
2323
.pause(3000)

apps/remix-ide-e2e/src/tests/script-runner.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const tests = {
2020
browser
2121
.waitForElementVisible('*[data-id="verticalIconsKindfilePanel"]')
2222
.click('*[data-id="verticalIconsKindfilePanel"]')
23+
.openFile('scripts/deploy_with_ethers.ts')
2324
.waitForElementVisible('*[data-id="treeViewDivtreeViewItemscripts/deploy_with_ethers.ts"]')
2425
// .click('*[data-id="treeViewDivtreeViewItemscripts"]')
2526
// .pause(3000)

apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ module.exports = {
3535
browser
3636
.clickLaunchIcon('filePanel')
3737
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]')
38+
.openFile('contracts')
3839
.click('*[data-id="treeViewLitreeViewItemcontracts/2_Owner.sol"]')
3940
.clickLaunchIcon('solidity')
4041
.click('*[id="compileBtn"]')

0 commit comments

Comments
 (0)