robotframework / robotframework/SeleniumLibrary
Fix and cleanup logic related to frames
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 1.5k
- Forks
- 787
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
There are currently several problems with handling frames that should be resolved. Some of these problems are already covered by existing issues, but this new issue list all these highly related problems in one place. The whole frame handling logic should be rewritten and all these problems resolved at the same time.
Page Should (Not) Containsearches text from frames, but only searches from one level and not from sub frames (#98)- Other keywords don't look inside frames at all. This includes
Page Should (Not) Contain ElementandCurrent Frame Should (Not) Contain. (#98) Page Should (Not) Containinternally selects the main frame, disabling earlierSelect Framecalls.(#201)- We should see could we deprecate all
Current Frame ...keywords. It would be better that after selecting a frame, all subsequent keywords would operate in the frame. This may actually already be the case, except withPage Should (Not) Containwhich looks from the root (see 3. above). - If all keywords operate on the selected frame,
Page Shouldis pretty misleading wording. Should we consider renaming these keywords likePage Should Contain -> Text Should Be Present,Page Should Contain Element -> Element Should Be Present?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die aufgeführten frame-bezogenen Schlüsselwörter nachzuverfolgen und die Issues #98 und #201 zu prüfen, da keine Dateien oder Tests genannt werden. Definiere den Abschluss als konsistentes Verhalten für verschachtelte Frames und ausgewählte Frames über die betroffenen Schlüsselwörter hinweg, und kläre anschließend, ob die Namen der Schlüsselwörter Current Frame und Page Should geändert werden sollten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing-qa
- Issue-Typ
- Refactoring
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100