### Start Lamdera Development Server for Visual Testing Source: https://github.com/tibastral/program-test-boilerplate/blob/main/README.md This command initiates the Lamdera development server, which is crucial for visually observing program-tests in action. Once the server is running, you can access the test runner in your browser to watch tests step-by-step and debug layout or rendering issues interactively. ```Shell lamdera live ``` -------------------------------- ### Example End-to-End Test in Elm using Program-Test Source: https://github.com/tibastral/program-test-boilerplate/blob/main/README.md This Elm code snippet provides a typical example of an end-to-end test using the program-test framework. It demonstrates how to simulate user interactions like inputting text into a DOM element and clicking a button, followed by asserting the presence of specific text content in the rendered view. The test starts a frontend session and defines a sequence of client actions. ```Elm helloWorldTest : TF.EndToEndTest ToBackend FrontendMsg FrontendModel ToFrontend BackendMsg BackendModel helloWorldTest = TF.start "Test Hello World" (Time.millisToPosix 0) config [ TF.connectFrontend 100 (sessionIdFromString "session1") "/" { width = 900, height = 800 } (\client -> [ client.input 100 (Dom.id "best-framework") "react" , client.click 100 (Dom.id "save-the-world") , client.checkView 100 (Test.Html.Query.has [ Test.Html.Selector.text "Thank you, Mario, but the slowness is in another framework" , Test.Html.Selector.text "Take that, react" ] ) ] ) ] ``` -------------------------------- ### Run Lamdera Program-Tests with elm-test-rs Source: https://github.com/tibastral/program-test-boilerplate/blob/main/README.md This shell command executes end-to-end tests written with program-test using the `elm-test-rs` runner. It specifies the Lamdera compiler to ensure compatibility with the Lamdera ecosystem. This is the standard way to run your program-tests from the command line. ```Shell elm-test-rs --compiler lamdera ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.