Move js dependencies required for backstop tests into their own workspace #10093
Labels
P2
Low priority
QA: Eng
Requires specialized QA by an engineer
Team M
Issues for Squad 2
Type: Infrastructure
Engineering infrastructure & tooling
Feature Description
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
package.json
file is updated to havetests/backstop
in the workspaces array.Implementation Brief
package.json
, adding a new workspace"tests/backstop"
.package.json
file intests/backstop
folder usingnpm init -w ./tests/backstop
.scripts
for backstop tests but not for building storybook to this newpackage.json
:test:visualtest
test:visualapprove
backstopjs
Fix any paths and ensure the commands work correctly after the refactor.
package.json
file and move all dependencies that are used in backstop tests to its own package by uninstalling them in the main package.json file and installing with-w ./tests/backstop
argument to specify the correct workspace.package.json
file to proxy backstop commands to the correct workspace using thenpm run ... -w ./tests/backstop
approach.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: