Minor configuration cleanup for Cypress

This commit is contained in:
Tim Donohue
2023-03-02 16:06:12 -06:00
parent 934c23a550
commit aa7c644e6a
4 changed files with 24 additions and 15 deletions

View File

@@ -30,11 +30,11 @@ beforeEach(() => {
// For better stability between tests, we visit "about:blank" (i.e. blank page) after each test.
// This ensures any remaining/outstanding XHR requests are killed, so they don't affect the next test.
// Borrowed from: https://glebbahmutov.com/blog/visit-blank-page-between-tests/
afterEach(() => {
/*afterEach(() => {
cy.window().then((win) => {
win.location.href = 'about:blank';
});
});
});*/
// Global constants used in tests