Commit Graph

467 Commits

Author SHA1 Message Date
Jacob Overgaard
fcdfec575e add separation of msw handlers into browser and e2e contexts, and replace the import.meta statements into the browser file since only the browser can handle esmodules 2022-08-08 14:50:57 +02:00
Jacob Overgaard
8842bf6cfa let e2e environment use default for run state 2022-08-08 14:49:54 +02:00
Jacob Overgaard
2777bc694e remove obsolete preconfigured option 2022-08-08 14:49:16 +02:00
Jacob Overgaard
0d53e2e4e8 add staging environment and set as default build (for the static site) 2022-08-08 14:48:59 +02:00
Jacob Overgaard
72cd69c590 add base override for runtime status to install specs 2022-08-08 14:14:51 +02:00
Jacob Overgaard
08871757ac add base testbed override to login specs to enable msw 2022-08-08 14:14:29 +02:00
Jacob Overgaard
6fdfe8a152 add transition to umbracoPath function for msw handlers 2022-08-08 14:13:30 +02:00
Jacob Overgaard
7c25df44d9 add helper function to get an umbraco path with base url 2022-08-08 14:09:30 +02:00
Jacob Overgaard
3f3ef55fbf install playwright-msw to enable override of routes in tests 2022-08-08 14:09:15 +02:00
Jacob Overgaard
0a56307553 add runtime mode for playwright to disable global msw 2022-08-08 14:08:26 +02:00
Jacob Overgaard
bc66e03c54 add test target for the installer 2022-08-08 13:36:35 +02:00
Jacob Overgaard
5086f1f278 remove usage of sessionStorage directly in service workers 2022-08-08 13:36:11 +02:00
Jacob Overgaard
73bc7f6fdc disable msw in production mode 2022-08-08 11:53:59 +02:00
Jacob Overgaard
54c4a7e467 update eslint script to only run for files included in tsconfig 2022-08-04 15:43:53 +02:00
Jacob Overgaard
5780fb2e92 add npm cache to action 2022-08-04 15:31:42 +02:00
Jacob Overgaard
b1398d38af use default config for login specs 2022-08-04 14:49:22 +02:00
Jacob Overgaard
50f45920a0 set webserver for playwright 2022-08-04 14:47:58 +02:00
Jacob Overgaard
d11f3d45df add simple login test 2022-08-04 13:34:09 +02:00
Jacob Overgaard
f100d17f8d set baseurl for playwright 2022-08-04 13:33:57 +02:00
Jacob Overgaard
b35c0d4295 add e2e tests to tsconfig 2022-08-04 13:20:26 +02:00
Jacob Overgaard
891e151921 add playwright to gitignore 2022-08-04 13:20:09 +02:00
Jacob Overgaard
db4a9ca839 add playwright config 2022-08-04 13:20:03 +02:00
Jacob Overgaard
a652541667 add playwright job 2022-08-04 13:19:27 +02:00
Jacob Overgaard
af69670dcd add playwright deps 2022-08-04 13:19:20 +02:00
Jacob Overgaard
3a4664a816 Create codeql.yml 2022-08-04 11:25:54 +02:00
Jacob Overgaard
6cd687dc4e test build on main branch 2022-08-04 11:23:52 +02:00
Jacob Overgaard
46ec8de5db add storybook eslint plugin to extensions 2022-08-04 11:21:47 +02:00
Jacob Overgaard
e135d8ed87 Merge pull request #77 from umbraco/dependabot/npm_and_yarn/eslint-plugin-storybook-0.6.3
Bump eslint-plugin-storybook from 0.6.2 to 0.6.3
2022-08-04 10:20:56 +02:00
dependabot[bot]
a6e9d363f0 Bump eslint-plugin-storybook from 0.6.2 to 0.6.3
Bumps [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/storybookjs/eslint-plugin-storybook/releases)
- [Changelog](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/eslint-plugin-storybook/compare/v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 07:58:35 +00:00
Jacob Overgaard
db7bcf8d8a Merge pull request #78 from umbraco/dependabot/npm_and_yarn/eslint-plugin-lit-a11y-2.2.2
Bump eslint-plugin-lit-a11y from 2.2.1 to 2.2.2
2022-08-04 09:57:46 +02:00
dependabot[bot]
e36ccd2558 Bump eslint-plugin-lit-a11y from 2.2.1 to 2.2.2
Bumps [eslint-plugin-lit-a11y](https://github.com/open-wc/open-wc/tree/HEAD/packages/eslint-plugin-lit-a11y) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/open-wc/open-wc/releases)
- [Changelog](https://github.com/open-wc/open-wc/blob/master/packages/eslint-plugin-lit-a11y/CHANGELOG.md)
- [Commits](https://github.com/open-wc/open-wc/commits/eslint-plugin-lit-a11y@2.2.2/packages/eslint-plugin-lit-a11y)

---
updated-dependencies:
- dependency-name: eslint-plugin-lit-a11y
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 18:34:02 +00:00
Jacob Overgaard
ab9f9dd905 Merge pull request #75 from umbraco/feature/storybook
Storybook with MSW
2022-08-03 13:52:15 +02:00
Jacob Overgaard
0cbdabd202 add installer as a page 2022-08-03 12:43:41 +02:00
Jacob Overgaard
23558db4cc Merge pull request #74 from umbraco/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.32.0
Bump @typescript-eslint/eslint-plugin from 5.31.0 to 5.32.0
2022-08-03 12:32:14 +02:00
dependabot[bot]
fe426db626 Bump @typescript-eslint/eslint-plugin from 5.31.0 to 5.32.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.31.0 to 5.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 08:17:05 +00:00
Jacob Overgaard
655eead741 Merge pull request #73 from umbraco/dependabot/npm_and_yarn/babel/core-7.18.10
Bump @babel/core from 7.18.9 to 7.18.10
2022-08-03 10:15:46 +02:00
Jacob Overgaard
86b551435f Merge pull request #72 from umbraco/dependabot/npm_and_yarn/typescript-eslint/parser-5.32.0
Bump @typescript-eslint/parser from 5.31.0 to 5.32.0
2022-08-03 10:15:35 +02:00
Jacob Overgaard
d2d51ebb40 Merge pull request #71 from umbraco/dependabot/npm_and_yarn/eslint-import-resolver-typescript-3.4.0
Bump eslint-import-resolver-typescript from 3.3.0 to 3.4.0
2022-08-03 10:15:24 +02:00
Jacob Overgaard
2cf0dafb33 Merge pull request #76 from umbraco/dependabot/npm_and_yarn/eslint-plugin-storybook-0.6.2
Bump eslint-plugin-storybook from 0.6.1 to 0.6.2
2022-08-03 10:15:11 +02:00
dependabot[bot]
bdd4e70b19 Bump eslint-plugin-storybook from 0.6.1 to 0.6.2
Bumps [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/storybookjs/eslint-plugin-storybook/releases)
- [Changelog](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/eslint-plugin-storybook/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 18:44:48 +00:00
Jacob Overgaard
effb185911 add a step for preconfigured database with mocked response 2022-08-02 13:53:19 +02:00
Jacob Overgaard
320a7b66a2 replace mocked decorator with umb-context-provider element with the real decorator 2022-08-02 13:37:46 +02:00
Jacob Overgaard
29d74ba666 add extra installer step for telemetry data 2022-08-02 13:37:21 +02:00
Jacob Overgaard
ec0f8e25be add correct wording in installer-consent 2022-08-02 13:36:37 +02:00
Jacob Overgaard
0debb6a8fb add a context-provider element to inject selected contexts in stories 2022-08-02 13:36:24 +02:00
Jacob Overgaard
c4de9c59c8 update 'detailed' text to latest version 2022-08-02 13:35:03 +02:00
Jacob Overgaard
e6e5f80bf7 rename titles of stories to group them 2022-08-02 13:21:23 +02:00
Jacob Overgaard
b14f816cd2 add storybook-msw to storybook 2022-08-02 13:14:10 +02:00
Jacob Overgaard
6c1fc5c5e6 add @storybook/a11y to storybook 2022-08-02 12:59:59 +02:00
dependabot[bot]
195d5f1f64 Bump @babel/core from 7.18.9 to 7.18.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.9 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 19:19:33 +00:00