Flaky Playwright: ProductTour Classic walk presses Next past the last step and finishes the tour
I maintainer di solito rispondono entro 1 giorno
@shrabantipaul-collate ci sta già lavorando.
Dal 26/10/2026.
- #36286 di @shrabantipaul-collate — aperta
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 83/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- playwright, typescript
Direzione di ricerca
Apri playwright/e2e/Flow/ProductTour.spec.ts, in particolare il ciclo del tour Classic e goNext intorno alla riga 52. Leggi come il ciclo rileva last-step-button e come il test avanza tra i passaggi del tour. Aggiorna il controllo dell’ultimo passaggio in modo che usi la presenza del pulsante nel rendering, poi esegui il test Playwright denominato Classic ProductTour e conferma che termina senza fare clic su Next dopo l’ultimo passaggio.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Flow/ProductTour.spec.ts › Product tour — Classic › walks the Classic pages on recorded data and returns to Home fails in the merge queue on both attempts, e.g. https://github.com/open-metadata/OpenMetadata/actions/runs/40367741278/job/121741336962 (Postgresql PR Playwright E2E Tests, chromium-07):
Error: expect(received).toBe(expected)
Expected: true
Received: false
- Timeout 30000ms exceeded while waiting on the predicate
at goNext (playwright/e2e/Flow/ProductTour.spec.ts:52:3)
The failure screenshot shows the tour's end modal ("You've successfully completed the tour") on Memories: the test pressed Next one more time on the last step.
Root cause (test)
The loop that walks the tour stops when last-step-button isVisible(). On the last step react-tour renders that button inside its [data-tour-elem="right-arrow"] Next arrow, so one extra goNext clicks Finish, the popover goes away and goNext's poll for the next step times out.
The trace shows why the check misses the last step. Moving from Context Center to Memories is a page change, run inside a view transition. goNext returns as soon as the popover's text changes. The DOM has Memories' text and last-step-button 15 ms later, but the screen still shows step 8 and react-tour has not placed the new popover, so isVisible() returns false (the Next arrow itself only becomes visible ~250 ms later). The loop then calls goNext on the last step.
The product behaves as designed: the user never sees the step before it is placed.
Fix
Decide "last step" from whether last-step-button is rendered (count() > 0), which is set in the same render as the step's text, instead of from its visibility.
- Lingua principale
- TypeScript
- Stelle
- 15.4k
- Fork
- 2.4k
- Merge medio
- 1g 4h
- PR unite (30g)
- 707
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 open-metadata/OpenMetadata
-
AI Context empty state covers the whole app and blocks sidebar navigation when no persona existsApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
open-metadata/OpenMetadata#36240 ·
I maintainer di solito rispondono entro 1 giorno
-
UpdatedOn semantic Playwright tests mix local dates with UTC thresholdsForse già presa @ZhangJin233 l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-metadata/OpenMetadata#36151 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Java SDK glossary term assets GET sends RequestOptions as a request bodyForse già presa @LubabaKhalid l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
open-metadata/OpenMetadata#36150 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
open-metadata/OpenMetadata#36094 ·
I maintainer di solito rispondono entro 1 giorno
-
[Detail Bug] Pipelines: /v1/pipelines/summary bypasses authorization and leaks pipeline summariesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
open-metadata/OpenMetadata#36021 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di open-metadata/OpenMetadata
Issue simili
-
Add: ON Phim Viet SDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Subagent progress token count ignores usage.iterations and swings on multi-iteration responsesApertaarea:agents area:cost bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
anthropics/claude-code#105375 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
galaxyproject/loom#616 ·
I maintainer di solito rispondono entro 1 giorno
-
e2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno