This project is not covered by Drupal’s security advisory policy.
A private home on the web for a QA team: its test plans, test runs and defects, by project and release, and Test guide, an avatar that answers from them and helps with the day's testing.
A Drupal CMS site template of the Avatar Space family. It works on its own, and together with Dev Space on one site.
What it gives you
- Test plans: project, release, and what to test: the features, the scenarios and what is left out.
- Test runs: release, test plan, when it ran, result (running, passed, failed), how many scenarios passed, failed and were skipped, where it ran, the link to the webship-js report, the report files, and the failed scenarios with notes.
- Defects: release, the test run that found it, the scenario, severity, status (open, fixed, verified, closed), who it is assigned to, and the steps to reproduce.
- Projects: the repository, the links, and what the project is.
- Releases: project, version, status (planned, in testing, released), date, branch or tag, and what changed. A release's page lists its test runs and defects.
- Team members: role in the team, "about" (what to ask them), account.
- A Topics vocabulary the Test guide offers to talk about, to start with six topics.
- Pages (the Webpage content type) for anything else the space wants to say, built with Display Builder, and a contact form.
- Tabs: Dashboard (the front page), Projects, Releases, Test runs, Defects, Test plans, Team.
- Example content to start from: two projects, three releases, two test plans, three test runs, four defects and six team members. Edit them, or delete them and add your own.
- The Test guide's chat, docked on the left: things to ask first ("Which scenarios failed last night?"), the topics, quick replies (Yes, No, Show me, Tell me more), and a menu to start a new chat or show the panel wide, floating or hidden. They are the chat block's Conversation settings.
Roles
- QA lead (
qalead): everything, the projects, releases, topics and pages included. - Tester (
tester): test runs and defects. - Test developer (
testdeveloper): test plans, test runs and defects. - Product owner (
productowner): sees the releases, test runs and defects, files defects and edits their own, and talks to the Test guide. Does not see the team's people.
Dashboards
Each role has its dashboard, built with Web Dashboard, Webpage and Display Builder. The front page is the dashboard of the person who is logged in, and people land on it after they log in. Each list shows the most pressing items first, with a date, a person or a status, and a link to all of them. Change a dashboard in Structure > Web Dashboards.
Every dashboard opens with the space at a glance, the Space cards of Avatar Space: a card for each part of the space, with its icon, what it is for and how many of them the person may see, which opens the list.
- Administrator: The space at a glance, what they may add, Quick tasks, a welcome card.
- Content editor: The space at a glance, what they may add, a welcome card.
- QA lead: Latest test runs, Open defects, Test plans, what they may add, Releases, a welcome card.
- Tester: My test runs, Open defects, Releases, what they may add, Test plans, a welcome card.
- Test developer: My defects, Latest test runs, Releases, what they may add, Test plans, a welcome card.
- Product owner: Releases, Latest test runs, Open defects, what they may add, a welcome card.
Demo content
The template comes with a testing team to try it with: test plans, test runs with their results, and defects, for the same projects and releases as Dev Space. Its team is the same as Dev Space's, and their accounts are the same, so both spaces can share a site.
Test users, with no password: log in as one with drush uli NAME, or set a password first. Delete them, or block them, before the site goes live.
- Testers:
jonas.keller - Product owners:
client.demo,maya.lindqvist - QA lead:
priya.raman - Developers:
aiko.mori,lucia.ferro,tomas.beran
Avatar Agent
The space is built for the Avatar Agent of AI Avatar: people talk to the Test guide, hands free, and it does the work on the site with them. The guide listens without a button (Hands free, on in this template), says what it is about to do, and waits for a yes. What each role asks for, and what it is on the site:
| Role | Says | What it is |
|---|---|---|
| QA lead | "Write a test plan for release 1.6" | creates a Test plan for that Release and its Project |
| QA lead | "Release 1.5 goes to testing" | updates the Release: status In testing |
| Tester | "Start a test run for release 1.5" | creates a Test run for that Release, with its plan, now as its time and the result Running |
| Tester | "The run is done: 45 passed, 3 failed" | updates the Test run: result, counts, the report link |
| Tester | "File a defect for this scenario" | creates a Defect with the release, the Test run, the scenario and the steps to reproduce |
| Test developer | "Explain this failure" | reads the Test run's failed scenarios and notes, and opens its report |
| Test developer | "This defect is fixed" | updates the Defect's status to Fixed |
| Product owner | "This is wrong in 1.5" | creates a Defect for that Release |
| Everyone | "Which scenarios failed last night?" | reads the latest Test run: its counts and its failed scenarios |
The tools that create and update content for the person, with a spoken yes first, come with AI Avatar's action tools; until then the Test guide answers, explains and opens the page where the person does it.
Connected spaces
Test Space and Dev Space install on the same site, in either order, and share Project, Release and Team member: the two templates ship the same configuration and example content for them, so the second one finds them there and adds only what is its own (environments, runbooks and tickets). Then:
- a Release's page lists its test runs and defects for the developers too, under what changed;
- the Dev Space dashboards list the latest test runs and defects;
- a Ticket of Dev Space can name the test run or the defect it comes from;
- each person gets the guide of their role: the Test guide for the Test Space roles, the Dev guide for the Dev Space roles. Give a person the roles of one space: two chat panels do not fit on one page. Administrators get the guide of the template applied last.
composer require drupal/testspace:1.0.x-dev drupal/devspace:1.0.x-dev
drush site:install drupal_cms_installer installer_site_template_form.add_ons=testspace
drush recipe ../recipes/devspace
drush pm:uninstall navigationApplying a second template brings the Navigation sidebar back; the last line removes it again, so the toolbar is at the top and the left of the page stays free for the guide's chat.
A test run is what a webship-js report becomes on the site: the Webship Workspace runs the suites, and their reports are recorded here as test runs, by hand or by the Test guide for now. The colors of the site are those of the template applied last. Organization Space has a content type named project too, with other fields: do not apply it to the same site.
Privacy
Team members are private (Avatar Space): the team and the person themselves see a team member's profile, product owners do not, and the Test guide talks about the team's people only with the team. Keep passwords, keys and tokens out of test runs and report files: the Test guide reads them. The space is private: people who are not signed in are asked to sign in. Everyone logs in to use the space, its avatar and its AI: the chat is shown only to the people of the space.
The guide is how the space works, so its chat loads without asking: the template sets the chat's consent service (Klaro, "Deepchat") as required. What people say to the guide goes to the AI provider the site chooses; say so in the site's privacy policy, or set the service back to optional under Configuration > User interface > Klaro.
Install
With the Drupal CMS installer: choose Test Space among the site templates. Or with Drush, on a Drupal CMS codebase. Until its modules have stable releases, the template comes from its development release, and Drupal CMS takes development releases (prefer-stable keeps the rest stable):
composer config minimum-stability dev
composer require drupal/testspace:1.0.x-dev
drush site:install drupal_cms_installer installer_site_template_form.add_ons=testspaceThe site opens in Gin, front and back, in the colors of Test Space, with the toolbar at the top and the Test guide's chat docked on the left of every page (on a phone, in the page).
The Test guide
The Test guide is the face, voice and eyes of the Drupal AI chatbot (DeepChat with the Avatar chat processor of AI Avatar). Its mind is the site's default Drupal AI chat model: choose a provider and a model in Configuration » AI » AI Settings (or pick one on the avatar's page at Structure » Avatars). It is a careful, friendly colleague. AI Ask: it answers from the space's own content, so "Which scenarios failed last night?" comes from the latest test run, its counts and its notes, and it names the run, defect or plan it answers from. AI Help: it starts a test run for a release, explains a failure in plain words from the run's notes and its report, and files a defect from a failed scenario with the release, the run and the steps to reproduce. It never calls a release good or bad on its own: it gives the counts and the open defects, and leaves the decision to the QA lead and the product owner.
- It speaks its answers, listens hands free or when the person holds the microphone button, and can see through a camera only when the person turns it on and presses Look; nothing is recorded.
- It can fly over the page and point at a menu link or a heading it talks about.
- It keeps short notes about the people it knows; they wait for review at Content » Avatar memories before it uses them, and they expire.
AI providers
The guide's chat needs one chat provider of Drupal AI. The template brings Drupal CMS AI (AI agents, the AI dashboard, alt text, and the choice of amazee.ai, OpenAI or Anthropic as the provider when the site is installed), and these with Composer, installed or not, so pick one under Extend (or drush en <module>), add its key under Configuration > System > Keys, and choose its models under Configuration > AI > AI Default Settings:
- amazee.io (
ai_provider_amazeeio), the Drupal CMS default - Anthropic (
ai_provider_anthropic) - OpenAI (
ai_provider_openai) - Google Gemini (
gemini_provider) - Grok from xAI (
grok) - A command line tool on the server, such as Claude Code, Codex or Gemini CLI (
ai_provider_cli), for a local or private site
The guide's voice
The guide speaks with the ElevenLabs voice "Rajab Natshah - Tech Explainer" (elevenlabs, a text to speech provider of Drupal AI), and moves its mouth with it. Its key is the Key module's elevenlabs key, read from the ELEVENLABS_API_KEY environment variable, so no key is kept in configuration; it must be a key of the ElevenLabs account the voice belongs to. Without a key, or when ElevenLabs fails, the guide speaks with the browser's voice. Change the voice, or turn it off, under Drupal AI voice on the avatar's settings.
Requirements
Drupal CMS 2 (Drupal 11.4 or 12), Drupal AI, Avatar, AI Avatar, Avatar Space, Web Dashboard and Display Builder.
Tests
The webship-js suite in tests/ checks that people log in to use the space, that each role lands on its dashboard, that a release shows its test runs and defects, and that the chat answers (with the Echo test model of Drupal AI, from tests/recipes/testspace_test). Its @connected scenarios check the two spaces on one site: the CI pipeline applies Dev Space after Test Space and runs them. The CI pipeline builds a fresh Drupal CMS with this template and runs it; to run it on a local site, create an account for each role, set their passwords in the environment (see cucumber.js and tests/README.md), then:
yarn install
LAUNCH_URL=https://example.ddev.site yarn testProject information
- By rajab natshah on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


