From 2b7a5105214948357c8b7ff56816a408caaa1b4a Mon Sep 17 00:00:00 2001 From: Sebastian Miasojed Date: Tue, 11 Feb 2025 11:01:30 +0100 Subject: [PATCH] Disable large contract test on firefox --- js/e2e/web.test.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/js/e2e/web.test.js b/js/e2e/web.test.js index 31c01e7..ccda5ef 100644 --- a/js/e2e/web.test.js +++ b/js/e2e/web.test.js @@ -130,7 +130,14 @@ test('should successfully compile a valid Solidity contract that instantiates an expect(output.contracts['fixtures/instantiate.sol'].MainContract.evm).toHaveProperty('bytecode'); }); -test('should successfully compile a valid Solidity contract that instantiates the token contracts in the browser', async ({ page }) => { +test('should successfully compile a valid Solidity contract that instantiates the token contracts in the browser', async ({ + page, + browserName, +}) => { + if (browserName === "firefox") { + // Skipping tests with large contracts on Firefox due to out-of-memory issues. + test.skip(); + } await loadTestPage(page); const standardInput = loadFixture('instantiate_tokens.json') const result = await runWorker(page, standardInput);