Once you have a test suite with a few test cases you may want to run it every time you commit your code or deploy a new release. Frontend Robot can be easily integrated with most build systems or CI/CD platform thanks to smart triggers.
Why are they called smart you may ask? It’s because they area able to detect the platform that is invoking the trigger and automatically extract some extra information to run the suite or integrate with other platforms. Below is a list of officially supported integrations:
To get the smart trigger for a test suite, navigate to that suite and then go to the Settings tab:
Scroll down to the Smart Trigger section and click Generate Smart Trigger URL:
The URL that will appear is the smart trigger for the test suite. You can also click on the cRUL tab to get a
cURL command you can copy/paste in your build script to trigger the test suite run at the end of your deployments.
If your code is hosted on Github and the smart trigger receives information about the repository, then Frontend Robot can automatically display the results of an automatically triggered test run on Github, beside the commit or PR that triggered the build.
NOTE: Check each specific integration to see if the smart trigger can integrate with Github.
To enable this feature all we have to do is connecting a Github Organization to our account. Go to the organization’s settings on Frontend Robot and then click on the Integrations tab.
Click on Connect Organization and follow the instructions. For convenience we recommend to allowing access to all the repositories on the organization.