chore: allcontributors table

This commit is contained in:
Bart Stefanski 2023-04-21 18:12:21 +02:00
parent bc6c356a60
commit 76525aed8b

View file

@ -53,6 +53,7 @@ With this template, you get all the awesomeness you need:
- [🤖 ChatGPT Code Review](#-chatgpt-code-review) - [🤖 ChatGPT Code Review](#-chatgpt-code-review)
- [🤝 Contribution](#-contribution) - [🤝 Contribution](#-contribution)
- [📜 License](#-license) - [📜 License](#-license)
- [Contributors](#contributors)
## 🎯 Getting Started ## 🎯 Getting Started
@ -96,7 +97,6 @@ or if you prefer netlify:
[![Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/Blazity/next-enterprise) [![Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/Blazity/next-enterprise)
## 📃 Scripts Overview ## 📃 Scripts Overview
The following scripts are available in the `package.json`: The following scripts are available in the `package.json`:
@ -143,7 +143,6 @@ This boilerplate comes with various testing setups to ensure your application's
<img width="1392" alt="image" src="https://user-images.githubusercontent.com/28964599/233666655-93b7d08b-2fd8-406a-b43c-44d4d96cf387.png"> <img width="1392" alt="image" src="https://user-images.githubusercontent.com/28964599/233666655-93b7d08b-2fd8-406a-b43c-44d4d96cf387.png">
### Acceptance Tests ### Acceptance Tests
To write acceptance tests, we leverage Storybook's [`play` function](https://storybook.js.org/docs/react/writing-stories/play-function#writing-stories-with-the-play-function). This allows you to interact with your components and test various user flows within Storybook. To write acceptance tests, we leverage Storybook's [`play` function](https://storybook.js.org/docs/react/writing-stories/play-function#writing-stories-with-the-play-function). This allows you to interact with your components and test various user flows within Storybook.
@ -155,29 +154,29 @@ To write acceptance tests, we leverage Storybook's [`play` function](https://sto
*/ */
export const FilledForm: Story = { export const FilledForm: Story = {
play: async ({ canvasElement }) => { play: async ({ canvasElement }) => {
const canvas = within(canvasElement); const canvas = within(canvasElement)
const emailInput = canvas.getByLabelText('email', { const emailInput = canvas.getByLabelText("email", {
selector: 'input', selector: "input",
}); })
await userEvent.type(emailInput, 'example-email@email.com', { await userEvent.type(emailInput, "example-email@email.com", {
delay: 100, delay: 100,
}); })
const passwordInput = canvas.getByLabelText('password', { const passwordInput = canvas.getByLabelText("password", {
selector: 'input', selector: "input",
}); })
await userEvent.type(passwordInput, 'ExamplePassword', { await userEvent.type(passwordInput, "ExamplePassword", {
delay: 100, delay: 100,
}); })
// See https://storybook.js.org/docs/react/essentials/actions#automatically-matching-args to learn how to setup logging in the Actions panel // See https://storybook.js.org/docs/react/essentials/actions#automatically-matching-args to learn how to setup logging in the Actions panel
const submitButton = canvas.getByRole('button'); const submitButton = canvas.getByRole("button")
await userEvent.click(submitButton); await userEvent.click(submitButton)
}, },
}; }
``` ```
### Smoke Testing ### Smoke Testing
@ -233,3 +232,14 @@ Contributions are always welcome! To contribute, please follow these steps:
## 📜 License ## 📜 License
This project is licensed under the MIT License. For more information, see the [LICENSE](./LICENSE) file. This project is licensed under the MIT License. For more information, see the [LICENSE](./LICENSE) file.
## Contributors
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->