From 7bee9bc7706f9c16757b464553fb7234fc8e4491 Mon Sep 17 00:00:00 2001 From: Muhammad Altabba <24407834+Muhammad-Altabba@users.noreply.github.com> Date: Wed, 18 Oct 2023 18:42:17 +0200 Subject: [PATCH] fix CI/CD Firefox tests (#6516) * delete cypress firefox special configurations --- templates/cypress.config.js | 19 ------------------- templates/cypress/.cert/cert.pem | 25 ------------------------- templates/cypress/.cert/key.pem | 28 ---------------------------- 3 files changed, 72 deletions(-) delete mode 100644 templates/cypress/.cert/cert.pem delete mode 100644 templates/cypress/.cert/key.pem diff --git a/templates/cypress.config.js b/templates/cypress.config.js index 0bec9597315..95874902d93 100644 --- a/templates/cypress.config.js +++ b/templates/cypress.config.js @@ -28,23 +28,4 @@ const config = { }, }; -if (process.env.WEB3_SYSTEM_TEST_ENGINE === 'firefox') { - const port = parseInt(String(Math.random() * 10000 + 10000)); - config.clientCertificates = [ - { - url: 'https://web3.js', - certs: [ - { - cert: './cypress/.cert/cert.pem', - key: './cypress/.cert/key.pem', - }, - ], - }, - ]; - config.e2e.port = port; - config.e2e.hosts = { - 'web3.js': '127.0.0.1', - }; - config.e2e.baseUrl = `https://web3.js:${port}`; -} module.exports = config; diff --git a/templates/cypress/.cert/cert.pem b/templates/cypress/.cert/cert.pem deleted file mode 100644 index 5653f4a1311..00000000000 --- a/templates/cypress/.cert/cert.pem +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIERDCCAqygAwIBAgIQI9z+o56tynrZPMnAUwC20DANBgkqhkiG9w0BAQsFADCB -hTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMS0wKwYDVQQLDCRhbGV4 -ZXlrb3NpbnNraUBtYWMgKEFsZXhleSBLb3NpbnNraSkxNDAyBgNVBAMMK21rY2Vy -dCBhbGV4ZXlrb3NpbnNraUBtYWMgKEFsZXhleSBLb3NpbnNraSkwHhcNMjIwODAy -MTIwMDI1WhcNMjQxMTAyMTMwMDI1WjBYMScwJQYDV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C8NKl2Fcwfj2/E/2TiNFnm1wei0Sl4PT+6sZoPBP+MPLhjXucgI7NPO -xQvP/ubZFshoUlW37ybhiGd0obscGK5yPAHNxlni8kDaW8H/9jIymA== ------END CERTIFICATE----- diff --git a/templates/cypress/.cert/key.pem b/templates/cypress/.cert/key.pem deleted file mode 100644 index c0799428876..00000000000 --- a/templates/cypress/.cert/key.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDjTT23VPDPmVy5 -m5oMO2Fp7eoPVFOxQBWtMV0/sVMYIPLOUn3tL/PqZnXauGMNRiq4tgiIg4sY3LgO -vj2x6CjbajebNAMKn0Odl4I0s1nIfczTwL88rUJHPKKAhVHYojWY+u83TF48WTED -fYerrDCzhO92N9AZfJnwsD1P5a44VsvB0WF9yW9RsWuu0BassAmx3hgmqZkcDEsD -5PPRwgYjcXp0zX/rLY/7HPfD7S07zVCaByWekDWCG5GM9RmjqNLf9f94Y+ykyMmI -Xy56lhArTbgOC1jAnWfJJNyLYEh0Z3qQuKnPVAU3RoF1n9oyf95n8sLKyCCxeOWi -2HuKWMPnAgMBAAECggEAD90uN4NoIzUS8alYgQ4L6HbAZT1/cdmFKcdOOMnJgN+b -0qaTP2CfZ3arNw6zaxPAm4+o3M5BgQS2m+DPMYGAiH/LTbu9kpo2/+K5JbB2zbVp -/EVxk2yMOaiTtuCXK8V2dCzfUT61PQUElLfIJkUoSP84L0oJ7h1yKQhD3zWqiSfz -7DdAYJSDpraoyx2pkQYGYvcEK5wCkcJtfR9PePCANkCBtY+5sP17gtG0DPrdlgBj -+4nyhsnd3cZG7QKxSnQ16Pn6hHv3JeEQlaTQ8yYrI4FFjvPowfwSWsH0pg3/AAS/ -a5yF8DTtaEyn74mzTEPWJWp9fTOs4L2IuYz1p5yC8QKBgQDkocBK907Eg94hhIHB -bpjpJ8TmC1tD7vdxcBotoB2GmZJssGpyv2kmq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