Commit 887cb1b6 authored by yann300's avatar yann300

fix test: close remixd connection before opening a new one

parent 0362e1cc
...@@ -42,6 +42,6 @@ function runTests (browser, testData) { ...@@ -42,6 +42,6 @@ function runTests (browser, testData) {
.assert.containsText('[data-path="localhost/folder1/contract2.sol"]', 'contract2.sol') .assert.containsText('[data-path="localhost/folder1/contract2.sol"]', 'contract2.sol')
.click('[data-path="localhost/folder1/contract2.sol"]') .click('[data-path="localhost/folder1/contract2.sol"]')
contractHelper.testContracts(browser, sources.sources['localhost/folder1/contract2.sol'], ['localhost/folder1/contract2.sol:test2'], () => { contractHelper.testContracts(browser, sources.sources['localhost/folder1/contract2.sol'], ['localhost/folder1/contract2.sol:test2'], () => {
browser.end() browser.click('.websocketconn').end()
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment