Eightshift forms plugins is a complete form builder tool that utilizes modern Block editor features with multiple third-party integrations to boost your project to another level.
To get started, you'll need:
Clone the project + build to get started:
git clone git@github.com:infinum/eightshift-forms.gitcomposer installbun installbun start
Eightshift forms documentation is located here.
Eightshift forms plugin is created on the Eightshift development kit.
All e2d tests are run using Playwright and are located in the tests/e2e folder and are run in isolated environment using WP Playground with predefined dataset.
URL structure is:
http://127.0.0.1:9400/tests/basichttp://127.0.0.1:9400/tests/validation- etc.
To run the tests locally using WP Playground:
bun run test:e2e:playground- creates a new WP Playground instance and imports the dataset.bun run test:e2e:uiorbun run test:e2e- runs the tests in the browser UI or headless mode.bun run test:e2e:report:show- shows the test report.bun run test:e2e:report:pdf- generates a PDF report of the tests.
Setting up custom test environment:
- Create a new WordPress installation.
- Install the Eightshift Forms plugin.
- Check the
optionsfor the forms set in thetests/e2e/playground/playground.jsonfile. - Import the dataset from the
tests/e2e/playground/dataset.xmlfile, make sure you have a clean installation before importing the dataset as the page/forms ID increments remains the same as in the dataset. - Run
ES_URL=https://<test-environment>/ bun run test:e2e:uito run the tests.
Available environment variables:
ES_URL: URL of the test environment. Required.ES_CLASS: Class name to be added to the body tag for additional styling if needed. Default ises-forms-tests.
If you have any questions or problems, please open an issue on GitHub.
When submitting issues or otherwise participating in development, please follow our code of conduct, and fill out the issue template properly. We'll do our best to answer your issues as quickly as humanly possible: following these steps helps us out a lot in doing that.
Eightshift Forms is maintained and sponsored by Infinum.
Eightshift Forms by Infinum. It is free software, and may be redistributed under the terms specified in the LICENSE file.