Skip to content

Issue #71 - add a sample project with tests - #374

Merged
craigfowler merged 25 commits into
masterfrom
issue/71-sample-project
Nov 10, 2026
Merged

craigfowler merged 25 commits into
masterfrom
issue/71-sample-project

Conversation

@craigfowler

Copy link
Copy Markdown
Member

This will resolve #71 once it's closed. It adds a sample test project to CSF.Screenplay which combined Reqnroll, Selenium and Screenplay to test the TodoMVC web app. TodoMVC was picked because it's a simple, working, already-tested web app that is perfect for writing automated tests. It also features no server component, so it can be 'spun up' with just Node.

Craig Fowler and others added 25 commits June 15, 2026 13:41
I realised that it's stupid writing a sample TODO app
when loads of FOSS examples exist already!  I'm going
to switch to TodoMVC instead of writing my own.

This is the last commit before I remove this project
and import TodoMVC.
If the actor can't save the screenshot then we're going to
end up throwing after all, even if we didn't want to.
Via the `PerformableFailureScreenshotTaker` this puts us
into an endless loop which ends in a stack overflow.
The WebDriver Extensions project needed upgrading
and some changes were needed to the service provider
adapter also.  This is all to work around limitations in the
BoDi DI container.
This has the basis of some tests for the TodoMVC web app.
Right now only one, which proves the app opens, but it
can be expanded upon now that the overall mechanism is
working.
I dunno why the last build run failed, but if it's a directory
not found issue, then this will make it noisy.
This might even fix it!
@sonarqubecloud

Copy link
Copy Markdown

@craigfowler
craigfowler merged commit 8d27c88 into master Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

To learn Screenplay, devs should be able read a demonstration Screenplay project

1 participant