Skip to content

Commit f231bda

Browse files
author
Raphael Kabo
committed
fix: Cypress tests to work with OAuth middleware
1 parent 6a969dd commit f231bda

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cypress/e2e/parallel-6/identitySettingsForm.cy.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import { user as userResponse } from '../../../client/fixtures/user';
2+
import { signInAndAcceptCookies } from '../../lib/signInAndAcceptCookies';
23

34
describe('Settings Form', () => {
45
beforeEach(() => {
5-
cy.session('auth', () => {
6-
cy.setCookie('gu-cmp-disabled', 'true');
7-
});
6+
signInAndAcceptCookies();
87

98
cy.intercept('GET', '/idapi/user', {
109
body: userResponse,

0 commit comments

Comments
 (0)