ci: Reset DB only once per e2e test (no-changelog) (#6216)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-26 15:15:06 +00:00
committed by GitHub
parent b777f9031d
commit 7a7b884793
31 changed files with 50 additions and 65 deletions

View File

@@ -15,6 +15,10 @@
import './commands';
before(() => {
cy.resetAll();
});
// Load custom nodes and credentials fixtures
beforeEach(() => {
cy.intercept('GET', '/rest/settings').as('loadSettings');
@@ -25,6 +29,6 @@ beforeEach(() => {
statusCode: 200,
body: {
data: { status: 'success', message: 'Tested successfully' },
}
},
});
})
});