File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 repath-studio
2626 ] ;
2727
28- # electron application, give more memory
28+ # electron application, give more memory and cpu
2929 virtualisation . memorySize = 4096 ;
30+ virtualisation . cores = 4 ;
31+ virtualisation . qemu . options = [
32+ # Force qemu at 1020x768 resolution for the Save button click
33+ "-vga none -device virtio-gpu-pci,xres=1020,yres=768"
34+ ] ;
3035 } ;
3136 } ;
3237
5257 machine.sleep(2)
5358 machine.send_key("ctrl-shift-s")
5459 machine.sleep(2)
55- machine.send_chars("/tmp/saved.rps\n")
60+ machine.send_chars("/tmp/saved.rps")
61+ machine.sleep(2)
62+ machine.succeed("su - alice -c 'DISPLAY=:0 xdotool mousemove --sync 975 745 click 1'") # Save file dialog
5663 machine.sleep(2)
5764 print(machine.succeed("cat /tmp/saved.rps"))
5865 assert "${ pkgs . repath-studio . version } " in machine.succeed("cat /tmp/saved.rps")
You can’t perform that action at this time.
0 commit comments