Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate playwright tests to repo #77

Merged
merged 17 commits into from
Jun 13, 2024
Merged

Conversation

mgriffin-scottlogic
Copy link
Collaborator

Used git subtree command to bring @sdun-scottlogic's repo into playwright directory.

git subtree add -P playwright https://github.com/sdun-scottlogic/sl-tech-carbon-estimator-tests.git HEAD

As far as I can understand this can be treated as a one time operation and we shouldn't need to depend on the source repo going forward.

There are now two new npm scripts, playwright-install and playwright-test to install the required python packages and run all tests respectively. This now also takes care of starting the server automatically and waiting for it to be ready before starting the tests.

I was thinking that it would be good to get this merged in soon so that we can start fixing tests within this repo.

@mgriffin-scottlogic mgriffin-scottlogic merged commit 83b8fad into main Jun 13, 2024
2 checks passed
@mgriffin-scottlogic mgriffin-scottlogic deleted the sfd-77-migrate-playwright branch June 13, 2024 12:48
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.

3 participants