This tests that the create and edit buttons are correctly enabled and disabled depending on what is selected. It also tries creating a script with the default example macro, executes it and checks the result. Finally it also checks the fix for tdf#171671 which is about having a filename with spaces in it. Sadly it’s a bit difficult to test the edit button because that will end up launching an external application. Change-Id: I83a1be2379e03842478e977f3738fb40258de2eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203308 Tested-by: Jenkins Reviewed-by: Neil Roberts <nroberts@libreoffice.org>