Chore: consolidate e2e scripts in package.json (#74906)

consolidate e2e scripts in package.json + almost fix benchmarking tests
This commit is contained in:
Ashley Harrison
2023-09-14 15:00:29 +01:00
committed by GitHub
parent 1ee485ac43
commit 3fdf96d241
5 changed files with 9 additions and 18 deletions
+1 -6
View File
@@ -30,13 +30,8 @@ export const benchmark = ({
});
} else {
describe(name, () => {
before(() => {
cy.session('login', () => e2e.flows.login(e2e.env('USERNAME'), e2e.env('PASSWORD'), true), {
cacheAcrossSpecs: true,
});
});
beforeEach(() => {
e2e.flows.login(e2e.env('USERNAME'), e2e.env('PASSWORD'));
e2e.flows.importDashboards(dashboard.folder, 1000, dashboard.skipPanelValidation);
});