Skip to content

Commit

Permalink
d01victor4
Browse files Browse the repository at this point in the history
  • Loading branch information
Víctor Escalera García committed Apr 8, 2024
1 parent 0bfa61a commit d289fa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/youtube-trends.spec.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test('cargar datos iniciales', async ({ page }) => {

//---------------Verifica la funcionalidad de búsqueda---------------
test('funcionalidad de búsqueda', async ({ page }) => {
await page.goto('http:/sos2324-14.appspot.com/youtube-trends');
await page.goto('http:/localhost:10002/youtube-trends');

// Ingresa un término de búsqueda y espera que la lista se actualice
await page.fill('input[type="text"]', 'Prueba');
Expand All @@ -40,7 +40,7 @@ test('funcionalidad de búsqueda', async ({ page }) => {

//---------------Verifica la funcionalidad de paginación---------------
test('funcionalidad de paginación', async ({ page }) => {
await page.goto('http:/sos2324-14.appspot.com/youtube-trends');
await page.goto('http:/localhost:10002/youtube-trends');

// Espera que los botones de paginación estén presentes
await page.waitForSelector('button');
Expand All @@ -60,7 +60,7 @@ test('funcionalidad de paginación', async ({ page }) => {

//---------------Verifica la funcionalidad del botón "Borrar todo"---------------
test('funcionalidad "Borrar todo"', async ({ page }) => {
await page.goto('http:/sos2324-14.appspot.com/youtube-trends');
await page.goto('http:/localhost:10002/youtube-trends');

// Haz clic en el botón "Borrar todo"
await page.click('button:text("Borrar todo")');
Expand Down

0 comments on commit d289fa7

Please sign in to comment.