Links

Schedules

Run automated tests in the cloud on a regular basis

Why use schedules?

When you've already prepared automated tests, you should run them on a regular basis to monitor if your web app works properly.
Fortunately, you don't need to log in to BugBug and click "Run" every week.
😄
BugBug can run the tests in the cloud automatically and notify you about failed tests with email notifications.
To use schedule and cloud runs you need to have a paid subscription - see pricing​
​

Run all tests every hour

Scheduling cloud monitoring with automated tests doesn't require any engineering knowledge or additional infrastructure. Here's how to do it:
  1. 1.
    Make sure your tests are passed when you run them in cloud​
  2. 2.
    Go to "Schedules"
  3. 3.
    Click "Hourly"
  4. 4.
    Select "All suites"
  5. 5.
    Make sure "Schedule enabled" is turned on
That's it! BugBug will now run your tests every hour. You will get email notifications after all tests are complete.
Enabled schedule with all tests that will run every hour

Get email notifications with reports for scheduled results

You will receive notifications with scheduled test results directly in your inbox. You can configure who gets notifications in project settings.
Emails that failed are clearly marked with an
❌
symbol.
Important! By default all suites use the auto-retry failed tests setting to avoid sending you false-alarm notifications from unstable, flaky tests.
Tip! Add a filter in your email to avoid inbox clutter. Or disable notifications for passed runs.
The email contains details about the results and direct links to the tests that failed. After clicking the link you will see a read-only report of this run from the run history.
Did you know? You can also integrate BugBug notifications with your Slack​

Customize schedule

If you work on a large project, you may want to have more than one schedule. For example, can run production tests every hour but monitor your test environment just once a day at night.
Create more schedules to control which suites are run and when.
Important! Only suites can be scheduled - you can't schedule running individual tests.
  1. 1.
    Create separate test suites
  2. 2.
    Go to "Schedules"
  3. 3.
    Click "New schedule"
  4. 4.
    Select which suites you want to run and set schedule timing
  5. 5.
    Enable the schedule
​