From 8e70adcbf9ac2a5bb58a5d2f113ff0b55f843302 Mon Sep 17 00:00:00 2001 From: "Siddharth Gelera (reaper)" Date: Wed, 22 Oct 2025 13:39:36 +0530 Subject: [PATCH] fix: incomplete tests (#5824) * fix: close support modal for other tests to reuse the window properly * Update support-links.spec.js * chore: reformat --------- Co-authored-by: Sid --- tests/preferences/support-links.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/preferences/support-links.spec.js b/tests/preferences/support-links.spec.js index 623bc1c61..d3a585c67 100644 --- a/tests/preferences/support-links.spec.js +++ b/tests/preferences/support-links.spec.js @@ -22,4 +22,6 @@ test('Should verify all support links with correct URL in preference > Support t const locator_documentation = page.getByRole('link', { name: 'Documentation', exact: true }); expect(await locator_documentation.getAttribute('href')).toEqual('https://docs.usebruno.com'); -}); \ No newline at end of file + + await page.locator('[data-test-id="modal-close-button"]').click(); +});