Circle CI
This guide will help you integrate Scandium into your CircleCI workflow. With just a few steps, you’ll be able to run automated tests from your Scandium test suite on every push or pull request.
Last updated
This guide will help you integrate Scandium into your CircleCI workflow. With just a few steps, you’ll be able to run automated tests from your Scandium test suite on every push or pull request.
Last updated
By the end of this guide, your CircleCI pipeline will:
Automatically run tests from a Scandium suite on every push.
Display test results directly in the CircleCI logs.
Before you begin, make sure you have:
A account with:
Your API_TOKEN
A PROJECT_ID
and SUITE_ID
A CircleCI project connected to your repository
A .circleci/config.yml
file in your project root
Go to your CircleCI project dashboard.
Navigate to Project Settings > Environment Variables.
Add the following environment variables:
Variable Name
Description
API_TOKEN
Your Scandium API token
PROJECT_ID
Your Scandium project ID
SUITE_ID
Your Scandium test suite ID
HUB_URL
(Optional) Selenium Grid URL, if running on your infrastructure
STARTING_URL
(Optional) The URL your tests should start from. This will override all tests within the suite you are executing.
.circleci/config.yml
Create or update your .circleci/config.yml
file with the following configuration:
Once you’ve committed and pushed your .circleci/config.yml
file, CircleCI will automatically trigger the workflow and execute your Scandium test suite.
Problem
Solution
❌ Missing required variable
Ensure API_TOKEN
, PROJECT_ID
, and SUITE_ID
are set in CircleCI environment variables
❌ Script not found or not executable
Double-check the script URL and ensure you added execution permissions (chmod +x
)
🕒 Stuck waiting
Adjust WAIT_PERIOD
and MAX_ATTEMPTS
in the config file