add webdriverio tests #224
Annotations
7 errors and 2 warnings
src/storybook.test.ts:
src/storybook.test.ts#L3
ReferenceError: window is not defined
❯ src/storybook.test.ts:3:43
|
src/components/Button/Button.test.tsx > renders button with custom children:
src/components/Button/Button.test.tsx#L10
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:83:5
❯ src/components/Button/Button.test.tsx:10:25
|
src/components/Button/Button.test.tsx > onclick handler is called:
src/components/Button/Button.test.tsx#L18
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:83:5
❯ src/components/Button/Button.test.tsx:18:3
|
src/components/Button/Button.test.tsx > onclick handler is not called when disabled:
src/components/Button/Button.test.tsx#L26
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:83:5
❯ src/components/Button/Button.test.tsx:26:3
|
src/components/RestaurantCard/RestaurantCard.test.tsx:
src/components/RestaurantCard/RestaurantCard.test.tsx#L10
ReferenceError: describe is not defined
❯ src/components/RestaurantCard/RestaurantCard.test.tsx:10:1
|
src/pages/RestaurantDetailPage/RestaurantDetailPage.test.tsx:
src/pages/RestaurantDetailPage/RestaurantDetailPage.test.tsx#L9
ReferenceError: describe is not defined
❯ src/pages/RestaurantDetailPage/RestaurantDetailPage.test.tsx:9:1
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|