diff --git a/plugins/test/index.js b/plugins/test/index.js deleted file mode 100644 index 20b813120..000000000 --- a/plugins/test/index.js +++ /dev/null @@ -1,22 +0,0 @@ -// netlify plugin to run playwright on deploy previews - -export async function onSuccess({ utils }) { - console.log("Installing Playwright dependencies"); - await utils.run("playwright", ["install"]).catch((err) => { - utils.build.failBuild(err); - }); - - console.log("Running Playwright tests"); - result = await utils.run("playwright", ["test"]).catch((err) => { - utils.status.show({ - title: "Playwright test failed", - summary: err.toString(), - }); - utils.build.failPlugin(err); - }); - - utils.status.show({ - title: "Playwright tests completed.", - summary: "", - }); -} diff --git a/plugins/test/manifest.yml b/plugins/test/manifest.yml deleted file mode 100644 index 4fdd17086..000000000 --- a/plugins/test/manifest.yml +++ /dev/null @@ -1 +0,0 @@ -name: netlify-plugin-playwright