embedded drivers: keyboard behaviours with no E2E, or E2E in one driver only
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust, typescript
- Ambito
- testing
Direzione di ricerca
Pick one checklist item and start from its named spec: dioxus/special-keys.embedded.spec.ts for the newline and Send Keys cases, dioxus/element-events.embedded.spec.ts for the Enter and Space cases, and test/scripts/key-tables.spec.ts for the shared key tables. For the Rust modifier arms, read Modifiers::from_keys in server/handlers/actions.rs and extend events_carry_held_modifier_flags. Done means each chosen case passes in the driver it names, with the existing jsdom tests left green.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
From a review of the keyboard PRs (#828, #897, #898, #910, #919, #920, #922, #924). The two embedded drivers share their key scripts, and test/scripts/key-tables.spec.ts keeps the tables in step, so the remaining risk is in each webview and in each driver's own Rust handlers. These behaviours have no E2E, or E2E in one driver only.
What
- Opting out of a button's Enter or Space (#910): Tauri tests a cancelled Space
keyup(should not click a button on Space when a keyup handler cancels it); Dioxus doesn't. Neither cancels thekeydownon a button, and a reset button is tested only in jsdom. In both drivers: cancelkeydownon a submit button, press Enter and Space, and expect only the four key events. Press Enter on a reset button with aresetlistener. Port Tauri's Spacekeyuptest todioxus/element-events.embedded.spec.ts. - A newline commits an input's
change(#828, #897): no test checks this. In both special-keys specs,addValue('x\n')on a field that logs events expectsinput xthenchange x, andbrowser.keys(['y', '\n'])then addsinput xyandchange xy. - Dioxus Send Keys with a newline, carriage return or backspace (#922): only key actions are tested (
dioxus/special-keys.embedded.spec.ts). Add asetValuecase to a textarea:'ab\b\r\nc'expectsa\nc, and'a\rb'expectsab. - Dioxus Send Keys to elements that aren't text fields (#922): only a checkbox is tested. Add a
<select>and a<button value="v">:addValue('x')leaves their values alone and fires noinputorchange. - Meta+A (#920): E2E tests only Control+A. Loop the select-all tests over
Key.ControlandKey.Metain both drivers. In Dioxus, key actions get their modifiers fromModifiers::from_keys(server/handlers/actions.rs), whose Alt and Meta arms no Rust test covers: extendevents_carry_held_modifier_flagsto\u{E00A},\u{E052},\u{E03D}and\u{E053}. - Dioxus key actions on read-only and disabled fields: only Send Keys is tested. Port Tauri's key-action cases.
- Space and numpad keys typing in key actions (#920): add
Key.SpaceandKey.Numpad1to Dioxus's typing test. - Tab order rules (#924): skipping disabled and hidden elements, a radio group as one stop, and modal dialogs are tested only in jsdom, which approximates
getComputedStyleand:modal. One E2E per driver: from a field, Tab skips adisplay:noneinput and a disabled input and lands on a group's checked radio, and Shift+Tab comes back. The known differences from Chrome are in #929. - Smaller: a form in a shadow root submitting on Enter is tested in Dioxus E2E only. Enter from a checkbox or date input clicking the first enabled submit button is jsdom only.
From the v10 coverage review in #297.
- Lingua principale
- TypeScript
- Stelle
- 22
- Fork
- 11
- Merge medio
- 1g 7h
- PR unite (30g)
- 123
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 webdriverio/desktop-mobile
-
Tauri embedded driver: a Find Element that finds nothing leaves its reference in the session's storeApertapriority:low scope:tauri type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
webdriverio/desktop-mobile#1138 ·
I maintainer di solito rispondono entro 1 giorno
-
tauri: decide the default driverProvider in one placeForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertapriority:low scope:tauri type:enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
webdriverio/desktop-mobile#1076 ·
I maintainer di solito rispondono entro 1 giorno
-
electrobun (Linux): WebKitWebDriver returns a shadow root in a script result as an element referenceApertaos:linux scope:electrobun status:blocked type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
webdriverio/desktop-mobile#1052 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Tauri execute(): core.invoke drops InvokeOptions for unmocked commandsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertascope:tauri type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
webdriverio/desktop-mobile#1026 ·
I maintainer di solito rispondono entro 1 giorno
-
ci: cargo-binstall installs the Intel dx on macOS-ARM after resolution timeoutsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaarea:ci priority:medium scope:dioxus type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
webdriverio/desktop-mobile#1020 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di webdriverio/desktop-mobile
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
rel: fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Deltares/fews-web-oc#2400 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ardia-browser/ardia#4426 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug report: isValidISODateDashOnly accepts text before or after the date-timeForse già presa @bardrop l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
pnp/cli-microsoft365#7713 ·
I maintainer di solito rispondono entro 1 giorno
-
Diagram: Journey Type: Bug / Error
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
mermaid-js/mermaid-v13#1293 ·
I maintainer di solito rispondono entro 1 giorno