ISISComputingGroup / ISISComputingGroup/IBEX
Squish Tests: Reset layout
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 6
- Fork
- 2
- Merge medio
- 16h 40m
- PR unite (30g)
- 2
Descrizione
As a developer I would like to verify the following behaviour using Squish:
- Modify the layout.
- Press the `Reset Layout` button.
- Verify that the layout is reset to the default position.
#### Additional info:
Take care to make the test consistent. A useful function to use would be `dragItemBy`, https://doc.qt.io/squish/java-convenience-api.html#java-dragitemby-function. Note that we should try *not* to depend on pixel-offsets in the test if possible, as this will make the test more brittle with respect to resolution changes/SWT updates for example.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia individuando i test Squish esistenti per il layout e il pulsante `Reset Layout`. Usa `dragItemBy` per modificare il layout, quindi verifica che la pressione di `Reset Layout` ripristini la posizione predefinita senza basarsi su offset in pixel; il test è completato quando questo comportamento rimane coerente al variare della risoluzione o di SWT.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- desktop, testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100