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

Aberta
#585 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
57/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

#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.

Linguagem predominante
TypeScript
Estrelas
10
Forks
4
Merge médio
1d 11h
PRs com merge (30d)
76

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de webdriverio/devtools

Todas as issues de webdriverio/devtools

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.