Integration tests don't check screenshots
I maintainer di solito rispondono entro 5 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start with the integration tests for messages and exceptions and inspect how IntegrationTester handles quitting after capture. Check how app-runner uses sentry-api-client to fetch event attachments, since the issue says it lacks a function for reading them. Done when tests wait for screenshots where applicable and assert that screenshot.jpg is nonempty, skipping batch mode and WebGL.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The integration tests don't check screenshots. They fetch the event the test app printed and check its fields, but not its screenshot.jpg, so a broken or empty screenshot goes unnoticed. This let the Metal readback error fixed in #2917 pass CI: the iOS simulator and macOS runs logged it on every capture.
The screenshots are empty in CI on every platform anyway. The test app calls Application.Quit in the frame it captures in, so the end-of-frame screenshot never gets taken and the SDK sends a 0-byte screenshot.jpg ("Screenshot was not taken in time").
What we could do:
- Let
IntegrationTesterwait for the screenshot before quitting in the message and exception tests. - Assert that the event's
screenshot.jpgisn't empty, skipped where no screenshot is taken (batch mode, WebGL). Reading attachments needs a function inapp-runner'ssentry-api-client, which has none.
- Lingua principale
- C#
- Stelle
- 295
- Fork
- 63
- Merge medio
- 4g 10h
- PR unite (30g)
- 29
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/sentry-unity
-
Drop `Release` and `Environment` from the editor config windowForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. ApertaBreaking Change Editor Good First Issue Improvement Unity
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
getsentry/sentry-unity#2914 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
Make CI stable and fasterAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
getsentry/sentry-unity#2913 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
Unity
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
getsentry/sentry-unity#2873 · 2 commenti ·
I maintainer di solito rispondono entro 5 giorni
-
Feature Unity
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getsentry/sentry-unity#2796 · 4 commenti ·
I maintainer di solito rispondono entro 5 giorni
-
Breaking Change Good First Issue Logs Task Unity
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getsentry/sentry-unity#2659 · 2 commenti ·
I maintainer di solito rispondono entro 5 giorni
Tutte le issue di getsentry/sentry-unity
Issue simili
-
enhancement P3 performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
thomhurst/TUnit#7380 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
documentation trivial
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
PCL-Community/PCL-CE#3767 ·
I maintainer di solito rispondono entro 1 giorno
-
area-blazor NativeAOT Regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
dotnet/aspnetcore#70236 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno