Add a real Chrome trace with snapshot tests
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
- 53/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github, node.js, typescript
Direção de pesquisa
Start by reading the existing synthetic test fixtures and tests for overview, insights, tasks, network, shifts, interactions and report; the issue does not name their files. Record a small Chrome trace with a page load and interaction, save it as .json.gz, and add node:test snapshots for each output. Done means the fixture contains no private data and snapshot changes are visible when the trace engine output changes.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Child of #9.
All test fixtures are synthetic. Dependabot updates @paulirish/trace_engine every day, so CI can pass when the engine output changes in a way the synthetic fixtures do not cover.
Proposal
- Add a small real trace recorded in Chrome, with a page load and an interaction, as
.json.gz. It must not contain private URLs or data. - Add snapshot tests with the
node:testsnapshot support (t.assert.snapshot) foroverview,insights,tasks,network,shifts,interactionsandreport. - When a Dependabot update changes the output, the snapshot diff shows the change, and the PR updates the snapshots on purpose.
Open questions
- What is the size limit for a fixture in the repo? A load of a small test page should be under 1 MB compressed.
- Which page do we record? A static page in the repo would let anyone record the trace again.
- Linguagem predominante
- TypeScript
- Estrelas
- 15
- Forks
- 4
- Merge médio
- 1d 17h
- PRs com merge (30d)
- 22
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ChromeDevTools/trace-engine-cli
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
ChromeDevTools/trace-engine-cli#27 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
ChromeDevTools/trace-engine-cli#10 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
ChromeDevTools/trace-engine-cli#9 · 5 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ChromeDevTools/trace-engine-cli
Issues semelhantes
-
bug engine
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
frostney/GocciaScript#2539 ·
Mantenedores costumam responder em até 1 dia
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-clientTalvez já em andamento @NEAL3K assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
milind-soni/OpenMausBot#8345 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
ardia-browser/ardia#6142 ·
Mantenedores costumam responder em até 1 dia
-
feature
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridAbertabug from-app needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
nightly-labs/openbot#21303 ·
Mantenedores costumam responder em até 1 dia