Commit Graph

23 Commits

Author SHA1 Message Date
Michael Telatynski 44c540eca0 Tweak modules to be disabled if config is missing (#33806)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy

* Tweak modules to be disabled if config is missing

* Restore blank line

* Improve coverage

* Potential fix for pull request finding 'Unused variable, import, function or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-16 08:41:40 +00:00
Michael Telatynski e9a89d9872 Consolidate vitest CI & coverage (#33808)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy
2026-06-10 16:00:34 +00:00
Michael Telatynski 6f46493b4d DRY 2026-06-08 13:34:08 +01:00
Michael Telatynski d4bdc70653 Fix tests 2026-06-08 11:59:47 +01:00
Michael Telatynski af74f511ed Make tsc happier 2026-06-08 11:42:00 +01:00
Michael Telatynski 2192b2f5e3 Fix vitest runs for modules 2026-06-08 11:21:36 +01:00
Michael Telatynski cf9ee41d06 DRY 2026-06-08 11:19:13 +01:00
Michael Telatynski 799d33278f Absorb remainder of element-modules into monorepo 2026-06-08 10:32:12 +01:00
renovate[bot] 2a6e185be9 Update vite 2026-06-04 08:13:41 +00:00
Michael Telatynski cff89430f6 Remove unused export 2026-06-03 16:43:23 +01:00
Andy Balaam 746a022a95 Use the rejectToast function from utils instead of a fixture 2026-05-15 13:08:10 +01:00
renovate[bot] 7f286de61f Update dependency typescript to v6 2026-04-29 20:10:19 +00:00
Andy Balaam ddb873a370 In lifecycle tests, dismiss the Verify toast if it appears (#252)
Depend on @element-hq/element-web-playwright-common v3.1.0 to provide the `toasts` fixture.
2026-04-14 14:36:53 +01:00
dependabot[bot] 6ab5d7d3c5 build(deps-dev): bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 7.3.1 to 7.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 20:43:24 +00:00
David Langley 617978e436 update moduleApiVersion to enforce module is actually present. 2026-03-23 11:38:04 +00:00
David Langley c058c187c4 Tidy up 2026-03-13 16:19:27 +00:00
David Langley 610a9494d1 Fix coverage paths 2026-03-13 15:43:25 +00:00
David Langley 75464c1634 Make sonar happy 2026-03-13 15:43:25 +00:00
David Langley 7d183ed15b Fix coverage reporting 2026-03-13 15:43:25 +00:00
David Langley c2da26542e Remove double export 2026-03-13 15:43:25 +00:00
David Langley 782b008b54 Fix e2e
We need wildcard to match query params etc
2026-03-13 15:43:25 +00:00
David Langley 5d091e91c3 Update e2e tests and header
Don't add normalisation of widget headers either
2026-03-13 15:43:25 +00:00
David Langley 6aa454c646 Add widget lifecycle module 2026-03-13 15:43:25 +00:00