Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

fxa-run-functional-tests

Skill by mozilla

Approves the on-hold Approve Functional Tests (PR) CircleCI job for the current branch so gated Playwright tests can start. Built for developers who open pull requests in a repository that uses this CircleCI setup.

  • Score 72
  • 696 stars
  • MPL-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install fxa-run-functional-tests

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mozilla/fxa /tmp/fxa && mkdir -p ~/.claude/skills && cp -r /tmp/fxa/.claude/skills/fxa-run-functional-tests ~/.claude/skills/fxa-run-functional-tests

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install fxa-run-functional-tests in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill approves the manual CircleCI job named Approve Functional Tests (PR) in the test_pull_request workflow. Functional Playwright tests for pull requests are gated behind that approval. The skill approves the job for the latest pipeline on the current branch so the tests run against the already-built workspace. It runs the script _scripts/approve-functional-tests.sh from the repo root.

Before it runs the script, the skill checks that a CircleCI token is set in CIRCLECI_TOKEN, with CIRCLECI_CLI_TOKEN as a fallback. It also stops if the current branch is main or a detached HEAD. The script refuses to approve a pipeline whose commit does not match the local branch tip. The skill is for developers who want to start functional tests on their pull request branch.

Written from the project's SKILL.md and checked against it.

What it can do

  • Branch checkStops with a message when the current branch is main or a detached HEAD.
  • Token checkConfirms that a CircleCI token is set in the environment before running the script.
  • Approve gated jobRuns the approval script to approve the Approve Functional Tests (PR) job on the latest pipeline.
  • Commit match guardRefuses to approve a pipeline whose commit does not match the local branch tip.
  • Result reportingShares the pipeline URL on success and explains hold, build, and SHA mismatch messages.

What you need

  • A personal CircleCI API token in CIRCLECI_TOKEN
  • A git repository with _scripts/approve-functional-tests.sh
  • A PR branch with a pipeline on CircleCI

Try asking

  • Approve the functional tests for my current PR branch.
  • Approve the functional tests and share the pipeline URL with me.
  • Why are the functional tests not on hold yet? Check and retry if needed.

Good to know

  • Only works on PR branches, not main or a detached HEAD.
  • Needs a personal API token, since project tokens do not work for v2 approvals.
  • Refuses to approve if the latest pipeline is for an older commit.
  • The approval becomes available only after Build (PR) completes and the workflow expands.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: .claude/skills/fxa-run-functional-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash

  • SKILL.md3 KB

Alternatives to fxa-run-functional-tests

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

fxa-run-functional-tests: common questions

Why does the skill say functional tests are not on hold yet?

The workflow or approval job may not be visible yet. Wait for CI to expand the workflow after Build (PR) completes, then retry.

Which CircleCI token does it need?

It reads CIRCLECI_TOKEN and falls back to CIRCLECI_CLI_TOKEN. The source says a personal API token is required because project tokens do not work for v2 approvals.

What happens to older runs on the same branch?

Stale runs are cancelled automatically by the project-level auto-cancel redundant workflows setting in CircleCI.

How do I install fxa-run-functional-tests?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is fxa-run-functional-tests free?

The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.

Is fxa-run-functional-tests safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to fxa-run-functional-tests?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

fxa-run-functional-tests Install

Add to stack

Loading.