Skip to content

(→PR #495) PT-453 | Add cultural route support#494

Closed
karisal-anders wants to merge 2 commits into
mainfrom
PT-453-add-culture-path-support
Closed

(→PR #495) PT-453 | Add cultural route support#494
karisal-anders wants to merge 2 commits into
mainfrom
PT-453-add-culture-path-support

Conversation

@karisal-anders

@karisal-anders karisal-anders commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Replaced by PR #495

Fix "yarn typecheck":
```
$ yarn typecheck
yarn run v1.22.22
$ tsc --project ./tsconfig.json --noEmit
src/domain/headless-cms/components/__tests__/CmsPage.test.tsx:113:11 -
error TS2322: Type '"primary"' is not assignable to type
'ButtonVariant.Primary | ButtonVariant.Secondary | ButtonVariant.Success
| ButtonVariant.Danger | ButtonVariant.Clear | undefined'.

113           loadMoreButtonVariant: 'primary',
              ~~~~~~~~~~~~~~~~~~~~~

src/domain/headless-cms/components/__tests__/CmsPage.test.tsx:114:11 -
error TS2322: Type '"coat"' is not assignable to type 'ButtonPresetTheme
| ButtonTheme | undefined'.

114           loadMoreButtonTheme: 'coat',
              ~~~~~~~~~~~~~~~~~~~

src/playwright/tests/search.spec.ts:55:41 - error TS2345: Argument of
type '"Detaljerad sökning"' is not assignable to parameter of type
'SearchButton'.

55     await frontPageSv.clickSearchButton('Detaljerad sökning');
                                           ~~~~~~~~~~~~~~~~~~~~

src/playwright/tests/search.spec.ts:71:41 - error TS2345: Argument of
type '"Advanced search"' is not assignable to parameter of type
'SearchButton'.

71     await frontPageEn.clickSearchButton('Advanced search');
                                           ~~~~~~~~~~~~~~~~~
```

Refs: PT-453
@azure-pipelines

Copy link
Copy Markdown

KULTUS-UI branch is deployed to platta: https://kultus-ui-pr494.dev.hel.ninja 🚀🚀🚀

@karisal-anders karisal-anders force-pushed the PT-453-add-culture-path-support branch from 024a2be to 649d161 Compare June 1, 2026 13:34
@azure-pipelines

Copy link
Copy Markdown

KULTUS-UI branch is deployed to platta: https://kultus-ui-pr494.dev.hel.ninja 🚀🚀🚀

@karisal-anders karisal-anders force-pushed the PT-453-add-culture-path-support branch 2 times, most recently from cc4364c to 118ddf9 Compare June 1, 2026 15:03
@azure-pipelines

Copy link
Copy Markdown

KULTUS-UI branch is deployed to platta: https://kultus-ui-pr494.dev.hel.ninja 🚀🚀🚀

also:
- with the request of the product owner don't restore any previous
  answer to "Is part of cultural route" question from local storage
  persisted Formik form's data, but instead always reset the question
  to its initial value i.e. no data given at all
- update generated GraphQL types using backend running
  City-of-Helsinki/palvelutarjotin#509 i.e. the backend support for the
  `is_part_of_cultural_route` field in enrolments and queue enrolments
- add tests
- update playwright tests

Refs: PT-453
@karisal-anders karisal-anders force-pushed the PT-453-add-culture-path-support branch from 118ddf9 to f08c5ab Compare June 2, 2026 11:33
@sonarqubecloud

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
64.7% Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud

@karisal-anders

Copy link
Copy Markdown
Contributor Author

Replaced by PR #495

@karisal-anders karisal-anders changed the title PT-453 | Add cultural route support (→PR #495) PT-453 | Add cultural route support Jun 2, 2026
@azure-pipelines

Copy link
Copy Markdown

KULTUS-UI branch is deployed to platta: https://kultus-ui-pr494.dev.hel.ninja 🚀🚀🚀

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.

1 participant