Merge branch 'next' into version-2021.3
This commit is contained in:
commit
9e71287c25
|
@ -93,7 +93,10 @@ class TestFlowsEnroll(SeleniumTestCase):
|
|||
|
||||
self.initial_stages()
|
||||
|
||||
self.wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, "ak-sidebar")))
|
||||
interface_admin = self.get_shadow_root("ak-interface-admin")
|
||||
wait = WebDriverWait(interface_admin, self.wait_timeout)
|
||||
|
||||
wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, "ak-sidebar")))
|
||||
self.driver.get(self.shell_url("authentik_core:user-settings"))
|
||||
|
||||
user = User.objects.get(username="foo")
|
||||
|
@ -188,7 +191,11 @@ class TestFlowsEnroll(SeleniumTestCase):
|
|||
self.driver.switch_to.window(self.driver.window_handles[0])
|
||||
|
||||
# We're now logged in
|
||||
self.wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, "ak-sidebar")))
|
||||
wait = WebDriverWait(
|
||||
self.get_shadow_root("ak-interface-admin"), self.wait_timeout
|
||||
)
|
||||
|
||||
wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, "ak-sidebar")))
|
||||
self.driver.get(self.shell_url("authentik_core:user-settings"))
|
||||
|
||||
self.assert_user(User.objects.get(username="foo"))
|
||||
|
|
|
@ -15,9 +15,10 @@ const resources = [
|
|||
{ src: "./icons/*", dest: "dist/assets/icons" },
|
||||
];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
function manualChunks(id) {
|
||||
if (id.includes('node_modules')) {
|
||||
return 'vendor';
|
||||
if (id.includes("node_modules")) {
|
||||
return "vendor";
|
||||
}
|
||||
if (id.includes("src/api/")) {
|
||||
return "api";
|
||||
|
|
Reference in a new issue