aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/contract-test/index.html
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-07-07 06:55:30 +0800
committerDan <danjm.com@gmail.com>2018-07-11 03:48:16 +0800
commit1a0a701de0fe97386a5acb666c4a4e123f27af94 (patch)
tree563df8f2e99a842ee7568f2a93383d6ae462f5ea /test/e2e/beta/contract-test/index.html
parent76e80f631e15fafd7e0bd0117fc1703944cb2fb6 (diff)
downloadtangerine-wallet-browser-1a0a701de0fe97386a5acb666c4a4e123f27af94.tar.gz
tangerine-wallet-browser-1a0a701de0fe97386a5acb666c4a4e123f27af94.tar.zst
tangerine-wallet-browser-1a0a701de0fe97386a5acb666c4a4e123f27af94.zip
Handles window indeterminancy issues for external dapps in e2e beta tests.
Diffstat (limited to 'test/e2e/beta/contract-test/index.html')
-rw-r--r--test/e2e/beta/contract-test/index.html33
1 files changed, 29 insertions, 4 deletions
diff --git a/test/e2e/beta/contract-test/index.html b/test/e2e/beta/contract-test/index.html
index 0868633f7..0d63fd940 100644
--- a/test/e2e/beta/contract-test/index.html
+++ b/test/e2e/beta/contract-test/index.html
@@ -1,8 +1,33 @@
<html>
+<head>
+ <title>E2E Test Dapp</title>
+</head>
<body>
- <button id="deployButton">Deploy Contract</button>
- <button id="depositButton">Deposit</button>
- <button id="withdrawButton">Withdraw</button>
-</body>
+ <div style="display: flex; flex-flow: column;">
+ <div style="display: flex; font-size: 1.25rem;">Contract</div>
+ <div style="display: flex;">
+ <button id="deployButton">Deploy Contract</button>
+ <button id="depositButton">Deposit</button>
+ <button id="withdrawButton">Withdraw</button>
+ </div>
+ </div>
+ <div style="display: flex; flex-flow: column;">
+ <div style="display: flex; font-size: 1.25rem;">Send eth</div>
+ <div style="display: flex;">
+ <button id="sendButton">Send</button>
+ </div>
+ </div>
+ <div style="display: flex; flex-flow: column;">
+ <div style="display: flex; font-size: 1.25rem;">Send tokens</div>
+ <div id="tokenAddress"></div>
+ <div style="display: flex;">
+ <button id="createToken">Create Token</button>
+ <button id="transferTokens">Transfer Tokens</button>
+ <button id="approveTokens">Approve Tokens</button>
+ </div>
+ </div>
+
<script src="contract.js"></script>
+</body>
+
</html> \ No newline at end of file