Robot Framework Selenium - Cannot reliably click/scroll in Flutter web canvas elements
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- flutter, python
- Ambito
- testing-qa, web-dev
Direzione di ricerca
Non viene indicato alcun file del repository, test o punto di ingresso; inizia riproducendo lo scenario di login, focus e scorrimento nell’applicazione web Flutter descritta nell’issue. Un risultato utile sarebbe un workaround confermato e specifico del progetto oppure un bug riproducibile con ambito chiaramente definito, ma l’issue non definisce alcuna modifica al repository né alcun test per il completamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm internship QA testing and completely new to testing right now. I'm on Flutter web application with Robot Framework and Selenium Library. My task is to perform end-to-end (E2E) testing on a Flutter web app that heavily uses canvas structure. The test cases involve basic interactions such as clicking, pointing, focusing, and scrolling to elements. Initially, my team suggested using aria-label attributes as keys for identifying elements, which worked well for basic actions.
However, I've encountered several issues when trying a test scenario involving:
Logging in
Selecting a menu item
Editing profile data
Scrolling within a card
Returning to the homepage
The problem starts from the login step, where using standard Selenium actions (Click Element and Input Text) results in errors saying the elements are intercepted or hidden by Flutter. To bypass this, I used the Press Keys function to simulate typing and pressing the Enter key, which allowed me to log in.
After logging in, I was able to interact with menu elements using key presses, but the next major issue arose with scrolling. The website has a scrollable card component, and none of the methods I've tried (Scroll Element Into View, document.scrollIntoView(), or window.scroll) seem to fully scroll the element into view. They only scroll partially or don't scroll at all, leaving elements out of view.
Could someone experienced in Robot Framework and Selenium testing with Flutter web apps provide guidance or recommend workarounds to handle interactions reliably, especially control scrolling and focus Element within Flutter canvas structures?
of course, I'm trying asking ChatGPT ,Sonnet and OTHER AI b4 posting
Some error picture
- 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 ·