Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ process.env.HADRON_DISTRIBUTION ??= context.hadronDistribution;
process.env.COMPASS_WEB_HTTP_PROXY_CLOUD_CONFIG ??=
context.atlasCloudSandboxCloudConfig ?? 'dev';

if (isTestingAtlasCloudSandbox(context)) {
if (isTestingAtlasCloudSandbox(context) || isTestingWeb()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isTestingWeb applies to both, isTestingAtlasCloudSandbox is a subset

Suggested change
if (isTestingAtlasCloudSandbox(context) || isTestingWeb()) {
if (isTestingWeb()) {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated in 9302517

process.env.E2E_TEST_CLOUD_WEB_ENABLE_PREFERENCE_SAVING ??= 'true';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
init,
cleanup,
screenshotIfFailed,
skipForWeb,
DEFAULT_CONNECTION_NAME_1,
} from '../helpers/compass';
import type { Compass } from '../helpers/compass';
Expand Down Expand Up @@ -38,12 +37,10 @@ describe('Data Modeling tab', function () {
let browser: CompassBrowser;

before(async function () {
skipForWeb(this, 'data modeling not yet available in compass-web');

compass = await init(this.test?.fullTitle());
browser = compass.browser;
await browser.setFeature('enableDataModeling', true);
await browser.setupDefaultConnections();
await browser.setFeature('enableDataModeling', true);
});

beforeEach(async function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const editablePreferences: (keyof UserPreferences)[] = [
'enableGenAISampleDocumentPassingOnAtlasProject',
'enableGenAIFeaturesAtlasOrg',
'enableGenAIFeaturesAtlasProject',
'enableDataModeling',
];

export class CompassWebPreferencesAccess implements PreferencesAccess {
Expand Down