Skip to content

Commit b0d2366

Browse files
add fix for headers
1 parent 7927f6c commit b0d2366

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/e2e/helpers/common.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ export class Common {
2828
static mockSettingsResponse(): RequestMock {
2929
return RequestMock()
3030
.onRequestTo(settingsApiUrl)
31-
.respond(mockedSettingsResponse, 200);
31+
.respond(mockedSettingsResponse, 200, {
32+
'Access-Control-Allow-Origin': '*',
33+
'Access-Control-Allow-Credentials': 'true',
34+
'Access-Control-Allow-Headers': 'x-window-id'
35+
});
3236
}
3337

3438
static async waitForElementNotVisible(elm: Selector): Promise<void> {

tests/e2e/tests/electron/critical-path/a-first-start-form/user-agreements-form.e2e.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { UserAgreementDialog } from '../../../../pageObjects/dialogs';
77
const userAgreementDialog = new UserAgreementDialog();
88
const myRedisDatabasePage = new MyRedisDatabasePage();
99

10-
// Skipped due to unworking mocs to refresh eula https://redislabs.atlassian.net/browse/RI-5868
1110
fixture `Agreements Verification`
1211
.meta({ type: 'critical_path', rte: rte.none })
1312
.page(commonUrl)

0 commit comments

Comments
 (0)