Wait For Condition and Title Should Be seem to be out of sync
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- testing-qa, web-dev
Direzione di ricerca
Inizia riproducendo i tre test consecutivi con Headless Chrome e confronta l’attesa della condizione con l’asserzione del titolo. Traccia come l’asserzione del titolo esistente legge il titolo del browser e come sono implementate le attese. Il lavoro è completo quando i controlli del titolo usano uno stato coerente del browser e il fallimento intermittente è coperto da un test di regressione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
For issues
Steps to reproduce the issue
I noticed when running headlesschrome I get a failure versus using chrome which passes. I think the Javascript changes before the self.driver.title does on headlesschrome
I have the following code
Wait For Condition return document.title === 'Title of Website'
Title Should Be Title of Website
I have this code running in three back to back tests, the first one is the one that fails the most; but it isn't guaranteed. This concerns me that it might not be easily reproducible.
For a solution; I think implementing a Wait Unit Title Is keyword would be best to implement so it is using the self.driver.title property to match Title Should Be.
Error messages and additional information
Title should have been 'Title of Website' but was 'Sign In Page'.
Browser: Headlesschrome
Browser driver: Chrome
Operating System: Windows 10
Libraries
- Robot Framework: Version 4.0.1
- SeleniumLibrary: Version 5.1.3
- Lingua principale
- Python
- Stelle
- 1.5k
- Fork
- 787
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri 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 robotframework/SeleniumLibrary
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
robotframework/SeleniumLibrary#1941 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
robotframework/SeleniumLibrary#1833 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
robotframework/SeleniumLibrary#1436 · 5 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
robotframework/SeleniumLibrary#1993 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
robotframework/SeleniumLibrary#1992 · 4 commenti ·
Tutte le issue di robotframework/SeleniumLibrary
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·