Closed karangattu closed 3 months ago
Fixes #1450
We wanted to make sure the test templates can be run by the user instead of an error. So we want to users to import controller as shown below
controller
from shiny.playwright import controller def test_app(page, local_app): # Set up controllers here btn = controller.InputButton(page, "btn")` ....
This is a change from the current implementation
from shiny.playwright.controls import InputButton def test_app(page, local_app): # Set up controllers here btn = InputButton(page, "btn")` ....
This change modifies all playwright tests in line with this API change
A: It was not in v0.10.
If it was not exposed in v0.10:
Both:
@karangattu Ready to merge when you are
Fixes #1450
We wanted to make sure the test templates can be run by the user instead of an error. So we want to users to import
controller
as shown belowThis is a change from the current implementation
This change modifies all playwright tests in line with this API change