From f6013a578e78511c6ffc9d841ab0b111f7be3738 Mon Sep 17 00:00:00 2001 From: Uzeyir Abdullayev Date: Tue, 29 Oct 2024 09:14:14 +0200 Subject: [PATCH] rename package to testkit --- packages/{testing-kit => testkit}/README.md | 0 .../{testing-kit => testkit}/package.json | 9 +-- .../playwright.config.ts | 0 packages/testkit/reports/index.html | 68 +++++++++++++++++++ .../src/BaseElement.ts | 0 .../src/__TESTS__/button.spec.js | 0 .../src/__TESTS__/buttonGroup.spec.js | 0 .../src/__TESTS__/checkbox.spec.js | 0 .../src/__TESTS__/dropdown.spec.js | 0 .../src/__TESTS__/menuButton.spec.js | 0 .../src/__TESTS__/textArea.spec.js | 0 .../src/__TESTS__/textfield.spec.js | 0 .../src/buttons/Button.ts | 0 .../src/buttons/ButtonGroup.ts | 0 .../src/buttons/IconButton.ts | 0 .../src/buttons/MenuButton.ts | 0 .../src/buttons/SplitButton.ts | 0 .../src/buttons/index.ts | 0 .../{testing-kit => testkit}/src/index.ts | 0 .../src/inputs/Checkbox.ts | 0 .../src/inputs/DropDown.ts | 0 .../src/inputs/Search.ts | 0 .../src/inputs/TextArea.ts | 0 .../src/inputs/TextField.ts | 0 .../src/inputs/Toggle.ts | 0 .../src/inputs/index.ts | 0 .../src/navigation/List.ts | 0 .../src/navigation/ListItem.ts | 0 .../src/navigation/Tab.ts | 0 .../src/navigation/TabList.ts | 0 .../src/navigation/index.ts | 0 .../src/pickers/ColorPicker.ts | 0 .../src/pickers/index.ts | 0 .../src/popover/Dialog.ts | 0 .../src/popover/index.ts | 0 .../{testing-kit => testkit}/src/text/Text.ts | 0 .../src/text/index.ts | 0 .../src/utils/common-actions.ts | 0 .../{testing-kit => testkit}/tsconfig.json | 0 39 files changed, 73 insertions(+), 4 deletions(-) rename packages/{testing-kit => testkit}/README.md (100%) rename packages/{testing-kit => testkit}/package.json (71%) rename packages/{testing-kit => testkit}/playwright.config.ts (100%) create mode 100644 packages/testkit/reports/index.html rename packages/{testing-kit => testkit}/src/BaseElement.ts (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/button.spec.js (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/buttonGroup.spec.js (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/checkbox.spec.js (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/dropdown.spec.js (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/menuButton.spec.js (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/textArea.spec.js (100%) rename packages/{testing-kit => testkit}/src/__TESTS__/textfield.spec.js (100%) rename packages/{testing-kit => testkit}/src/buttons/Button.ts (100%) rename packages/{testing-kit => testkit}/src/buttons/ButtonGroup.ts (100%) rename packages/{testing-kit => testkit}/src/buttons/IconButton.ts (100%) rename packages/{testing-kit => testkit}/src/buttons/MenuButton.ts (100%) rename packages/{testing-kit => testkit}/src/buttons/SplitButton.ts (100%) rename packages/{testing-kit => testkit}/src/buttons/index.ts (100%) rename packages/{testing-kit => testkit}/src/index.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/Checkbox.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/DropDown.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/Search.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/TextArea.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/TextField.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/Toggle.ts (100%) rename packages/{testing-kit => testkit}/src/inputs/index.ts (100%) rename packages/{testing-kit => testkit}/src/navigation/List.ts (100%) rename packages/{testing-kit => testkit}/src/navigation/ListItem.ts (100%) rename packages/{testing-kit => testkit}/src/navigation/Tab.ts (100%) rename packages/{testing-kit => testkit}/src/navigation/TabList.ts (100%) rename packages/{testing-kit => testkit}/src/navigation/index.ts (100%) rename packages/{testing-kit => testkit}/src/pickers/ColorPicker.ts (100%) rename packages/{testing-kit => testkit}/src/pickers/index.ts (100%) rename packages/{testing-kit => testkit}/src/popover/Dialog.ts (100%) rename packages/{testing-kit => testkit}/src/popover/index.ts (100%) rename packages/{testing-kit => testkit}/src/text/Text.ts (100%) rename packages/{testing-kit => testkit}/src/text/index.ts (100%) rename packages/{testing-kit => testkit}/src/utils/common-actions.ts (100%) rename packages/{testing-kit => testkit}/tsconfig.json (100%) diff --git a/packages/testing-kit/README.md b/packages/testkit/README.md similarity index 100% rename from packages/testing-kit/README.md rename to packages/testkit/README.md diff --git a/packages/testing-kit/package.json b/packages/testkit/package.json similarity index 71% rename from packages/testing-kit/package.json rename to packages/testkit/package.json index a43bfd1379..2976865d18 100644 --- a/packages/testing-kit/package.json +++ b/packages/testkit/package.json @@ -1,19 +1,20 @@ { - "name": "monday-ui-e2e-toolkit", + "name": "@vibe/testkit", "version": "1.0.0", - "description": "Monday UI e2e testing toolkit", + "description": "Vibe e2e testing toolkit", "keywords": [ "TESTING", "E2E" ], - "author": "", + "author": "monday.com", "homepage": "https://github.com/mondaycom/vibe#readme", "license": "ISC", "main": "dist/index.js", "repository": { "type": "git", - "url": "git+https://github.com/mondaycom/vibe.git" + "url": "git+https://github.com/mondaycom/vibe.git", + "directory": "packages/testkit" }, "scripts": { "test:e2e": "npx playwright test", diff --git a/packages/testing-kit/playwright.config.ts b/packages/testkit/playwright.config.ts similarity index 100% rename from packages/testing-kit/playwright.config.ts rename to packages/testkit/playwright.config.ts diff --git a/packages/testkit/reports/index.html b/packages/testkit/reports/index.html new file mode 100644 index 0000000000..fedd480657 --- /dev/null +++ b/packages/testkit/reports/index.html @@ -0,0 +1,68 @@ + + + + + + + + + Playwright Test Report + + + + +
+ + + \ No newline at end of file diff --git a/packages/testing-kit/src/BaseElement.ts b/packages/testkit/src/BaseElement.ts similarity index 100% rename from packages/testing-kit/src/BaseElement.ts rename to packages/testkit/src/BaseElement.ts diff --git a/packages/testing-kit/src/__TESTS__/button.spec.js b/packages/testkit/src/__TESTS__/button.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/button.spec.js rename to packages/testkit/src/__TESTS__/button.spec.js diff --git a/packages/testing-kit/src/__TESTS__/buttonGroup.spec.js b/packages/testkit/src/__TESTS__/buttonGroup.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/buttonGroup.spec.js rename to packages/testkit/src/__TESTS__/buttonGroup.spec.js diff --git a/packages/testing-kit/src/__TESTS__/checkbox.spec.js b/packages/testkit/src/__TESTS__/checkbox.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/checkbox.spec.js rename to packages/testkit/src/__TESTS__/checkbox.spec.js diff --git a/packages/testing-kit/src/__TESTS__/dropdown.spec.js b/packages/testkit/src/__TESTS__/dropdown.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/dropdown.spec.js rename to packages/testkit/src/__TESTS__/dropdown.spec.js diff --git a/packages/testing-kit/src/__TESTS__/menuButton.spec.js b/packages/testkit/src/__TESTS__/menuButton.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/menuButton.spec.js rename to packages/testkit/src/__TESTS__/menuButton.spec.js diff --git a/packages/testing-kit/src/__TESTS__/textArea.spec.js b/packages/testkit/src/__TESTS__/textArea.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/textArea.spec.js rename to packages/testkit/src/__TESTS__/textArea.spec.js diff --git a/packages/testing-kit/src/__TESTS__/textfield.spec.js b/packages/testkit/src/__TESTS__/textfield.spec.js similarity index 100% rename from packages/testing-kit/src/__TESTS__/textfield.spec.js rename to packages/testkit/src/__TESTS__/textfield.spec.js diff --git a/packages/testing-kit/src/buttons/Button.ts b/packages/testkit/src/buttons/Button.ts similarity index 100% rename from packages/testing-kit/src/buttons/Button.ts rename to packages/testkit/src/buttons/Button.ts diff --git a/packages/testing-kit/src/buttons/ButtonGroup.ts b/packages/testkit/src/buttons/ButtonGroup.ts similarity index 100% rename from packages/testing-kit/src/buttons/ButtonGroup.ts rename to packages/testkit/src/buttons/ButtonGroup.ts diff --git a/packages/testing-kit/src/buttons/IconButton.ts b/packages/testkit/src/buttons/IconButton.ts similarity index 100% rename from packages/testing-kit/src/buttons/IconButton.ts rename to packages/testkit/src/buttons/IconButton.ts diff --git a/packages/testing-kit/src/buttons/MenuButton.ts b/packages/testkit/src/buttons/MenuButton.ts similarity index 100% rename from packages/testing-kit/src/buttons/MenuButton.ts rename to packages/testkit/src/buttons/MenuButton.ts diff --git a/packages/testing-kit/src/buttons/SplitButton.ts b/packages/testkit/src/buttons/SplitButton.ts similarity index 100% rename from packages/testing-kit/src/buttons/SplitButton.ts rename to packages/testkit/src/buttons/SplitButton.ts diff --git a/packages/testing-kit/src/buttons/index.ts b/packages/testkit/src/buttons/index.ts similarity index 100% rename from packages/testing-kit/src/buttons/index.ts rename to packages/testkit/src/buttons/index.ts diff --git a/packages/testing-kit/src/index.ts b/packages/testkit/src/index.ts similarity index 100% rename from packages/testing-kit/src/index.ts rename to packages/testkit/src/index.ts diff --git a/packages/testing-kit/src/inputs/Checkbox.ts b/packages/testkit/src/inputs/Checkbox.ts similarity index 100% rename from packages/testing-kit/src/inputs/Checkbox.ts rename to packages/testkit/src/inputs/Checkbox.ts diff --git a/packages/testing-kit/src/inputs/DropDown.ts b/packages/testkit/src/inputs/DropDown.ts similarity index 100% rename from packages/testing-kit/src/inputs/DropDown.ts rename to packages/testkit/src/inputs/DropDown.ts diff --git a/packages/testing-kit/src/inputs/Search.ts b/packages/testkit/src/inputs/Search.ts similarity index 100% rename from packages/testing-kit/src/inputs/Search.ts rename to packages/testkit/src/inputs/Search.ts diff --git a/packages/testing-kit/src/inputs/TextArea.ts b/packages/testkit/src/inputs/TextArea.ts similarity index 100% rename from packages/testing-kit/src/inputs/TextArea.ts rename to packages/testkit/src/inputs/TextArea.ts diff --git a/packages/testing-kit/src/inputs/TextField.ts b/packages/testkit/src/inputs/TextField.ts similarity index 100% rename from packages/testing-kit/src/inputs/TextField.ts rename to packages/testkit/src/inputs/TextField.ts diff --git a/packages/testing-kit/src/inputs/Toggle.ts b/packages/testkit/src/inputs/Toggle.ts similarity index 100% rename from packages/testing-kit/src/inputs/Toggle.ts rename to packages/testkit/src/inputs/Toggle.ts diff --git a/packages/testing-kit/src/inputs/index.ts b/packages/testkit/src/inputs/index.ts similarity index 100% rename from packages/testing-kit/src/inputs/index.ts rename to packages/testkit/src/inputs/index.ts diff --git a/packages/testing-kit/src/navigation/List.ts b/packages/testkit/src/navigation/List.ts similarity index 100% rename from packages/testing-kit/src/navigation/List.ts rename to packages/testkit/src/navigation/List.ts diff --git a/packages/testing-kit/src/navigation/ListItem.ts b/packages/testkit/src/navigation/ListItem.ts similarity index 100% rename from packages/testing-kit/src/navigation/ListItem.ts rename to packages/testkit/src/navigation/ListItem.ts diff --git a/packages/testing-kit/src/navigation/Tab.ts b/packages/testkit/src/navigation/Tab.ts similarity index 100% rename from packages/testing-kit/src/navigation/Tab.ts rename to packages/testkit/src/navigation/Tab.ts diff --git a/packages/testing-kit/src/navigation/TabList.ts b/packages/testkit/src/navigation/TabList.ts similarity index 100% rename from packages/testing-kit/src/navigation/TabList.ts rename to packages/testkit/src/navigation/TabList.ts diff --git a/packages/testing-kit/src/navigation/index.ts b/packages/testkit/src/navigation/index.ts similarity index 100% rename from packages/testing-kit/src/navigation/index.ts rename to packages/testkit/src/navigation/index.ts diff --git a/packages/testing-kit/src/pickers/ColorPicker.ts b/packages/testkit/src/pickers/ColorPicker.ts similarity index 100% rename from packages/testing-kit/src/pickers/ColorPicker.ts rename to packages/testkit/src/pickers/ColorPicker.ts diff --git a/packages/testing-kit/src/pickers/index.ts b/packages/testkit/src/pickers/index.ts similarity index 100% rename from packages/testing-kit/src/pickers/index.ts rename to packages/testkit/src/pickers/index.ts diff --git a/packages/testing-kit/src/popover/Dialog.ts b/packages/testkit/src/popover/Dialog.ts similarity index 100% rename from packages/testing-kit/src/popover/Dialog.ts rename to packages/testkit/src/popover/Dialog.ts diff --git a/packages/testing-kit/src/popover/index.ts b/packages/testkit/src/popover/index.ts similarity index 100% rename from packages/testing-kit/src/popover/index.ts rename to packages/testkit/src/popover/index.ts diff --git a/packages/testing-kit/src/text/Text.ts b/packages/testkit/src/text/Text.ts similarity index 100% rename from packages/testing-kit/src/text/Text.ts rename to packages/testkit/src/text/Text.ts diff --git a/packages/testing-kit/src/text/index.ts b/packages/testkit/src/text/index.ts similarity index 100% rename from packages/testing-kit/src/text/index.ts rename to packages/testkit/src/text/index.ts diff --git a/packages/testing-kit/src/utils/common-actions.ts b/packages/testkit/src/utils/common-actions.ts similarity index 100% rename from packages/testing-kit/src/utils/common-actions.ts rename to packages/testkit/src/utils/common-actions.ts diff --git a/packages/testing-kit/tsconfig.json b/packages/testkit/tsconfig.json similarity index 100% rename from packages/testing-kit/tsconfig.json rename to packages/testkit/tsconfig.json