Skip to content

reenable cdw test#2391

Open
p-hoffmann wants to merge 2 commits into
developfrom
p-hoffmann/cdwtest
Open

reenable cdw test#2391
p-hoffmann wants to merge 2 commits into
developfrom
p-hoffmann/cdwtest

Conversation

@p-hoffmann

Copy link
Copy Markdown
Member

Merge Checklist

Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.

  • Automated Tests (Jasmine integration tests, Unit tests, and/or Performance tests)
  • Updated Manual tests / Demo Config
  • Documentation (Application guide, Admin guide, Markdown, Readme and/or Wiki)
  • Verified that local development environment is working with latest changes (integrated with latest develop branch)
  • following best practices in code review doc

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR appears to re-enable the CDM configuration e2e test and relax blank-config generation in cdw-svc so it can run without an analytics service binding, while also simplifying cohort-definition aggregation in d2e-webapi.

Changes:

  • Re-enabled the Playwright test for CDM configuration creation.
  • Made generateEmptyConfig tolerate missing analytics service credentials by falling back to an empty vocabSchema.
  • Simplified getCohortDefinitionList by removing several defensive fallbacks and parse guards around bookmarks, Atlas cohorts, and materialized cohort syntax.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
tests/e2e/tests/17-configurations/CDM-creation.spec.ts Re-enables the long-running CDM configuration e2e scenario.
plugins/functions/d2e-webapi/src/services/cohortdefinition.service.ts Changes how cohort definitions/bookmarks/materialized cohorts are fetched and parsed when building the combined list response.
plugins/functions/cdw-svc/src/qe/config/configSuggestion.ts Adds a fallback path for generating an empty config when analytics connection parameters are unavailable.

Comment thread plugins/functions/cdw-svc/src/qe/config/configSuggestion.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants