proud-breakfast-29892
09/15/2022, 3:10 PMgentle-accountant-4760
09/15/2022, 3:31 PMts
beforeEach(() => {
localStorage.setItem('featureToggleOverrides', JSON.stringify({
'feature-simple-identity-provider': true,
}));
});
however when I run my test the first time when doing cypress open, it works but then when I restart the test again, it doesn't apply the beforeEach anymore, what is the reason of that?polite-painting-51763
09/15/2022, 4:22 PMmelodic-ocean-83158
09/15/2022, 5:52 PMgentle-accountant-4760
09/15/2022, 5:53 PMcypress/support/e2e.ts
melodic-ocean-83158
09/15/2022, 5:55 PMgentle-accountant-4760
09/15/2022, 5:59 PMmelodic-ocean-83158
09/15/2022, 6:02 PMgentle-accountant-4760
09/15/2022, 6:04 PMgentle-accountant-4760
09/15/2022, 6:04 PMmelodic-ocean-83158
09/15/2022, 6:17 PMmelodic-ocean-83158
09/15/2022, 6:21 PMmelodic-ocean-83158
09/15/2022, 6:22 PMgentle-accountant-4760
09/15/2022, 6:22 PMgentle-accountant-4760
09/15/2022, 6:22 PMmelodic-ocean-83158
09/15/2022, 6:25 PMmelodic-ocean-83158
09/15/2022, 6:26 PMgentle-accountant-4760
09/15/2022, 6:27 PMgentle-accountant-4760
09/15/2022, 6:28 PMmelodic-ocean-83158
09/15/2022, 6:32 PMmelodic-ocean-83158
09/15/2022, 6:34 PMgentle-accountant-4760
09/15/2022, 6:35 PMgentle-accountant-4760
09/15/2022, 6:36 PMmelodic-ocean-83158
09/15/2022, 6:38 PMgentle-accountant-4760
09/15/2022, 6:50 PMts
describe('....', () => {
before(() => {
setFeatureToggle();
});
describe('...', () => {
it('..', () => {
});
it('..', () => {
});
it('..', () => {
});
it('..', () => {
});
});
});
melodic-ocean-83158
09/15/2022, 7:06 PMmelodic-ocean-83158
09/15/2022, 7:06 PMgentle-accountant-4760
09/15/2022, 7:06 PMgentle-accountant-4760
09/15/2022, 7:12 PM