From 76525aed8bd9302088028d8e26d6288ee3c01903 Mon Sep 17 00:00:00 2001 From: Bart Stefanski Date: Fri, 21 Apr 2023 18:12:21 +0200 Subject: [PATCH] chore: allcontributors table --- README.md | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c21a3c6..af31b24 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Next.js Enterprise Boilerplate ![Project intro image](https://user-images.githubusercontent.com/28964599/233660067-d6e5dfe9-1b7c-4bc6-8c9f-b14062f50d5b.png) - + Welcome to the _Next.js Enterprise Boilerplate_, an open-source template for enterprise projects! It's loaded with features that'll help you build a high-performance, maintainable, and enjoyable app. We've done all the heavy lifting for you, so sit back, relax, and get ready to conquer the world with your incredible app! 🌍 ## 📚 Features @@ -53,6 +53,7 @@ With this template, you get all the awesomeness you need: - [🤖 ChatGPT Code Review](#-chatgpt-code-review) - [🤝 Contribution](#-contribution) - [📜 License](#-license) + - [Contributors](#contributors) ## 🎯 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) - ## 📃 Scripts Overview 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 image - ### 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. @@ -155,29 +154,29 @@ To write acceptance tests, we leverage Storybook's [`play` function](https://sto */ export const FilledForm: Story = { play: async ({ canvasElement }) => { - const canvas = within(canvasElement); + const canvas = within(canvasElement) - const emailInput = canvas.getByLabelText('email', { - selector: 'input', - }); + const emailInput = canvas.getByLabelText("email", { + selector: "input", + }) - await userEvent.type(emailInput, 'example-email@email.com', { + await userEvent.type(emailInput, "example-email@email.com", { delay: 100, - }); + }) - const passwordInput = canvas.getByLabelText('password', { - selector: 'input', - }); + const passwordInput = canvas.getByLabelText("password", { + selector: "input", + }) - await userEvent.type(passwordInput, 'ExamplePassword', { + await userEvent.type(passwordInput, "ExamplePassword", { delay: 100, - }); + }) // 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 @@ -233,3 +232,14 @@ Contributions are always welcome! To contribute, please follow these steps: ## 📜 License This project is licensed under the MIT License. For more information, see the [LICENSE](./LICENSE) file. + +## Contributors + + + + + + + + +