add e2e test

pull/3378/head
yann300 2 years ago
parent 3d427260ed
commit f310772c45
  1. 18
      apps/remix-ide-e2e/src/tests/terminal.test.ts
  2. 6
      apps/remix-ide/src/app/providers/custom-vm-fork-provider.tsx

File diff suppressed because one or more lines are too long

@ -31,15 +31,15 @@ export class CustomForkVMProvider extends BasicVMProvider {
<span>Please provide information about the custom fork. If the node URL is not provided, the VM will start with an empty state.</span> <span>Please provide information about the custom fork. If the node URL is not provided, the VM will start with an empty state.</span>
<div> <div>
<label className="mt-3 mb-1">Node URL</label> <label className="mt-3 mb-1">Node URL</label>
<input name="nodeUrl" type="text" className="border form-control border-right-0"></input> <input data-id="CustomForkNodeUrl" name="nodeUrl" type="text" className="border form-control border-right-0"></input>
</div> </div>
<div> <div>
<label className="mt-3 mb-1">Block number (or "latest")</label> <label className="mt-3 mb-1">Block number (or "latest")</label>
<input name="blockNumber" type="text" defaultValue="latest" placeholder='block number or "latest"' className="border form-control border-right-0" ></input> <input data-id="CustomForkBlockNumber" name="blockNumber" type="text" defaultValue="latest" placeholder='block number or "latest"' className="border form-control border-right-0" ></input>
</div> </div>
<div> <div>
<label className="mt-3 mb-1">EVM</label> <label className="mt-3 mb-1">EVM</label>
<select name="evmType" className="border form-control border-right-0"> <select data-id="CustomForkEvmType" name="evmType" className="border form-control border-right-0">
{Object.keys(Hardfork).map((value, index) => { {Object.keys(Hardfork).map((value, index) => {
return <option value={Hardfork[value]} key={index}>{value}</option> return <option value={Hardfork[value]} key={index}>{value}</option>
})} })}

Loading…
Cancel
Save