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 <siddharth@usebruno.com>
This commit is contained in:
Siddharth Gelera (reaper)
2025-10-22 13:39:36 +05:30
committed by GitHub
parent 87296776fa
commit 8e70adcbf9

View File

@@ -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');
});
await page.locator('[data-test-id="modal-close-button"]').click();
});