dependabot[bot]
310099650f
web: bump the eslint group in /web with 1 update ( #6983 )
...
Bumps the eslint group in /web with 1 update: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ).
- [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/v6.7.3/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 10:44:33 +02:00
Ken Sternberg
4fa6744edb
web: improve testing by adding test admin user via blueprint
2023-09-25 15:55:50 -07:00
Ken Sternberg
7e6a9fd3d2
web: test LDAP wizard sequence
2023-09-25 15:46:19 -07:00
Ken Sternberg
6457702f00
Merge branch 'core/alt-pg-credentials' into application-wizard-2-with-api-and-tests
...
* core/alt-pg-credentials:
update help strings
sort help
don't set -x by default
get postgres config from authentik config loader
core: added 'help' to the Makefile
Cleanup according to the Usage: checkmake [options] <makefile>... checkmake -h | --help checkmake --version checkmake --list-rules Makefile linting tool.
Re-arrange sequence to avoid recursive make.
core/allow alternative postgres credentials
2023-09-25 15:20:58 -07:00
Ken Sternberg
6c7e30dc7d
web: merge branch 'web/wdio-2' into application-wizard-2-with-api-and-tests
...
* web/wdio-2:
web/test: changed the name of one test to reflect it's 'good' status
web/adding tests: added comments and cleaned up some administrative features.
web/add webdriverIO testing layer
2023-09-25 15:20:32 -07:00
Ken Sternberg
d6b883d424
Merge branch 'main' into application-wizard-2-with-api-and-tests
...
* main: (21 commits)
website/integrations: fix typo
web: improve testability (#6952 )
core: bump cryptography from 41.0.3 to 41.0.4 (#6951 )
root: don't exclude enterprise from container image (#6956 )
core: bump twilio from 8.8.0 to 8.9.0 (#6953 )
root: Add setting to adjust database config for pgpool (#6949 )
website: bump the docusaurus group in /website with 3 updates (#6943 )
web: bump the sentry group in /web with 2 updates (#6944 )
web: bump the eslint group in /web with 1 update (#6946 )
web: bump the storybook group in /web with 6 updates (#6945 )
web: bump @types/grecaptcha from 3.0.4 to 3.0.5 in /web (#6947 )
core: bump urllib3 from 2.0.4 to 2.0.5 (#6948 )
core: bump node from 20.5 to 20.6 (#6784 )
web: bump pyright from 1.1.327 to 1.1.328 in /web (#6940 )
web: bump the storybook group in /web with 1 update (#6939 )
web: bump the eslint group in /web with 1 update (#6933 )
website: bump postcss from 8.4.29 to 8.4.30 in /website (#6932 )
web: bump @typescript-eslint/parser from 6.7.0 to 6.7.2 in /web (#6934 )
web: bump turnstile-types from 1.1.2 to 1.1.3 in /web (#6935 )
website/docs: add info about our docs (#6936 )
...
2023-09-25 14:56:18 -07:00
transifex-integration[bot]
0d6c4c41fd
translate: Updates for file web/xliff/en.xlf in zh_CN on branch main ( #6975 )
...
Translate web/xliff/en.xlf in zh_CN
100% translated source file: 'web/xliff/en.xlf'
on 'zh_CN'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-09-25 23:19:06 +02:00
transifex-integration[bot]
036a1cbde8
translate: Updates for file web/xliff/en.xlf in zh-Hans on branch main ( #6976 )
...
Translate web/xliff/en.xlf in zh-Hans
100% translated source file: 'web/xliff/en.xlf'
on 'zh-Hans'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-09-25 23:18:49 +02:00
Jens Langhammer
0f4fd80a26
update help strings
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 23:17:03 +02:00
Jens Langhammer
978480008a
sort help
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 23:16:42 +02:00
Jens Langhammer
fe2202fde0
don't set -x by default
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 23:10:34 +02:00
Rebecca Dodd
2398157b0b
website/blogs: Swap em dash and hyphen on blog post ( #6978 )
...
Swap em dash and hyphen
Signed-off-by: Rebecca Dodd <82806852+rebeccadee@users.noreply.github.com>
2023-09-25 23:08:30 +02:00
Jens Langhammer
759abbebf7
get postgres config from authentik config loader
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 23:06:59 +02:00
Ken Sternberg
b68e344daa
core: added 'help' to the Makefile
2023-09-25 13:34:59 -07:00
Ken Sternberg
23e0b3da5e
Cleanup according to the Usage:
...
checkmake [options] <makefile>...
checkmake -h | --help
checkmake --version
checkmake --list-rules Makefile linting tool.
2023-09-25 13:15:59 -07:00
Ken Sternberg
7cc7484932
Re-arrange sequence to avoid recursive make.
...
Nothing wrong with recursive make; it just wasn't essential
here. `migrate` is just a build target, not a task.
2023-09-25 13:05:44 -07:00
Ken Sternberg
f691c6896f
core/allow alternative postgres credentials
...
This commit allows the `dev-reset` command in the Makefile to pick up and use credentials from the
`.env` file if they are present, or fallback to the defaults provided if they are not. This is the
only place in the Makefile where the database credentials are used directly against postgresql
binaries. The syntax was tested with bash, zsh, and csh, and did not fail under those.
The `$${:-}` syntax is a combination of a Makefile idiom for "Pass a single `$` to the environment
where this command will be executed," and the shell expresion `${VARIABLE:-default}` means
"dereference the environment variable; if it is undefined, used the default value provided."
2023-09-25 12:50:59 -07:00
Jens L
ce1a071d16
web/user: fix unenrollment flow not being shown ( #6972 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 16:59:45 +02:00
okami
ea264ffc13
root: remove outdated sponsorship section on readme ( #6973 )
...
Improve reliability somewhat
Signed-off-by: okami <43506079+okamidash@users.noreply.github.com>
2023-09-25 16:38:50 +02:00
Jens L
80e86c52e7
web/flows: improve WebAuthn error messages ( #6957 )
...
* web/flows: improve WebAuthn error messages
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* include localhost
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 12:43:24 +02:00
dependabot[bot]
07ca318535
website: bump remark-github from 11.2.4 to 12.0.0 in /website ( #6963 )
...
* website: bump remark-github from 11.2.4 to 12.0.0 in /website
Bumps [remark-github](https://github.com/remarkjs/remark-github ) from 11.2.4 to 12.0.0.
- [Release notes](https://github.com/remarkjs/remark-github/releases )
- [Commits](https://github.com/remarkjs/remark-github/compare/11.2.4...12.0.0 )
---
updated-dependencies:
- dependency-name: remark-github
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix build
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-09-25 12:42:54 +02:00
dependabot[bot]
01ea6a402f
web: bump the eslint group in /web with 1 update ( #6969 )
...
Bumps the eslint group in /web with 1 update: [eslint](https://github.com/eslint/eslint ).
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:28:10 +02:00
dependabot[bot]
385f949238
web: bump the babel group in /web with 3 updates ( #6971 )
...
Bumps the babel group in /web with 3 updates: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ), [@babel/plugin-proposal-decorators](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-decorators ) and [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ).
Updates `@babel/core` from 7.22.20 to 7.23.0
- [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.23.0/packages/babel-core )
Updates `@babel/plugin-proposal-decorators` from 7.22.15 to 7.23.0
- [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.23.0/packages/babel-plugin-proposal-decorators )
Updates `@babel/preset-typescript` from 7.22.15 to 7.23.0
- [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.23.0/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: babel
- dependency-name: "@babel/plugin-proposal-decorators"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: babel
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: babel
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:27:06 +02:00
dependabot[bot]
af33f8c014
web: bump the storybook group in /web with 5 updates ( #6968 )
...
Bumps the storybook group in /web with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | `7.4.3` | `7.4.5` |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links ) | `7.4.3` | `7.4.5` |
| [@storybook/web-components](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/web-components ) | `7.4.3` | `7.4.5` |
| [@storybook/web-components-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/web-components-vite ) | `7.4.3` | `7.4.5` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) | `7.4.3` | `7.4.5` |
Updates `@storybook/addon-essentials` from 7.4.3 to 7.4.5
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.5/code/addons/essentials )
Updates `@storybook/addon-links` from 7.4.3 to 7.4.5
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.5/code/addons/links )
Updates `@storybook/web-components` from 7.4.3 to 7.4.5
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.5/code/renderers/web-components )
Updates `@storybook/web-components-vite` from 7.4.3 to 7.4.5
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.5/code/frameworks/web-components-vite )
Updates `storybook` from 7.4.3 to 7.4.5
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.5/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/addon-links"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/web-components"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/web-components-vite"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:18:05 +02:00
dependabot[bot]
bcf7545cad
core: bump psycopg from 3.1.10 to 3.1.11 ( #6964 )
...
Bumps [psycopg](https://github.com/psycopg/psycopg ) from 3.1.10 to 3.1.11.
- [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst )
- [Commits](https://github.com/psycopg/psycopg/compare/3.1.10...3.1.11 )
---
updated-dependencies:
- dependency-name: psycopg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:17:45 +02:00
dependabot[bot]
bf149a1102
web: bump rollup from 3.29.2 to 3.29.3 in /web ( #6970 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.29.2 to 3.29.3.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v3.29.2...v3.29.3 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:17:23 +02:00
dependabot[bot]
3dfb10ae23
core: bump ruff from 0.0.290 to 0.0.291 ( #6965 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.290 to 0.0.291.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:17:02 +02:00
dependabot[bot]
1853ce1591
core: bump django-silk from 5.0.3 to 5.0.4 ( #6967 )
...
Bumps [django-silk](https://github.com/jazzband/django-silk ) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/jazzband/django-silk/releases )
- [Changelog](https://github.com/jazzband/django-silk/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/django-silk/compare/5.0.3...5.0.4 )
---
updated-dependencies:
- dependency-name: django-silk
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:16:39 +02:00
dependabot[bot]
b88b469f94
core: bump drf-spectacular from 0.26.4 to 0.26.5 ( #6966 )
...
Bumps [drf-spectacular](https://github.com/tfranzel/drf-spectacular ) from 0.26.4 to 0.26.5.
- [Release notes](https://github.com/tfranzel/drf-spectacular/releases )
- [Changelog](https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/tfranzel/drf-spectacular/compare/0.26.4...0.26.5 )
---
updated-dependencies:
- dependency-name: drf-spectacular
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:16:11 +02:00
transifex-integration[bot]
1a50e9f8d0
translate: Updates for file locale/en/LC_MESSAGES/django.po in fr on branch main ( #6960 )
...
Translate locale/en/LC_MESSAGES/django.po in fr
100% translated source file: 'locale/en/LC_MESSAGES/django.po'
on 'fr'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-09-23 12:42:44 +00:00
Ken Sternberg
66ae52bf8e
Merge branch 'main' into web/wdio-2
...
* main:
website/integrations: fix typo
2023-09-22 13:05:35 -07:00
Ken Sternberg
918463906b
web/test: changed the name of one test to reflect it's 'good' status
2023-09-22 13:04:46 -07:00
Ken Sternberg
d8d9890a41
web/adding tests: added comments and cleaned up some administrative features.
2023-09-22 13:02:24 -07:00
Ken Sternberg
4c6f84e522
web/add webdriverIO testing layer
...
This commit adds WebdriverIO as an end-to-end solution to unit testing. WebdriverIO can be run both
locally and remotely, supports strong integration with web components, and is generally robust for
use in pipelines. I'll confess to working through a tutorial on how to do this for web components,
and this is just chapter 2 (I think there are 5 or so chapters...).
There's a makefile, with help! If you just run `make` it tells you:
```
Specify a command. The choices are:
help Show this help
node_modules Runs `npm install` to prepare this feature
precommit Run the precommit: spell check all comments, eslint with sonarJS, prettier-write
test-good-login Test that we can log into the server. Requires a running instance of the server.
test-bad-login Test that bad usernames and passwords create appropriate error messages
```
... because Makefiles are documentation, and documentation belongs in Makefiles.
I've chosen to go with a PageObject-oriented low-level DSL; what that means is that for each major
components (a page, a form, a wizard), there's a class that provides human-readable names for
human-interactable and human-viewable objects on the page. The LoginPage object, for example, has
selectors for the username, password, submit button, and the failure alert; accessing those allows
us to test for items as expected., and to write a DSL for "a good login" that's as straightforward
as:
```
await LoginPage.open();
await LoginPage.login("ken@goauthentik.io", "eat10bugs");
await expect(UserLibraryPage.pageHeader).toHaveText("My applications");
```
There was a *lot* of messing around with the LoginPage to get the username and password into the
system. For example, I had to do this with all the `waitForClickable` and `waitForEnable` because
we both keep the buttons inaccessible until the form has something and we "black out" the page (put
a darkening filter over it) while accessing the flow, meaning there was a race condition such that
the test would attempt to interact with the username or password field before it was accessible.
But this works now, which is very nice.
``` JavaScript
get inputUsername() {
return $('>>>input[name="uidField"]');
}
get btnSubmit() {
return $('>>>button[type="submit"]');
}
async username(username: string) {
await this.inputUsername.waitForClickable();
await this.inputUsername.setValue(username);
await this.btnSubmit.waitForEnabled();
await this.btnSubmit.click();
}
```
The bells & whistles of *Prettier*, *Eslint*, and *Codespell* have also been enabled. I do like my
guardrails.
2023-09-22 11:12:52 -07:00
Marc 'risson' Schmitt
db2c0667a9
website/integrations: fix typo
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2023-09-22 19:10:15 +02:00
Ken Sternberg
671b7156ed
web: improve testability ( #6952 )
...
web/improve testability
This is a trio of small hacks that allow the E2E tests to find several components
on the page while the test is running:
- Add a `data-managed-for` field to SearchSelect's positioned elements. If a search
has a `name` field, it will be reflected here, allowing tests to find specific
instances of the dropdown elements.
- Add a forwarder to the search select wrappers we use for our SearchSelect.
- Added aria details to the UserLibrary header to make it easy to identify.
2023-09-22 09:04:30 -07:00
dependabot[bot]
355c5f0f74
core: bump cryptography from 41.0.3 to 41.0.4 ( #6951 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 16:24:42 +02:00
Jens L
cfb392196b
root: don't exclude enterprise from container image ( #6956 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-22 16:22:16 +02:00
dependabot[bot]
7c3194e9b5
core: bump twilio from 8.8.0 to 8.9.0 ( #6953 )
...
Bumps [twilio](https://github.com/twilio/twilio-python ) from 8.8.0 to 8.9.0.
- [Release notes](https://github.com/twilio/twilio-python/releases )
- [Changelog](https://github.com/twilio/twilio-python/blob/main/CHANGES.md )
- [Commits](https://github.com/twilio/twilio-python/compare/8.8.0...8.9.0 )
---
updated-dependencies:
- dependency-name: twilio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 11:02:01 +02:00
Ken Sternberg
a25df9aadc
web: updating with forms and fixes for eslint complaints.
2023-09-21 14:51:14 -07:00
Ken Sternberg
0a43ea286e
web: revise tests for wizard
...
This commit replaces the previous WDIO instance with a more formal and straightforward process using
the [pageobjects](https://martinfowler.com/bliki/PageObject.html ). In this form, every major
component has its own test suite, and a test is a sequence of exercises of those components.
A test then becomes something as straightforward as:
```
await LoginPage.open();
await LoginPage.login("ken@goauthentik.io", "eat10bugs");
expect(await UserLibraryPage.pageHeader).toHaveText("My Applications");
await UserLibraryPage.goToAdmin();
expect(await AdminOverviewPage.pageHeader).toHaveText("Welcome, ");
await AdminOverviewPage.openApplicationsListPage();
expect(await ApplicationsListPage.pageHeader).toHaveText("Applications");
ApplicationsListPage.startCreateApplicationWizard();
await ApplicationWizard.app.name.setValue(`Test application ${newId}`);
await ApplicationWizard.nextButton.click();
await (await ApplicationWizard.getProviderType("ldapprovider")).click();
await ApplicationWizard.nextButton.click();
await ApplicationWizard.ldap.setBindFlow("default-authentication-flow");
await ApplicationWizard.nextButton.click();
await expect(await ApplicationWizard.commitMessage).toHaveText(
"Your application has been saved"
);
```
Whether or not there's another layer of DSL in there or not, this is a pretty nice idiom for
maintaining tests.
2023-09-21 14:46:09 -07:00
boesr
a32755b6c8
root: Add setting to adjust database config for pgpool ( #6949 )
2023-09-21 12:54:18 +02:00
dependabot[bot]
9ab3f26082
website: bump the docusaurus group in /website with 3 updates ( #6943 )
...
Bumps the docusaurus group in /website with 3 updates: [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects ), [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) and [@docusaurus/theme-mermaid](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-mermaid ).
Updates `@docusaurus/plugin-client-redirects` from 2.4.1 to 2.4.3
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.4.3/packages/docusaurus-plugin-client-redirects )
Updates `@docusaurus/preset-classic` from 2.4.1 to 2.4.3
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.4.3/packages/docusaurus-preset-classic )
Updates `@docusaurus/theme-mermaid` from 2.4.1 to 2.4.3
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.4.3/packages/docusaurus-theme-mermaid )
---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-client-redirects"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docusaurus
- dependency-name: "@docusaurus/preset-classic"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docusaurus
- dependency-name: "@docusaurus/theme-mermaid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docusaurus
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 11:50:46 +02:00
dependabot[bot]
37bd01998a
web: bump the sentry group in /web with 2 updates ( #6944 )
...
Bumps the sentry group in /web with 2 updates: [@sentry/browser](https://github.com/getsentry/sentry-javascript ) and [@sentry/tracing](https://github.com/getsentry/sentry-javascript ).
Updates `@sentry/browser` from 7.69.0 to 7.70.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.69.0...7.70.0 )
Updates `@sentry/tracing` from 7.69.0 to 7.70.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.69.0...7.70.0 )
---
updated-dependencies:
- dependency-name: "@sentry/browser"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: sentry
- dependency-name: "@sentry/tracing"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: sentry
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 11:50:03 +02:00
dependabot[bot]
0e0661b395
web: bump the eslint group in /web with 1 update ( #6946 )
...
Bumps the eslint group in /web with 1 update: [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook ).
- [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.13...v0.6.14 )
---
updated-dependencies:
- dependency-name: eslint-plugin-storybook
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 11:49:29 +02:00
dependabot[bot]
5f3bacb7a9
web: bump the storybook group in /web with 6 updates ( #6945 )
...
Bumps the storybook group in /web with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | `7.4.2` | `7.4.3` |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links ) | `7.4.2` | `7.4.3` |
| [@storybook/web-components](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/web-components ) | `7.4.2` | `7.4.3` |
| [@storybook/web-components-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/web-components-vite ) | `7.4.2` | `7.4.3` |
| [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook ) | `0.6.13` | `0.6.14` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) | `7.4.2` | `7.4.3` |
Updates `@storybook/addon-essentials` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.3/code/addons/essentials )
Updates `@storybook/addon-links` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.3/code/addons/links )
Updates `@storybook/web-components` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.3/code/renderers/web-components )
Updates `@storybook/web-components-vite` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.3/code/frameworks/web-components-vite )
Updates `eslint-plugin-storybook` from 0.6.13 to 0.6.14
- [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.13...v0.6.14 )
Updates `storybook` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.3/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/addon-links"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/web-components"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/web-components-vite"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: eslint-plugin-storybook
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 11:49:11 +02:00
dependabot[bot]
475ef8b057
web: bump @types/grecaptcha from 3.0.4 to 3.0.5 in /web ( #6947 )
...
Bumps [@types/grecaptcha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/grecaptcha ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/grecaptcha )
---
updated-dependencies:
- dependency-name: "@types/grecaptcha"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 11:48:51 +02:00
dependabot[bot]
16db9f220a
core: bump urllib3 from 2.0.4 to 2.0.5 ( #6948 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.4...v2.0.5 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 11:48:36 +02:00
dependabot[bot]
0370040473
core: bump node from 20.5 to 20.6 ( #6784 )
...
* core: bump node from 20.5 to 20.6
Bumps node from 20.5 to 20.6.
---
updated-dependencies:
- dependency-name: node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* unlock everywhere
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-09-20 12:28:47 +02:00
dependabot[bot]
9a35e893ec
web: bump pyright from 1.1.327 to 1.1.328 in /web ( #6940 )
...
Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright ) from 1.1.327 to 1.1.328.
- [Release notes](https://github.com/Microsoft/pyright/releases )
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.328/packages/pyright )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 11:09:54 +02:00