Merge pull request #904 from MetaMask/BetterIntegrationTest
Made integration test suite better, added a step to storyfeature/default_network_editable
commit
eb7cf2bf31
@ -0,0 +1,31 @@ |
||||
<!doctype html> |
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>MetaMask</title> |
||||
|
||||
<script> |
||||
window.METAMASK_DEBUG = true |
||||
window.TEST_MODE = true |
||||
</script> |
||||
</head> |
||||
<body> |
||||
|
||||
<!-- app content --> |
||||
<div id="app-content" style="height: 100%"></div> |
||||
<script src="./bundle.js" type="text/javascript" charset="utf-8"></script> |
||||
|
||||
</body> |
||||
|
||||
<style> |
||||
html, body, #app-content, .super-dev-container { |
||||
height: 100%; |
||||
width: 100%; |
||||
position: relative; |
||||
background: white; |
||||
} |
||||
.mock-app-root { |
||||
background: #F7F7F7; |
||||
} |
||||
</style> |
||||
</html> |
@ -1,7 +1,7 @@ |
||||
function wait() { |
||||
function wait(time) { |
||||
return new Promise(function(resolve, reject) { |
||||
setTimeout(function() { |
||||
resolve() |
||||
}, 500) |
||||
}, time || 500) |
||||
}) |
||||
} |
||||
|
Loading…
Reference in new issue