diff --git a/e2e/search/opening-search-box.spec.ts b/e2e/search/opening-search-box.spec.ts index ab31bb4..ea9a756 100644 --- a/e2e/search/opening-search-box.spec.ts +++ b/e2e/search/opening-search-box.spec.ts @@ -8,7 +8,7 @@ test.describe('Opening search book', () => { await page.getByPlaceholder('Búsqueda rápida...').click() await page.waitForSelector('[role=dialog]') // Assert - await expect(page.getByPlaceholder('Buscar actividad')).toBeVisible() + await expect(page.getByPlaceholder('Buscar libro')).toBeVisible() await expect(page).toHaveURL('/search') }) @@ -19,7 +19,7 @@ test.describe('Opening search book', () => { await page.keyboard.press('Control+k') await page.waitForSelector('[role=dialog]') // Assert - await expect(page.getByPlaceholder('Buscar actividad')).toBeVisible() + await expect(page.getByPlaceholder('Buscar libro')).toBeVisible() await expect(page).toHaveURL('/search') }) }) diff --git a/e2e/search/searching-books.spec.ts b/e2e/search/searching-books.spec.ts index b14b46c..50a4447 100644 --- a/e2e/search/searching-books.spec.ts +++ b/e2e/search/searching-books.spec.ts @@ -27,8 +27,8 @@ test.describe('Searching books', () => { await page.goto('/') await page.getByPlaceholder('Búsqueda rápida...').click() // Act - await page.getByPlaceholder('Buscar actividad').click() - await page.getByPlaceholder('Buscar actividad').pressSequentially('example') + await page.getByPlaceholder('Buscar libro').click() + await page.getByPlaceholder('Buscar libro').pressSequentially('example') // Assert await expect(page.getByLabel('Found books').first()).toBeVisible() await expect(page).toHaveURL('/search?query=example') diff --git a/src/app/@modal/(.)search/components/search-modal.tsx b/src/app/@modal/(.)search/components/search-modal.tsx index e54a74f..728ba18 100644 --- a/src/app/@modal/(.)search/components/search-modal.tsx +++ b/src/app/@modal/(.)search/components/search-modal.tsx @@ -76,7 +76,7 @@ export function SearchModal() { defaultValue={query} endContent={} onValueChange={handleSearch} - placeholder="Buscar actividad" + placeholder="Buscar libro" startContent={} /> Loading...}>