Skip to content

Commit

Permalink
try commenting cypress special config for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Altabba committed Oct 17, 2023
1 parent 09f4c8b commit 35a3872
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions templates/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ 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}`;
}
// 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;

0 comments on commit 35a3872

Please sign in to comment.