diff --git a/e2e/seed.js b/e2e/seed.js index 9361ceab..ecd32f4a 100644 --- a/e2e/seed.js +++ b/e2e/seed.js @@ -69,9 +69,7 @@ var SETTINGS = { 'models.disabled': '[]', 'stt.model': 'e2e-stt', 'tts.model': 'e2e-tts', - 'tts.voice': 'e2e-voice', - // Registration open, so the auth-screen spec can see the register link. - 'registration_enabled': 'true' + 'tts.voice': 'e2e-voice' }; async function seedSettings() { diff --git a/e2e/tests/auth-screen.spec.js b/e2e/tests/auth-screen.spec.js index dc395082..18b7fa0e 100644 --- a/e2e/tests/auth-screen.spec.js +++ b/e2e/tests/auth-screen.spec.js @@ -41,17 +41,6 @@ test.describe('Unauthenticated auth screen', () => { await expect(page.locator('#btn-local-login')).toBeVisible(); }); - test('the register link follows the registration setting', async ({ page }) => { - // Hidden by default and shown only when registration is enabled, which the - // seed turns on. No invitation field: invitations are the SSO's. - await page.goto(E2E_BASE + '/'); - await page.waitForSelector('#auth-screen', { timeout: 10000 }); - await expect(page.locator('#show-register')).toBeVisible(); - await expect(page.locator('#register-form')).toHaveCount(1); - await page.click('#show-register'); - await expect(page.locator('#reg-invite')).toHaveCount(0); - }); - test('register form DOM is wired correctly if manually unhidden', async ({ page }) => { await page.goto(E2E_BASE + '/'); await page.waitForSelector('#auth-screen', { timeout: 10000 }); diff --git a/public/components/admin.html b/public/components/admin.html index d87360e6..6f55f744 100644 --- a/public/components/admin.html +++ b/public/components/admin.html @@ -22,16 +22,6 @@ -
-

Registration

-
-
- Loading... - -
- -
-