Reuse the previous test's end frame in Nightwatch and Selenium

Abierto
#585 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
57/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
testing

Línea de trabajo

Start by reading the WDIO change in issue #583, then inspect SessionCapturer#queueActionSnapshot and commandPostActions.ts in the Nightwatch and Selenium adapters. Check whether each adapter’s first capture repeats the prior test’s end frame, accounting for captures running after commands. If it does, apply the reuse behavior and verify the first capture is skipped only when the frame is reusable.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

#583 lets the WDIO service skip a test's first capture when only lookups and reads ran since the previous test's end-of-test capture: it reuses that frame. On cloud iOS that probe is a duplicate page-source read of about 0.6 to 0.8 s per test.

Nightwatch (SessionCapturer#queueActionSnapshot) and Selenium (commandPostActions.ts queueActionSnapshot) still always capture a test's first mapped command. Their capture runs after the command rather than before it, so the reuse rule can't be copied as is. Find out whether the first capture of a test still repeats the previous end frame in those adapters, and if it does, apply the same reuse there.

Lenguaje dominante
TypeScript
Estrellas
10
Forks
4
Merge medio
1 d 11 h
PR fusionados (30 d)
76

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de webdriverio/devtools

Todos los issues de webdriverio/devtools

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.