Commit 64d23d05 authored by ninabreznik's avatar ninabreznik Committed by yann300

Update tests

parent 761aa503
...@@ -80,10 +80,10 @@ var css = csjs` ...@@ -80,10 +80,10 @@ var css = csjs`
} }
.buttons { .buttons {
display: flex; display: flex;
margin-right: 10px;
} }
.debug { .debug {
${styles.terminal.button_Log_Debug} ${styles.terminal.button_Log_Debug}
margin-left: 5px;
width: 55px; width: 55px;
min-width: 55px; min-width: 55px;
min-height: 20px; min-height: 20px;
......
...@@ -31,7 +31,7 @@ var css = csjs` ...@@ -31,7 +31,7 @@ var css = csjs`
} }
.clear { .clear {
margin-left : 10px; margin-left : 10px;
margin-right : 10px; margin-right : 10px;
width : 10px; width : 10px;
cursor : pointer; cursor : pointer;
color : ${styles.terminal.icon_Color_TogglePanel}; color : ${styles.terminal.icon_Color_TogglePanel};
...@@ -105,7 +105,7 @@ var css = csjs` ...@@ -105,7 +105,7 @@ var css = csjs`
margin-right : 0.5em; margin-right : 0.5em;
font-family : monospace; font-family : monospace;
font-weight : bold; font-weight : bold;
font-size : large; font-size : 14px;
color : ${styles.appProperties.supportText_OppositeColor}; color : ${styles.appProperties.supportText_OppositeColor};
} }
.input { .input {
......
...@@ -57,10 +57,10 @@ function testSimpleContract (browser, callback) { ...@@ -57,10 +57,10 @@ function testSimpleContract (browser, callback) {
.testFunction('g - transact (not payable)', .testFunction('g - transact (not payable)',
'0xb1532162e2e31397dc1e07ed0a1cf08f728e9b4487c6f9ed79d2f39410c92781', '0xb1532162e2e31397dc1e07ed0a1cf08f728e9b4487c6f9ed79d2f39410c92781',
`[vm]\nfrom:0xca3...a733c\nto:TestContract.g() 0x692...77b3a\nvalue:0 wei\ndata:0xe21...79b8e\nlogs:0\nhash:0xb15...92781`, null, `{ `[vm]\nfrom:0xca3...a733c\nto:TestContract.g() 0x692...77b3a\nvalue:0 wei\ndata:0xe21...79b8e\nlogs:0\nhash:0xb15...92781`, null, `{
"0": "uint256: 345", "0": "uint256: 345",
"1": "string: comment_comment_", "1": "string: comment_comment_",
"2": "bool: true", "2": "bool: true",
"3": "uint256: 4" "3": "uint256: 4"
}`).click('i[class^="clearinstance"]').perform(() => { callback(null, browser) }) }`).click('i[class^="clearinstance"]').perform(() => { callback(null, browser) })
}) })
} }
...@@ -74,10 +74,10 @@ function testReturnValues (browser, callback) { ...@@ -74,10 +74,10 @@ function testReturnValues (browser, callback) {
'0x79dc928d149d2ade02ab610a8ae290636222d034d4adce0bb08a68401e3d1f7f', '0x79dc928d149d2ade02ab610a8ae290636222d034d4adce0bb08a68401e3d1f7f',
`[vm]\nfrom:0xca3...a733c\nto:testReturnValues.retunValues1() 0x5e7...26e9f\nvalue:0 wei\ndata:0x9ed...59eb7\nlogs:0\nhash:0x79d...d1f7f`, `[vm]\nfrom:0xca3...a733c\nto:testReturnValues.retunValues1() 0x5e7...26e9f\nvalue:0 wei\ndata:0x9ed...59eb7\nlogs:0\nhash:0x79d...d1f7f`,
null, `{ null, `{
"0": "bool: _b true", "0": "bool: _b true",
"1": "uint256: _u 345", "1": "uint256: _u 345",
"2": "int256: _i -345", "2": "int256: _i -345",
"3": "address: _a 0xca35b7d915458ef540ade6068dfe2f44e8fa733c" "3": "address: _a 0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
}`) }`)
.pause(500) .pause(500)
.testFunction('retunValues2 - transact (not payable)', .testFunction('retunValues2 - transact (not payable)',
......
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