diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 80eb3c82e..87b6874b1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,25 +65,12 @@ Lastly, a pull request check on [Github Actions](../../actions) is going to kick - [ ] Check all related PR's were merged and the `Main CI` is green -1. _(optional)_ Publish `@vscode-extension-tester/page-objects` package - - `cd page-objects` - - [ ] `npm version (major|minor|patch)` - - [ ] `npm publish` -2. _(optional)_ Publish `@vscode-extension-tester/locators` package - - `cd locators` - - [ ] `npm version (major|minor|patch)` - - [ ] `npm publish` -3. Publish `vscode-extension-tester` package - - [ ] `npm version (major|minor|patch) --no-git-tag-version` - - [ ] bump `@vscode-extension-tester/page-objects` dependency - - `npm install @vscode-extension-tester/page-objects@latest` - - [ ] bump `@vscode-extension-tester/locators` dependency - - `npm install @vscode-extension-tester/locators@latest` +1. Execute `npm run version` - [ ] commit changes and open new PR - [ ] wait for PR is approved and merged - [ ] after merge, wait until `Main CI` is green +2. Execute `npm run publish` - [ ] create and push new `vX.X.X` tag - - [ ] `npm publish` - [ ] create a new GitHub [release](https://github.com/redhat-developer/vscode-extension-tester/releases) from a new `vX.X.X` tag (with generated release notes) ### Post publish tasks diff --git a/README.md b/README.md index 149ee2780..8bcf76109 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@

ExTester - ExTester Locators - ExTester Page Objects + ExTester Locators + ExTester Page Objects License
Main CI diff --git a/package-lock.json b/package-lock.json index ceafd4c40..41cf3c7ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,10 +1,10 @@ { - "name": "@vscode-extension-tester/root", + "name": "@redhat-developer/root", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@vscode-extension-tester/root", + "name": "@redhat-developer/root", "license": "Apache-2.0", "workspaces": [ "packages/*", @@ -837,21 +837,21 @@ } }, "node_modules/@nrwl/devkit": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-18.2.1.tgz", - "integrity": "sha512-D//NSihg/hyoinB+CpNMjecwdMIagoQgLlc2HLZtEpmBxM9b3ilX6J7js9HOqEO+jY5YBJWwHg20+qPDYz1Kqw==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-18.2.2.tgz", + "integrity": "sha512-6RBr1aMzrpY0kk9L9buqT9H7Nv8+QujJPo4ASr6jp/5d5gPBsebeTn6qSvv1xJSB0GhB1ACOeq1nVkbwRQoQCw==", "dev": true, "dependencies": { - "@nx/devkit": "18.2.1" + "@nx/devkit": "18.2.2" } }, "node_modules/@nrwl/tao": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-18.2.1.tgz", - "integrity": "sha512-QOk9pCNBtu8Qk8Cr7WVbI4+Q/PdxXX+nWMU+xk1KyTjH+XYdAvVksrMqFndPAThIsPvC1fP2XCcMCxOX10F3rQ==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-18.2.2.tgz", + "integrity": "sha512-tXjAbbw8Ir3cY/PQVHiC7q10jsU43r5kkEVwa2vzd1rfPtPFvj9WtgwISd+GstuppYtsbNi+UgTNmHX8dRKPYQ==", "dev": true, "dependencies": { - "nx": "18.2.1", + "nx": "18.2.2", "tslib": "^2.3.0" }, "bin": { @@ -859,12 +859,12 @@ } }, "node_modules/@nx/devkit": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-18.2.1.tgz", - "integrity": "sha512-zEWm/lYgD0fHUU2Qgdd1OkIuBDbp8sCIiwv0iMITJy9CZf+fxg3rzRaUwVSbIXXSdeaSIFT75WI4zoI+7EQ/9w==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-18.2.2.tgz", + "integrity": "sha512-Yz/uLYfy2QLeeCJecgKXuT4z0eGx/yBw3VxkgD0zSvpSIg8p1OGSK/rUQ47n/FibsLRdXa1Me5uE57rNt/FKvA==", "dev": true, "dependencies": { - "@nrwl/devkit": "18.2.1", + "@nrwl/devkit": "18.2.2", "ejs": "^3.1.7", "enquirer": "~2.3.6", "ignore": "^5.0.4", @@ -878,9 +878,9 @@ } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.2.1.tgz", - "integrity": "sha512-s6ilEYpzyBoeyjM4PkK0nOPWu2uBL2TPDAVIwVh7J2RuM3xINy45zgbmYBUwC4JZUCSJv7e0GQ7OpxEQVlOjDA==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.2.2.tgz", + "integrity": "sha512-mZ5X2rmtzmEGnt5ddpKlyQDGRd1wh0HSJtWvjruj6fYLNNpoosnXefI0PQLZUw13hf8OpJNo8J6xKfjIViSa8g==", "cpu": [ "arm64" ], @@ -894,9 +894,9 @@ } }, "node_modules/@nx/nx-darwin-x64": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-18.2.1.tgz", - "integrity": "sha512-WpsnI+Z4qfqs0uyFyERLGKZSw3OIpKx3yr7fgFEyfUQS9pqIzqngh2gnoAnf/eYHKBZ2GNPjJ1n+fPHIuLP/dw==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-18.2.2.tgz", + "integrity": "sha512-FeYvbr0OOIdn9xvuNZlLHQKwdAPN9KcWnmIysJTQZeanvUf6tifkhBUU1cXDduAkdut5iibnnA91JhcEj4x9yg==", "cpu": [ "x64" ], @@ -910,9 +910,9 @@ } }, "node_modules/@nx/nx-freebsd-x64": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-18.2.1.tgz", - "integrity": "sha512-AnbYoxvGHQPDXA5A+nPsVTYEQnXayKnC+NLUcxwoH5gW0Io4oBpck+RW4yf8Dt3zoB/RUw4X/TMKPAMXbD7HuA==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-18.2.2.tgz", + "integrity": "sha512-Owt/5jT8IG5I6eRbs8en+bHvi2St+k1Z1S1CLArlnfTzkTgVGz/R39HD4OouEVnr2dQPkfc7ms6+XkhlYx5NLg==", "cpu": [ "x64" ], @@ -926,9 +926,9 @@ } }, "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-18.2.1.tgz", - "integrity": "sha512-01M5fq1hYQQPlSJ7VIJ+ADmadlRvrvrOngbhBWPdWM70XKNz46Z8Z8JrOq1n67QviAPwIYELBMR2c8Bi/NU7FQ==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-18.2.2.tgz", + "integrity": "sha512-6D6ZC4EdBjAE0QgLYXuk7AC5r/LM+XUUOa5tFAV6fsAKn+GjVFsmP8dl/HEHfg+vx619+o+IrVrOA+h6ztmNJA==", "cpu": [ "arm" ], @@ -942,9 +942,9 @@ } }, "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-18.2.1.tgz", - "integrity": "sha512-mQf0/NAAYDrvhhkHbw8/xFiIJ8ldzMxT0sHe2syYbWdnAYWxbXUlDvaalHgILZNiELNsLopbZ6zyKbyj7gTMbw==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-18.2.2.tgz", + "integrity": "sha512-RHZ9nPZ4ivv9p+djO9WqoilMhjlR8/rj7P4sog5OpeRE5EWc65Rb7SFwjek1IovS2gbbK+3P2y8Q4G7lyvbe5w==", "cpu": [ "arm64" ], @@ -958,9 +958,9 @@ } }, "node_modules/@nx/nx-linux-arm64-musl": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-18.2.1.tgz", - "integrity": "sha512-iP2vKQfiCNNUZm81jbIVz2IshtyUUFw7BLi4vTWYIxcknbRJIchNb0dubJBmJUx4593z3O3wst252rg2QlP+cw==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-18.2.2.tgz", + "integrity": "sha512-WginA4UHdrRhK40pDV8sv3Izho5aOzWf3iC8WVXi8r850mVbOE88JaWnO7TJ7zNWgiM32/OZeVyaYQ/Wv8pYjw==", "cpu": [ "arm64" ], @@ -974,9 +974,9 @@ } }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-18.2.1.tgz", - "integrity": "sha512-LHO+MlMgnm/v1CR0E/UfCUD9bfQWrA8btohv1ju/uHw32wW5P/MiMuLk0jrythWk++NZxpMzBIqcZrO2AcQgUg==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-18.2.2.tgz", + "integrity": "sha512-Fekq6TWZAN7T1Yi+IVAPQ3wUmsmtvu3WyvXiVBjVKh8C1H/PKPcNi+4kaG9Ys1BhBZhqiEfTgc44RF9xLM9IAQ==", "cpu": [ "x64" ], @@ -990,9 +990,9 @@ } }, "node_modules/@nx/nx-linux-x64-musl": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-18.2.1.tgz", - "integrity": "sha512-dXNf2P5bRg+u+xDCkqmmP5OABlHZ+zw7D5++uOnGT0D3Y9ZfNl7LVrTqKrTAFJlR6Ycb4ffjhauXF5Yh2tedeA==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-18.2.2.tgz", + "integrity": "sha512-3Uk7x2/giczRCva7RsWd/KjgeYH9kOQFiqzE4heMrjBEuJQfACDlasjIrTRv9bwLrZ6otkBVeX/zmE9kBo3tOA==", "cpu": [ "x64" ], @@ -1006,9 +1006,9 @@ } }, "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-18.2.1.tgz", - "integrity": "sha512-6Dt3/qU2qKwzfXeaB+dS+oEasMbC16ZMC7E6pZTsiXqyjkh25lomiOYLBxBlHdGR4M06CzhFI3Vxtk8Hr7ltuQ==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-18.2.2.tgz", + "integrity": "sha512-y0d79+FYtSEI96KGAjIUrD7/xybAp7aSjqqesM0WP2+DIJBYkdjK6maTKxkB5gb3FBJyhfNYr4A1NqDnvbPtvA==", "cpu": [ "arm64" ], @@ -1022,9 +1022,9 @@ } }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-18.2.1.tgz", - "integrity": "sha512-FsX7Y22WezvH+Z2sUUXSTKUyG8MGL7ObmIRTZxacY2sV1IiaXY5i3J/46AKkJ+lfp6ALULJ4lRlLwXo9jDHbiA==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-18.2.2.tgz", + "integrity": "sha512-17b7hh8VMGWHq0yQDxevLUM0K4ZoNUah3oYVbYe46tp1w7D4u44vDkOOE2SpV2E/alllcDES1etcVsYQSMTGig==", "cpu": [ "x64" ], @@ -1223,6 +1223,14 @@ "node": ">=14" } }, + "node_modules/@redhat-developer/locators": { + "resolved": "packages/locators", + "link": true + }, + "node_modules/@redhat-developer/page-objects": { + "resolved": "packages/page-objects", + "link": true + }, "node_modules/@sigstore/bundle": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.1.0.tgz", @@ -1451,24 +1459,24 @@ } }, "node_modules/@sigstore/verify/node_modules/@sigstore/bundle": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.2.0.tgz", - "integrity": "sha512-5VI58qgNs76RDrwXNhpmyN/jKpq9evV/7f1XrcqcAfvxDl5SeVY/I5Rmfe96ULAV7/FK5dge9RBKGBJPhL1WsQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.3.0.tgz", + "integrity": "sha512-MU3XYHkOvKEFnuUtcAtVh0s4RTemRyi1NN87+v9fAL0qR9JZuK/nF27YJ79wjPvvi1W9sz3qc7cTgshH5tji6Q==", "dev": true, "dependencies": { - "@sigstore/protobuf-specs": "^0.3.0" + "@sigstore/protobuf-specs": "^0.3.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@sigstore/verify/node_modules/@sigstore/protobuf-specs": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.0.tgz", - "integrity": "sha512-zxiQ66JFOjVvP9hbhGj/F/qNdsZfkGb/dVXSanNRNuAzMlr4MC95voPUBX8//ZNnmv3uSYzdfR/JSkrgvZTGxA==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.1.tgz", + "integrity": "sha512-aIL8Z9NsMr3C64jyQzE0XlkEyBLpgEJJFDHLVVStkFV5Q3Il/r/YtY6NJWKQ4cy4AE7spP1IX5Jq7VCAxHHMfQ==", "dev": true, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@sinclair/typebox": { @@ -1597,9 +1605,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.2.tgz", - "integrity": "sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==", + "version": "20.12.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.3.tgz", + "integrity": "sha512-sD+ia2ubTeWrOu+YMF+MTAB7E+O7qsMqAbMfW7DG3K1URwhZ5hN1pLlRVGbf4wDFzSfikL05M17EyorS86jShw==", "dependencies": { "undici-types": "~5.26.4" } @@ -1862,14 +1870,6 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true }, - "node_modules/@vscode-extension-tester/locators": { - "resolved": "packages/locators", - "link": true - }, - "node_modules/@vscode-extension-tester/page-objects": { - "resolved": "packages/page-objects", - "link": true - }, "node_modules/@vscode/vsce": { "version": "2.24.0", "resolved": "https://registry.npmjs.org/@vscode/vsce/-/vsce-2.24.0.tgz", @@ -7683,13 +7683,13 @@ } }, "node_modules/nx": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/nx/-/nx-18.2.1.tgz", - "integrity": "sha512-wUYr1x6GnPvtHMY5pHVijuJbD077ObwGCX+pHZc1IreugAQBLmQ6bxPNCxuI0YjGeM39PD9ME+rxi6aAcJbUKw==", + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/nx/-/nx-18.2.2.tgz", + "integrity": "sha512-ZEnN+2XV6QWI3q6N/I9byjSK2ErxAJJjKIWFQ45RW7+KCFbiwF0zeGnn5zruSHY7nbTrUf5C7MDA80eXam5DTg==", "dev": true, "hasInstallScript": true, "dependencies": { - "@nrwl/tao": "18.2.1", + "@nrwl/tao": "18.2.2", "@yarnpkg/lockfile": "^1.1.0", "@yarnpkg/parsers": "3.0.0-rc.46", "@zkochan/js-yaml": "0.0.6", @@ -7729,16 +7729,16 @@ "nx-cloud": "bin/nx-cloud.js" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "18.2.1", - "@nx/nx-darwin-x64": "18.2.1", - "@nx/nx-freebsd-x64": "18.2.1", - "@nx/nx-linux-arm-gnueabihf": "18.2.1", - "@nx/nx-linux-arm64-gnu": "18.2.1", - "@nx/nx-linux-arm64-musl": "18.2.1", - "@nx/nx-linux-x64-gnu": "18.2.1", - "@nx/nx-linux-x64-musl": "18.2.1", - "@nx/nx-win32-arm64-msvc": "18.2.1", - "@nx/nx-win32-x64-msvc": "18.2.1" + "@nx/nx-darwin-arm64": "18.2.2", + "@nx/nx-darwin-x64": "18.2.2", + "@nx/nx-freebsd-x64": "18.2.2", + "@nx/nx-linux-arm-gnueabihf": "18.2.2", + "@nx/nx-linux-arm64-gnu": "18.2.2", + "@nx/nx-linux-arm64-musl": "18.2.2", + "@nx/nx-linux-x64-gnu": "18.2.2", + "@nx/nx-linux-x64-musl": "18.2.2", + "@nx/nx-win32-arm64-msvc": "18.2.2", + "@nx/nx-win32-x64-msvc": "18.2.2" }, "peerDependencies": { "@swc-node/register": "^1.8.0", @@ -8047,24 +8047,24 @@ } }, "node_modules/pacote/node_modules/@sigstore/bundle": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.2.0.tgz", - "integrity": "sha512-5VI58qgNs76RDrwXNhpmyN/jKpq9evV/7f1XrcqcAfvxDl5SeVY/I5Rmfe96ULAV7/FK5dge9RBKGBJPhL1WsQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.3.0.tgz", + "integrity": "sha512-MU3XYHkOvKEFnuUtcAtVh0s4RTemRyi1NN87+v9fAL0qR9JZuK/nF27YJ79wjPvvi1W9sz3qc7cTgshH5tji6Q==", "dev": true, "dependencies": { - "@sigstore/protobuf-specs": "^0.3.0" + "@sigstore/protobuf-specs": "^0.3.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/pacote/node_modules/@sigstore/protobuf-specs": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.0.tgz", - "integrity": "sha512-zxiQ66JFOjVvP9hbhGj/F/qNdsZfkGb/dVXSanNRNuAzMlr4MC95voPUBX8//ZNnmv3uSYzdfR/JSkrgvZTGxA==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.1.tgz", + "integrity": "sha512-aIL8Z9NsMr3C64jyQzE0XlkEyBLpgEJJFDHLVVStkFV5Q3Il/r/YtY6NJWKQ4cy4AE7spP1IX5Jq7VCAxHHMfQ==", "dev": true, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/pacote/node_modules/@sigstore/sign": { @@ -10521,9 +10521,9 @@ } }, "node_modules/type-fest": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.14.0.tgz", - "integrity": "sha512-on5/Cw89wwqGZQu+yWO0gGMGu8VNxsaW9SB2HE8yJjllEk7IDTwnSN1dUVldYILhYPN5HzD7WAaw2cc/jBfn0Q==", + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.15.0.tgz", + "integrity": "sha512-tB9lu0pQpX5KJq54g+oHOLumOx+pMep4RaM6liXh2PKmVRFF+/vAtUP0ZaJ0kOySfVNjF6doBWPHhBhISKdlIA==", "dev": true, "engines": { "node": ">=16" @@ -11066,9 +11066,9 @@ "version": "8.0.0", "license": "Apache-2.0", "dependencies": { + "@redhat-developer/locators": "^1.0.0", + "@redhat-developer/page-objects": "^1.0.0", "@types/selenium-webdriver": "^4.1.22", - "@vscode-extension-tester/locators": "^1.0.0", - "@vscode-extension-tester/page-objects": "^1.0.0", "@vscode/vsce": "^2.24.0", "commander": "^12.0.0", "compare-versions": "^6.1.0", @@ -11090,16 +11090,16 @@ } }, "packages/locators": { - "name": "@vscode-extension-tester/locators", + "name": "@redhat-developer/locators", "version": "1.0.0", "license": "Apache-2.0", "peerDependencies": { - "@vscode-extension-tester/page-objects": ">=1.0.0", + "@redhat-developer/page-objects": ">=1.0.0", "selenium-webdriver": ">=4.6.1" } }, "packages/page-objects": { - "name": "@vscode-extension-tester/page-objects", + "name": "@redhat-developer/page-objects", "version": "1.0.0", "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index c8d151e22..dd2cb7285 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,8 @@ { - "name": "@vscode-extension-tester/root", + "name": "@redhat-developer/root", "description": "Lerna root of an ExTester monorepo.", "license": "Apache-2.0", "private": true, - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, "repository": { "type": "git", "url": "https://github.com/redhat-developer/vscode-extension-tester.git" diff --git a/packages/extester/README.md b/packages/extester/README.md new file mode 100644 index 000000000..a916cf30b --- /dev/null +++ b/packages/extester/README.md @@ -0,0 +1,62 @@ +

+ ExTester for Visual Studio Code +

+ +

UI Testing Framework for Visual Studio Code.

+ +

+ Features • + Requirements • + Usage • + Documentation • + Known Issues +

+ +

+ExTester: Your Essential UI Testing Companion for Visual Studio Code Extensions!
Seamlessly execute UI tests with Selenium WebDriver, ensuring robustness and reliability in your extension development journey. Simplify UI testing for your VS Code extensions and elevate the quality of your user interface effortlessly. Dive into efficient testing with ExTester today! +


+ +### Features + +- ⭐ Download a test instance of Visual Studio Code. +- ⭐ Download the appropriate version of ChromeDriver. +- ⭐ Pack and Install your extension into downloaded VS Code instance. +- ⭐ Launch the VS Code instance using Selenium WebDriver. +- ⭐ Run your tests. + +## Requirements + +For more information please visit our 🔗 [project repository](https://github.com/redhat-developer/vscode-extension-tester?tab=readme-ov-file#requirements) + +### Usage + +Simply install our package into your extension `devDependencies` to get started: + +```npm +npm install --save-dev vscode-extension-tester@latest +``` + +Make sure to check out the 🔗 [Documentation](../../wiki) for detailed instructions. + +- 📄 [How to set up the tests](../../wiki/Test-Setup) +- 📄 [Configuring Mocha](../../wiki/Mocha-Configuration) +- 📄 [An example simple test case](../../wiki/Writing-Simple-Tests) +- 📄 [Page objects API quick guide](../../wiki/Page-Object-APIs) + +### Documentation + +Our full documentation is located in 🔗 [GitHub Wiki](../../wiki). Included are details about Page Objects API and how to setup Mocha tests information. + +### Issues + +Something is not working properly? In that case, feel free to 🔗 [open feature requests, report bugs, etc.](https://github.com/redhat-developer/vscode-extension-tester/issues/new/choose) + +### Get Involved + +![Contribution Welcomed](https://img.shields.io/badge/welcomed-yellow.svg?style=for-the-badge&label=contribution) + +If you'd like to help us get better, we appreciate it! Check out our 🔗 [Contribution Guide](CONTRIBUTING.md) on how to do that. + +### Known Issues + +We have prepared few answers for most common problems community reported. See 🔗 [Known Issues](KNOWN_ISSUES.md) diff --git a/packages/extester/package.json b/packages/extester/package.json index b3b27b9b0..846ed5f12 100644 --- a/packages/extester/package.json +++ b/packages/extester/package.json @@ -20,6 +20,9 @@ }, "author": "Red Hat", "license": "Apache-2.0", + "publishConfig": { + "access": "public" + }, "maintainers": [ { "name": "Dominik Jelinek", @@ -30,10 +33,6 @@ "url": "https://github.com/redhat-developer/vscode-extension-tester/issues" }, "homepage": "https://github.com/redhat-developer/vscode-extension-tester#readme", - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, "repository": { "type": "git", "url": "https://github.com/redhat-developer/vscode-extension-tester.git", @@ -47,13 +46,14 @@ "vscode", "extension", "extester", + "vscode-extension-tester", "ui-test" ], "dependencies": { "@types/selenium-webdriver": "^4.1.22", + "@redhat-developer/locators": "^1.0.0", + "@redhat-developer/page-objects": "^1.0.0", "@vscode/vsce": "^2.24.0", - "@vscode-extension-tester/locators": "^1.0.0", - "@vscode-extension-tester/page-objects": "^1.0.0", "commander": "^12.0.0", "compare-versions": "^6.1.0", "fs-extra": "^11.2.0", diff --git a/packages/extester/src/browser.ts b/packages/extester/src/browser.ts index 6a6be97ef..b83209e53 100644 --- a/packages/extester/src/browser.ts +++ b/packages/extester/src/browser.ts @@ -3,9 +3,9 @@ import * as path from 'path'; import * as fs from 'fs-extra'; import { compareVersions } from 'compare-versions'; -import { WebDriver, Builder, until, initPageObjects, logging, By, Browser } from '@vscode-extension-tester/page-objects'; +import { WebDriver, Builder, until, initPageObjects, logging, By, Browser } from '@redhat-developer/page-objects'; import { Options, ServiceBuilder } from 'selenium-webdriver/chrome'; -import { getLocatorsPath } from '@vscode-extension-tester/locators'; +import { getLocatorsPath } from '@redhat-developer/locators'; import { CodeUtil, ReleaseQuality } from './util/codeUtil'; import { DEFAULT_STORAGE_FOLDER } from './extester'; import { DriverUtil } from './util/driverUtil'; diff --git a/packages/extester/src/extester.ts b/packages/extester/src/extester.ts index d2b1690db..3759a4e1d 100644 --- a/packages/extester/src/extester.ts +++ b/packages/extester/src/extester.ts @@ -11,7 +11,7 @@ export { ReleaseQuality } export { MochaOptions } from 'mocha'; export * from './browser'; export * from './suite/mochaHooks'; -export * from '@vscode-extension-tester/page-objects'; +export * from '@redhat-developer/page-objects'; export interface SetupOptions { /** version of VS Code to test against, defaults to latest */ diff --git a/packages/locators/README.md b/packages/locators/README.md index 9030b23c3..b16d2a6b0 100644 --- a/packages/locators/README.md +++ b/packages/locators/README.md @@ -1,3 +1,9 @@ -# ExTester - Locators +

+ ExTester for Visual Studio Code +

-Pluggable Page Objects locators for an ExTester. +

Locators

+ +

+Pluggable Page Objects locators for an ExTester framework. +

diff --git a/packages/locators/lib/1.37.0.ts b/packages/locators/lib/1.37.0.ts index a10ddf550..c2742ead0 100644 --- a/packages/locators/lib/1.37.0.ts +++ b/packages/locators/lib/1.37.0.ts @@ -1,4 +1,4 @@ -import { Locators, ViewSection, fromAttribute, fromText, hasAttribute, hasClass, hasElement, hasNotClass } from "@vscode-extension-tester/page-objects"; +import { Locators, ViewSection, fromAttribute, fromText, hasAttribute, hasClass, hasElement, hasNotClass } from "@redhat-developer/page-objects"; import { By, WebElement } from "selenium-webdriver"; const abstractElement = { diff --git a/packages/locators/lib/1.38.0.ts b/packages/locators/lib/1.38.0.ts index 3a7e63242..3a0a23e22 100644 --- a/packages/locators/lib/1.38.0.ts +++ b/packages/locators/lib/1.38.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.39.0.ts b/packages/locators/lib/1.39.0.ts index 1a5469381..5190f78a7 100644 --- a/packages/locators/lib/1.39.0.ts +++ b/packages/locators/lib/1.39.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.40.0.ts b/packages/locators/lib/1.40.0.ts index f9c2416f5..c6d628d52 100644 --- a/packages/locators/lib/1.40.0.ts +++ b/packages/locators/lib/1.40.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.41.0.ts b/packages/locators/lib/1.41.0.ts index c44285c21..141d725fd 100644 --- a/packages/locators/lib/1.41.0.ts +++ b/packages/locators/lib/1.41.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.43.0.ts b/packages/locators/lib/1.43.0.ts index 929675b41..ca6601944 100644 --- a/packages/locators/lib/1.43.0.ts +++ b/packages/locators/lib/1.43.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.44.0.ts b/packages/locators/lib/1.44.0.ts index 727f35447..c417c0f04 100644 --- a/packages/locators/lib/1.44.0.ts +++ b/packages/locators/lib/1.44.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.45.0.ts b/packages/locators/lib/1.45.0.ts index 985776328..276c2cc74 100644 --- a/packages/locators/lib/1.45.0.ts +++ b/packages/locators/lib/1.45.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.46.0.ts b/packages/locators/lib/1.46.0.ts index 25fb2bc8e..f2ef33918 100644 --- a/packages/locators/lib/1.46.0.ts +++ b/packages/locators/lib/1.46.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.47.0.ts b/packages/locators/lib/1.47.0.ts index c7de27217..0b1d84f05 100644 --- a/packages/locators/lib/1.47.0.ts +++ b/packages/locators/lib/1.47.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.49.0.ts b/packages/locators/lib/1.49.0.ts index eb6bbf700..d949cb3bb 100644 --- a/packages/locators/lib/1.49.0.ts +++ b/packages/locators/lib/1.49.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.50.0.ts b/packages/locators/lib/1.50.0.ts index 474108b81..0a642d857 100644 --- a/packages/locators/lib/1.50.0.ts +++ b/packages/locators/lib/1.50.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.52.0.ts b/packages/locators/lib/1.52.0.ts index f81b458d5..ade25b4d0 100644 --- a/packages/locators/lib/1.52.0.ts +++ b/packages/locators/lib/1.52.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.54.0.ts b/packages/locators/lib/1.54.0.ts index 21d5be022..1d86e975d 100644 --- a/packages/locators/lib/1.54.0.ts +++ b/packages/locators/lib/1.54.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.56.0.ts b/packages/locators/lib/1.56.0.ts index a6d7844c0..e9230c226 100644 --- a/packages/locators/lib/1.56.0.ts +++ b/packages/locators/lib/1.56.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.57.0.ts b/packages/locators/lib/1.57.0.ts index 30d7cee41..208631190 100644 --- a/packages/locators/lib/1.57.0.ts +++ b/packages/locators/lib/1.57.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.59.0.ts b/packages/locators/lib/1.59.0.ts index a0a132820..9c610c00a 100644 --- a/packages/locators/lib/1.59.0.ts +++ b/packages/locators/lib/1.59.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { diff --git a/packages/locators/lib/1.60.0.ts b/packages/locators/lib/1.60.0.ts index 295e7225d..0d8c691bc 100644 --- a/packages/locators/lib/1.60.0.ts +++ b/packages/locators/lib/1.60.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { diff --git a/packages/locators/lib/1.61.0.ts b/packages/locators/lib/1.61.0.ts index 4469e9b86..64de905ae 100644 --- a/packages/locators/lib/1.61.0.ts +++ b/packages/locators/lib/1.61.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { diff --git a/packages/locators/lib/1.66.0.ts b/packages/locators/lib/1.66.0.ts index a6c8a1173..1524d90f2 100644 --- a/packages/locators/lib/1.66.0.ts +++ b/packages/locators/lib/1.66.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { diff --git a/packages/locators/lib/1.70.0.ts b/packages/locators/lib/1.70.0.ts index 9a2525d0b..0f0c52ae1 100644 --- a/packages/locators/lib/1.70.0.ts +++ b/packages/locators/lib/1.70.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { diff --git a/packages/locators/lib/1.71.0.ts b/packages/locators/lib/1.71.0.ts index e812e47ea..b57b43da2 100644 --- a/packages/locators/lib/1.71.0.ts +++ b/packages/locators/lib/1.71.0.ts @@ -1,4 +1,4 @@ -import { LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { LocatorDiff } from "@redhat-developer/page-objects"; import { By } from "selenium-webdriver"; export const diff: LocatorDiff = { diff --git a/packages/locators/lib/1.73.0.ts b/packages/locators/lib/1.73.0.ts index 6e373653d..986d2b8a2 100644 --- a/packages/locators/lib/1.73.0.ts +++ b/packages/locators/lib/1.73.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { ProblemsView: { diff --git a/packages/locators/lib/1.74.0.ts b/packages/locators/lib/1.74.0.ts index 86411064d..bb3ade5fc 100644 --- a/packages/locators/lib/1.74.0.ts +++ b/packages/locators/lib/1.74.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { WebView: { diff --git a/packages/locators/lib/1.83.0.ts b/packages/locators/lib/1.83.0.ts index b672aca55..8a20beacc 100644 --- a/packages/locators/lib/1.83.0.ts +++ b/packages/locators/lib/1.83.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { ViewSection: { diff --git a/packages/locators/lib/1.84.0.ts b/packages/locators/lib/1.84.0.ts index 660e71a53..97c390452 100644 --- a/packages/locators/lib/1.84.0.ts +++ b/packages/locators/lib/1.84.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { BottomBarPanel: { diff --git a/packages/locators/lib/1.85.0.ts b/packages/locators/lib/1.85.0.ts index 071ae1aa1..2e76dcf18 100644 --- a/packages/locators/lib/1.85.0.ts +++ b/packages/locators/lib/1.85.0.ts @@ -1,4 +1,4 @@ -import { By, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { Workbench: { diff --git a/packages/locators/lib/1.87.0.ts b/packages/locators/lib/1.87.0.ts index bedb8e2cb..e804e1ce6 100644 --- a/packages/locators/lib/1.87.0.ts +++ b/packages/locators/lib/1.87.0.ts @@ -1,4 +1,4 @@ -import { By, fromText, LocatorDiff } from "@vscode-extension-tester/page-objects"; +import { By, fromText, LocatorDiff } from "@redhat-developer/page-objects"; export const diff: LocatorDiff = { locators: { BottomBarPanel: { diff --git a/packages/locators/package.json b/packages/locators/package.json index d4afb5093..17dcf6e25 100644 --- a/packages/locators/package.json +++ b/packages/locators/package.json @@ -1,7 +1,7 @@ { - "name": "@vscode-extension-tester/locators", + "name": "@redhat-developer/locators", "version": "1.0.0", - "description": "Pluggable Page Objects locators for an ExTester.", + "description": "Pluggable Page Objects locators for an ExTester framework.", "main": "out/index.js", "types": "out/index.d.ts", "files": [ @@ -11,8 +11,7 @@ "author": "Red Hat", "license": "Apache-2.0", "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" + "access": "public" }, "repository": { "type": "git", @@ -27,6 +26,7 @@ "vscode", "extension", "extester", + "vscode-extension-tester", "ui-test" ], "scripts": { @@ -35,7 +35,7 @@ "clean": "rimraf out" }, "peerDependencies": { - "@vscode-extension-tester/page-objects": ">=1.0.0", + "@redhat-developer/page-objects": ">=1.0.0", "selenium-webdriver": ">=4.6.1" } } diff --git a/packages/page-objects/README.md b/packages/page-objects/README.md index 70feb73d3..e6687b661 100644 --- a/packages/page-objects/README.md +++ b/packages/page-objects/README.md @@ -1,5 +1,9 @@ -# ExTester - Page Objects +

+ ExTester for Visual Studio Code +

-Page Object API implementation for a VS Code editor. +

Page Objects

-- 📄 [Page objects API quick guide](../../docs/Page-Object-APIs) +

+Page Object API implementation for a VS Code editor used by ExTester framework - 📄 Documentation. +

diff --git a/packages/page-objects/package.json b/packages/page-objects/package.json index 0f3a2a638..85d422464 100644 --- a/packages/page-objects/package.json +++ b/packages/page-objects/package.json @@ -1,7 +1,7 @@ { - "name": "@vscode-extension-tester/page-objects", + "name": "@redhat-developer/page-objects", "version": "1.0.0", - "description": "Page Object API implementation for a VS Code editor.", + "description": "Page Object API implementation for a VS Code editor used by ExTester framework.", "main": "out/index.js", "types": "out/index.d.ts", "files": [ @@ -16,14 +16,24 @@ "author": "Red Hat", "license": "Apache-2.0", "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" + "access": "public" }, "repository": { "type": "git", "url": "https://github.com/redhat-developer/vscode-extension-tester.git", "directory": "packages/page-objects" }, + "keywords": [ + "webdriver", + "selenium-webdriver", + "selenium", + "test", + "vscode", + "extension", + "extester", + "vscode-extension-tester", + "ui-test" + ], "dependencies": { "clipboardy": "^4.0.0", "clone-deep": "^4.0.1",