Installation: Chrome Web Store
Trydent is available on the chrome web store for easily installation here.Installation: Manual
- Ensure you have the required prerequisites installed:
- npm (version 9.5.1 or higher)
- Google Chrome (version 112.0 or higher)
- Fork the Trydent repository to your own GitHub account.
- Clone your forked repository to your local machine:
- Navigate to the root project directory and install dependencies:
- Navigate to the client directory and install dependencies:
- In the client directory, build the application:
- Load Trydent into your Chrome extensions.
- Open Google Chrome and navigate to
chrome://extensions/ - Enable Developer Mode
- Click “Load unpacked” and select the
extensionsdirectory in your local Trydent repository.
- Open Google Chrome and navigate to
Generating End-To-End Tests
1. Navigate and Open Trydent
Navigate to the page you want to test in your browser. Right-click and select Trydent. This will open the Trydent extension.
2. Describe Statement
Enter the describe statement for your test. This will be the name of the test suite that is generated.
Proceed to “Start Test”
4. It Statement
Enter the it statement for your test. This will be the name of the test case that is generated.
Proceed to the “Generate Test” button.
5. End to End User Experience
Run through the user experience you want to test. Trydent will locally record your actions.Your “Input Log” will be populated with the actions and assertions you make.
Assertions enable you to validate the state of the DOM at any point during your test. You can add assertions by hovering over the component to assert and keydown “e” + “z” simultaneously.
6. Generate Code
Once you are finished recording, click the “Stop Recording and Generate Test” button. This will generate your test code.
You can press the copy button to immediately copy the code to your clipboard.
Get Help
Contact us if you have any questions, or would like help with any issues.Follow us on Twitter
Follow us on Twitter to get the latest updates and news.
React to our Medium article
Read our Medium article to learn more about Trydent.
Create an issue on Github
Open an issue at our GitHub repository if you have any questions or issues.
Follow us on LinkedIn
Open an issue at our GitHub repository if you have any questions or issues.
Give us a star on GitHub
Give us a star on GitHub if you like what we’re doing.

