Skip to content

Commit

Permalink
fix CI/CD Firefox tests (#6516)
Browse files Browse the repository at this point in the history
* delete cypress firefox special configurations
  • Loading branch information
Muhammad-Altabba authored Oct 18, 2023
1 parent bd3b9a0 commit 7bee9bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 72 deletions.
19 changes: 0 additions & 19 deletions templates/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
25 changes: 0 additions & 25 deletions templates/cypress/.cert/cert.pem

This file was deleted.

28 changes: 0 additions & 28 deletions templates/cypress/.cert/key.pem

This file was deleted.

0 comments on commit 7bee9bc

Please sign in to comment.