Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: add missing bin entry for CT packages (#20669)
Max Schmitt86fa74396f82
diff --git a/packages/playwright-ct-react/cli.js b/packages/playwright-ct-react/cli.jsnew file mode 100644index 0000000000..17ed363fa2--- /dev/null+++ b/packages/playwright-ct-react/cli.js@@ -0,0 +1,17 @@+#!/usr/bin/env node+/**+ * Copyright (c) Microsoft Corporation.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+module.exports = require('playwright-core/cli');diff --git a/packages/playwright-ct-react/package.json b/packages/playwright-ct-react/package.jsonindex d01582d579..2c1adb43cc 100644--- a/packages/playwright-ct-react/package.json+++ b/packages/playwright-ct-react/package.json@@ -29,5 +29,8 @@"@vitejs/plugin-react": "^3.0.0","@playwright/test": "1.31.0-next","vite": "^4.0.3"+ },+ "bin": {+ "playwright": "./cli.js"}}diff --git a/packages/playwright-ct-solid/cli.js b/packages/playwright-ct-solid/cli.jsnew file mode 100644index 0000000000..17ed363fa2--- /dev/null+++ b/packages/playwright-ct-solid/cli.js@@ -0,0 +1,17 @@+#!/usr/bin/env node+/**+ * Copyright (c) Microsoft Corporation.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+module.exports = require('playwright-core/cli');diff --git a/packages/playwright-ct-solid/package.json b/packages/playwright-ct-solid/package.jsonindex f29df833e4..1d4dd9012c 100644--- a/packages/playwright-ct-solid/package.json+++ b/packages/playwright-ct-solid/package.json@@ -32,5 +32,8 @@},"devDependencies": {"solid-js": "^1.4.7"+ },+ "bin": {+ "playwright": "./cli.js"}}diff --git a/packages/playwright-ct-svelte/cli.js b/packages/playwright-ct-svelte/cli.jsnew file mode 100644index 0000000000..17ed363fa2--- /dev/null+++ b/packages/playwright-ct-svelte/cli.js@@ -0,0 +1,17 @@+#!/usr/bin/env node+/**+ * Copyright (c) Microsoft Corporation.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+module.exports = require('playwright-core/cli');diff --git a/packages/playwright-ct-svelte/package.json b/packages/playwright-ct-svelte/package.jsonindex 14bf58c05a..57fcccf9b8 100644--- a/packages/playwright-ct-svelte/package.json+++ b/packages/playwright-ct-svelte/package.json@@ -32,5 +32,8 @@},"devDependencies": {"svelte": "^3.49.0"+ },+ "bin": {+ "playwright": "./cli.js"}}diff --git a/packages/playwright-ct-vue/cli.js b/packages/playwright-ct-vue/cli.jsnew file mode 100644index 0000000000..17ed363fa2--- /dev/null+++ b/packages/playwright-ct-vue/cli.js@@ -0,0 +1,17 @@+#!/usr/bin/env node+/**+ * Copyright (c) Microsoft Corporation.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+module.exports = require('playwright-core/cli');diff --git a/packages/playwright-ct-vue/package.json b/packages/playwright-ct-vue/package.jsonindex ca8035f4da..9c39ee244c 100644--- a/packages/playwright-ct-vue/package.json+++ b/packages/playwright-ct-vue/package.json@@ -29,5 +29,8 @@"@vitejs/plugin-vue": "^4.0.0","@playwright/test": "1.31.0-next","vite": "^4.0.3"+ },+ "bin": {+ "playwright": "./cli.js"}}diff --git a/packages/playwright-ct-vue2/cli.js b/packages/playwright-ct-vue2/cli.jsnew file mode 100644index 0000000000..17ed363fa2--- /dev/null+++ b/packages/playwright-ct-vue2/cli.js@@ -0,0 +1,17 @@+#!/usr/bin/env node+/**+ * Copyright (c) Microsoft Corporation.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+module.exports = require('playwright-core/cli');diff --git a/packages/playwright-ct-vue2/package.json b/packages/playwright-ct-vue2/package.jsonindex e66462d2a2..9b025e6e35 100644--- a/packages/playwright-ct-vue2/package.json+++ b/packages/playwright-ct-vue2/package.json@@ -32,5 +32,8 @@},"devDependencies": {"vue": "^2.7.13"+ },+ "bin": {+ "playwright": "./cli.js"}}