Files
OneCAD/crates/ui-egui/tests/scenarios/s50_toolbar_panel_drops.json
T

22 lines
1.3 KiB
JSON

[
{"note":"#333: dropping a dropdown command on a panel label appends it; moving between labels keeps the chosen order after restart."},
{"click":{"handle":"panel:SOLID:CREATE"}},
{"drag":[{"handle":"dropdown:solid.cylinder"},{"handle":"panel:SOLID:CREATE"}],"steps":12},
{"key":"Escape"},
{"expect":{"handle_order":["button:solid.sweep","button:solid.cylinder"],"dialog":null,"tool":null,"errors":0}},
{"click":{"handle":"panel:SOLID:CREATE"}},
{"drag":[{"handle":"dropdown:solid.torus"},{"handle":"panel:SOLID:MODIFY"}],"steps":12},
{"key":"Escape"},
{"expect":{"handle_order":["button:solid.scale","button:solid.torus"],"dialog":null,"tool":null,"errors":0}},
{"drag":[{"handle":"button:solid.torus"},{"handle":"panel:SOLID:CREATE"}],"steps":12},
{"expect":{"handle_order":["button:solid.cylinder","button:solid.torus"]}},
{"restart":"close"},
{"expect":{"handle_order":["button:solid.sweep","button:solid.cylinder","button:solid.torus"],"errors":0}},
{"call":"ui.resize","params":{"width":640,"height":720}},
{"click":{"handle":"panel:SOLID:CREATE"}},
{"drag":[{"handle":"dropdown:solid.box"},{"handle":"panel:SOLID:CREATE"}],"steps":12},
{"key":"Escape"},
{"call":"ui.resize","params":{"width":1600,"height":1000}},
{"expect":{"handle_order":["button:solid.torus","button:solid.box"],"tool":null,"dialog":null,"errors":0}}
]