Skip to content

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

Open
craigfowler wants to merge 16 commits into
masterfrom
issue/71-sample-project
Open

craigfowler wants to merge 16 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 16 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.
@sonarqubecloud

sonarqubecloud Bot commented Nov 8, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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