Add basic tests for new web module

This commit is contained in:
Dion Moult
2024-08-03 23:12:21 +10:00
parent 2196c16097
commit 78173dd546
2 changed files with 21 additions and 0 deletions
+1
View File
@@ -34,4 +34,5 @@ markers =
type
unit
void
web
addopts = --color=yes --code-highlight=yes
@@ -0,0 +1,20 @@
@web
Feature: Web
Web interface to complement Blender UI
Scenario: Start server
Given an empty Blender session
When I press "bim.connect_websocket_server"
Then nothing happens
Scenario: Kill server
Given an empty Blender session
And I press "bim.connect_websocket_server"
When I press "bim.kill_websocket_server"
Then nothing happens
Scenario: Open web browser
Given an empty Blender session
And I press "bim.connect_websocket_server"
When I press "bim.open_web_browser"
Then nothing happens