temprorary removing the `publish to swarm`

pull/5370/head
lianahus 3 years ago committed by Aniket
parent 1cbd9f8f48
commit c2e2c8a9b0
  1. 2
      apps/remix-ide-e2e/src/tests/publishContract.test.ts
  2. 4
      libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx

@ -32,6 +32,7 @@ module.exports = {
.click('[data-id="publishToStorage-modal-footer-ok-react"]')
},
/* Disableing the test untill refactoring and the new swarm usage
'Publish on Swarm': '' + function (browser: NightwatchBrowser) {
browser
.click('#publishOnSwarm')
@ -47,6 +48,7 @@ module.exports = {
})
.click('[data-id="publishToStorage-modal-footer-ok-react"]')
},
*/
'Should publish contract metadata to ipfs on deploy': function (browser: NightwatchBrowser) {
browser

@ -203,10 +203,6 @@ export const ContractSelection = (props: ContractSelectionProps) => {
</select>
</div>
<article className="mt-2 pb-0">
<button id="publishOnSwarm" className="btn btn-secondary btn-block" title="Publish on Swarm" onClick={() => { handlePublishToStorage('swarm') }}>
<span>Publish on Swarm</span>
<img id="swarmLogo" className="remixui_storageLogo ml-2" src="assets/img/swarm.webp" />
</button>
<button id="publishOnIpfs" className="btn btn-secondary btn-block" title="Publish on Ipfs" onClick={() => { handlePublishToStorage('ipfs') }}>
<span>Publish on Ipfs</span>
<img id="ipfsLogo" className="remixui_storageLogo ml-2" src="assets/img/ipfs.webp" />

Loading…
Cancel
Save