parent
aa54d3d8b0
commit
f81756a44c
@ -1,3 +1,4 @@ |
||||
.vscode |
||||
build |
||||
node_modules |
||||
reports |
||||
|
@ -0,0 +1,42 @@ |
||||
{ |
||||
"src_folders" : ["test-browser"], |
||||
"output_folder" : "reports", |
||||
"custom_commands_path" : "", |
||||
"custom_assertions_path" : "", |
||||
"page_objects_path" : "", |
||||
"globals_path" : "", |
||||
|
||||
"test_settings" : { |
||||
"default" : { |
||||
"launch_url": "http://ondemand.saucelabs.com:80", |
||||
"selenium_port": 80, |
||||
"selenium_host": "ondemand.saucelabs.com", |
||||
"silent": true, |
||||
"username": "chriseth", |
||||
"access_key": "b781828a-9e9c-43d8-89d4-2fbb879595ca", |
||||
"screenshots" : { |
||||
"enabled" : false |
||||
}, |
||||
"globals": { |
||||
"waitForConditionTimeout": 60000 |
||||
} |
||||
}, |
||||
"chrome" : { |
||||
"desiredCapabilities": { |
||||
"browserName": "chrome", |
||||
"javascriptEnabled": true, |
||||
"acceptSslCerts": true |
||||
} |
||||
}, |
||||
"local" : { |
||||
"launch_url": "http://localhost:8080", |
||||
"selenium_port": 4444, |
||||
"selenium_host": "localhost", |
||||
"desiredCapabilities": { |
||||
"browserName": "chrome", |
||||
"javascriptEnabled": true, |
||||
"acceptSslCerts": true |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,10 @@ |
||||
module.exports = { |
||||
'New file test': function (browser) { |
||||
browser |
||||
.url('http://127.0.0.1:8080') |
||||
.waitForElementVisible('.newFile', 5000) |
||||
.click('.newFile') |
||||
.assert.containsText('.active', 'Untitled') |
||||
.end(); |
||||
} |
||||
}; |
@ -0,0 +1,9 @@ |
||||
module.exports = { |
||||
'Smoke test': function (browser) { |
||||
browser |
||||
.url('http://127.0.0.1:8080') |
||||
.waitForElementVisible('#righthand-panel', 5000) |
||||
.assert.containsText('#righthand-panel', 'Solidity version') |
||||
.end(); |
||||
} |
||||
}; |
Loading…
Reference in new issue