diff --git a/webui/e2e/fixtures/auth.ts b/webui/e2e/fixtures/auth.ts index ba14fbe0..49ef782c 100644 --- a/webui/e2e/fixtures/auth.ts +++ b/webui/e2e/fixtures/auth.ts @@ -25,7 +25,7 @@ export async function loginThroughUI( ): Promise { await page.goto('/#/login'); await page.getByLabel('Username').fill(credentials.username); - await page.getByLabel('Password').fill(credentials.password); + await page.getByLabel('Password', { exact: true }).fill(credentials.password); const responsePromise = page.waitForResponse( (response) => response.url().endsWith('/api/v1/auth/login') && @@ -60,7 +60,7 @@ export async function completeFirstRunSetup( await page.getByLabel('Host').fill(environment.downloaderURL); await page.getByLabel('Username').fill(environment.downloaderUsername); - await page.getByLabel('Password').fill(environment.downloaderPassword); + await page.getByLabel('Password', { exact: true }).fill(environment.downloaderPassword); await page.getByLabel('Download Path').fill('/downloads/Bangumi'); await page.getByRole('button', { name: 'Next' }).click(); diff --git a/webui/src/components/ab-setting.vue b/webui/src/components/ab-setting.vue index 3a9324bf..c13b5eb5 100644 --- a/webui/src/components/ab-setting.vue +++ b/webui/src/components/ab-setting.vue @@ -37,7 +37,10 @@ const selectValue = computed({