Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 7bee9bc

Browse files
fix CI/CD Firefox tests (#6516)
* delete cypress firefox special configurations
1 parent bd3b9a0 commit 7bee9bc

File tree

3 files changed

+0
-72
lines changed

3 files changed

+0
-72
lines changed

templates/cypress.config.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,4 @@ const config = {
2828
},
2929
};
3030

31-
if (process.env.WEB3_SYSTEM_TEST_ENGINE === 'firefox') {
32-
const port = parseInt(String(Math.random() * 10000 + 10000));
33-
config.clientCertificates = [
34-
{
35-
url: 'https://web3.js',
36-
certs: [
37-
{
38-
cert: './cypress/.cert/cert.pem',
39-
key: './cypress/.cert/key.pem',
40-
},
41-
],
42-
},
43-
];
44-
config.e2e.port = port;
45-
config.e2e.hosts = {
46-
'web3.js': '127.0.0.1',
47-
};
48-
config.e2e.baseUrl = `https://web3.js:${port}`;
49-
}
5031
module.exports = config;

templates/cypress/.cert/cert.pem

Lines changed: 0 additions & 25 deletions
This file was deleted.

templates/cypress/.cert/key.pem

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)