| 
| System UI tests for Sprotty [message #1863404] | Wed, 31 January 2024 12:57  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 I was wondering what is the best way to write system UI tests for Sprotty. I have looked into using Playwright, and tried to write a simple test for the hello-world Sprotty example project. However, when trying to drag one of the nodes with Playwright by getting one of the nodes by id, it failed.
 
 Looking at the html of the hello world Sprotty example it seems there is just  a single div with id sprotty-diagram. I was able to get this object but seemed unable to access anything within the diagram.
 
 This very much could just be a problem of me not knowing how to use Playwright correctly, so I guess my question is just should one be able to use Playwright for UI tests for Sprotty diagrams, and if not, is there a different UI test framework I could use?
 
 Thank you,
 
 Louis
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.03964 seconds