Skip to main content
No Result Found
Connect & Get help from 6000+ developers on our Discord community. Ask the CommunityAsk the Community

Rerun tests on CircleCI

Learn how to rerun failed tests by integrating CircleCI with BrowserStack so you can quickly validate fixes.

BrowserStack Test Reporting & Analytics lets you rerun failed tests directly from the dashboard after you integrate CircleCI. This removes the need to manually trigger CircleCI builds.

Before you proceed, make sure you have completed the main setup to rerun failed tests: Rerun failed tests with Test Reporting & Analytics.

Configure CircleCI integration for enabling job triggers

Follow these steps to configure the CircleCI integration for rerun triggers. Each user who wants to use reruns must complete this setup:

  1. Open the integration page: Configure CircleCI integration on BrowserStack.
  2. Create a CircleCI Personal Access Token (PAT).
  3. Enter the PAT in the form and select Submit.
  4. Review the PAT and remove any scopes you do not need to follow least-privilege practices.

Trigger reruns

After you complete the CI configuration, trigger re-runs of failed test cases:

  1. Go to the Test listing to view failed test cases.
  2. Hover over the failed test name. Test listing page showing a failed test with action icons visible after hover
  3. Select the rerun icon.
    Failed test row with the rerun icon highlighted
    Configure rerun modal displaying rerun options for the selected failed test

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle