Repository navigation
Releases
TestTalon Community v3.0.0
TestTalon Community 3.0.0 release notes
This release moves TestTalon Community to one package layout (packages/core, packages/web and packages/community), renames files to kebab-case, and adds new samples and helpers. Import paths and some file locations changed, so tests and configuration written for 2.1.0 need the updates listed in the next section. Nothing is migrated automatically.
Before you upgrade: breaking changes
| 2.1.0 | 3.0.0 |
|---|---|
core/ (code and docs) |
packages/core/ (shared helpers, documentation) and packages/web/ (browser helpers) |
import … from '@core/lib/BaseTest' |
import … from '@packages/web/lib/base-test' |
@core/lib/CommonFuncs |
@packages/core/lib/common-funcs |
@core/lib/WebActions |
@packages/web/lib/web-actions |
@core/lib/GenerateData (separate functions such as randomPick(...)) |
@packages/core/lib/generate-data, class GenerateData with static methods: GenerateData.randomPick(...) |
objectRepositories/GUI/todoMvcGUI.json, imported as @objectRepositories/GUI/… |
object-repositories/gui/todo-mvc-gui.json, imported as @objectRepositories/gui/todo-mvc-gui.json (all repository files are kebab-case with a -gui suffix) |
config/.env.example, .env.qa, .env.staging |
config/project-profiles/.env.example, .env.qa, .env.staging |
config/loadProfileData.ts, config/logger.ts |
packages/core/config/load-profile-data.ts, packages/core/config/logger.ts |
config/community/globalVariables.ts |
config/global/global-settings.ts (with config/shared/global-settings-runtime.ts) |
config/community/playwrightConfig.ts |
packages/community/config/playwright-config.ts (the root playwright.config.ts imports it) |
config/community/lint.cjs |
packages/community/distribution/lint.cjs (the lint:tests script already points there) |
data/pdf/sample.pdf |
data/web/pdf/sample.pdf |
tests/sample/webapp/functional/community/demo.csv |
data/web/demo.csv |
tests/sample/webapp/functional/otherProjects/…, playwright-site/…, todomvc/… |
tests/sample/webapp/functional/community/samples/… (file names are kebab-case; the two online examples are playwright-site-get-started.test.ts and todomvc-add-todo.test.ts) |
tests/sample/webapp/functional/community/demo.html |
sample-app/community-demo/demo.html |
.github/workflows/community.yml |
.github/workflows/testtalon-community-ci.yml (same workflow, new file name) |
The @config/* alias is unchanged. @packages/* is new.
New
- More test data in
GenerateData:firstName(),lastName(),fullName(),email(),password(),address(),city(),zipCode(),phoneNumber(),phoneIMEI(),person()andorganization(), in addition to the existing random-value and account helpers. All are described in the test-data guide. - Test-Run reporting. Every project now reports with four reporters, set once in
packages/community/config/playwright-config.ts: List (terminal), Test-Run (packages/reporting/custom/test-run-reporter.ts), HTML (logs/html-report) and JSON (logs/json-report.json). Runnpm run showreportafter a test run to open the HTML report. - Sample applications in
sample-app/. Pages that tests open locally live insample-app/<name>/: the bundled demo page, the dialogs, frame and new-tab pages, and a widgets page (accordion, tabs, slider, progress bar, date input and autocomplete).serveSampleApp(page.context(), 'widgets', origin)from@packages/web/lib/sample-appserves one of these folders at an address that is not a real site, so a test needs no server, network or account. - Widgets sample test.
tests/sample/webapp/functional/community/samples/widgets.test.tsexercises the widgets page offline and two interactive elements of the public Playwright site. - Product-store sample tests. Three tests in
tests/sample/webapp/functional/community/product-store/(login, and two variants of adding a product and buying it) with their data indata/web/, their selectors inobject-repositories/gui/and shared helpers inpackages/web/lib/product-store.ts(openCart,getCreatedRow,addProductToCart,cleanupCreatedRows) andpackages/web/lib/login.ts. They run against a public demo shop and clean up the cart rows they create. - Locator extraction.
npm run locator:extractcollects the selectors of a page intoobject-repositories/gui/. The XPath strategies guide isdocs/guide/create-tests/xpath-locator-strategies.md. - Credential helpers (
packages/core/lib/credential-helpers.ts):encipherPassword()anddecipherPassword()take the key fromTESTTALON_ENCRYPTION_KEYand never log the plaintext. - Docker support. A
Dockerfileand a.dockerignorein the project root build an image with Node.js 24, your locked dependencies and Chromium, and runnpm test. Build and run commands are indocs/guide/start/setup.md("Run the tests in Docker"). - Browser projects.
packages/web/config/projects.tsis part of the package and the rootplaywright.config.tsuses it. Community now has these projects:dev(Chromium),local,uat,prodBeta,prod,webkit, the device-emulation projectsPixel 4a (5G)andiPhone 14 (mobile safari), and the two sample projectsstaging-chromiumandqa-firefox. - Data file aliases.
readCsvDataFileandgetPDFTextaccept project aliases such as@data/web/demo.csv, as well as relative and absolute paths. - Compiled output runs in plain Node.
npm run buildrewrites the path aliases indist/to relative paths, so compiled modules load each other directly.
Changed
- Sample profile files. The profiles in
config/project-profiles/(dev,local,uat,prodBeta,prod,qa,stagingand.env.example) are plain sample files with placeholder values such asyour-username-here. They contain no credentials. Replace the values with your own, and encrypt real credentials with dotenvx before you commit them (seedocs/guide/configure/configuration-and-profiles.md). npm run test:smokeruns only the bundled demo (tests/sample/webapp/functional/community/browser.test.ts).npm testkeeps its meaning: build, unit tests, then that smoke test. The sample tests run withnpm run test:web(offline ones) andnpm run test:online(the two that visit a public site).- The TodoMVC sample opens its public address (
https://demo.playwright.dev/todomvc/#/) directly; the project'sbaseURLand theqaprofile do not affect it. - The documentation was updated for the new layout and for the samples above.
Fixed
npm run test:unitpointed at a folder that is not part of the package and skipped the shipped Web unit test. It now runspackages/core/tests,packages/web/tests/unitand the reporter's test.getPDFTextno longer fails when given an@data/...path.
Requirements
- Node.js 24 or later with npm, and Git.
npm ci(a full install;--omit=devis not supported), thennpx playwright install chromium. Firefox and WebKit are needed only for projects that use them.
TestTalon Community v2.1.0
TestTalon Community v2.1.0
TestTalon Community is a Playwright + TypeScript framework for Web test automation. Version 2.1.0 adds ready-to-run sample projects, environment profiles, an expanded set of Web examples, a complete documentation set and a GitHub Actions workflow that saves downloadable reports.
Community is free to use for learning, evaluation, demonstrations and proofs of concept under the TestTalon Free / Community Source Code License V4. Ongoing business use requires a Commercial License. Read LICENSE.txt before you use it for business work.
Package: testtalon-community-v2.1.0.zip (56 files)
SHA-256: e64f0a14cdb2188a7de856c0a24e4924ccf766c5c53dcfa71e24b00fab867df9
Quick start
Requirements: Node.js 24 or later with npm, and Git.
unzip testtalon-community-v2.1.0.zip
cd testtalon-community-v2.1.0
npm ci --ignore-scripts
npx playwright install chromium
npm test
npm run showreportA passing npm test ends with 1 passed. Start with core/docs/community/README.md.
Getting Started Guide
New to TestTalon?
Follow our step-by-step Getting Started guide
to set up TestTalon using Visual Studio Code
or IntelliJ IDEA, configure Playwright,
select a test project, run sample tests,
and explore test reports.
View the Getting Started Guide
What is in Community v2.1.0
Web automation. Playwright and TypeScript browser tests with test and expect from @core/lib/BaseTest, run in Chromium, Firefox and WebKit.
Supported browsers. Chromium, Firefox and WebKit through Playwright's own browsers (install the ones you use with npx playwright install). Google Chrome and Microsoft Edge can be configured per project with Playwright's channel option; they are installed separately and are not bundled.
Default projects and environment profiles. The root playwright.config.ts reuses TestTalon's defaults and ships three projects. A project selects its profile with metadata.envProfile; the test reads the address from GUI_BASE_URL. No project sets baseURL.
| Project | Browser | Tests | Profile | Address |
|---|---|---|---|---|
dev |
Chromium | all tests under tests/ |
dev (optional) |
none |
staging-chromium |
Chromium | tests/webapp/functional/playwright-site |
config/.env.staging |
https://playwright.dev |
qa-firefox |
Firefox | tests/webapp/functional/todomvc |
config/.env.qa |
https://demo.playwright.dev/todomvc |
To add your own project, copy a block into the projects array and change its name, browser, testDir and profile.
Object Repository, WebActions and common functions.
- Selectors live in JSON files under
objectRepositories/GUI/, one per page. webActionsprovides browser helpers: waiting for a page, highlighting, clicking and filling, handling dialogs, downloading files, and reading Excel, text and PDF files.- Common functions cover CSV handling, formatting and comparison. Generators produce random text, numbers, dates and accounts.
- Fixtures from
@core/lib/BaseTestprovidepage,webActionsand automatic profile loading.
Web examples under tests/webapp/:
AlertsFrameWindows.test.ts: alerts, confirms, prompts, an iframe and a new tab.Widgets.test.ts: accordion, tabs, slider, progress bar, date input and autocomplete.- The Playwright website and TodoMVC examples that run in the two sample projects.
- A HAR record-and-replay test, a PDF text test and the bundled smoke test.
Execution and debugging. Parallel execution (two workers by default), headed locally and headless in CI, project filtering with --project, tag and title filtering with --grep, and configurable retries and timeouts. Screenshots, Playwright traces and video are kept for failed tests in logs/test-results/.
Reporting. Exactly three reporters: the terminal list reporter, an HTML report in logs/html-report/ (open it with npm run showreport) and a JSON report in logs/json-report.json.
GitHub Actions. .github/workflows/community.yml runs on pushes and pull requests to main or master. One job builds, type-checks, lints and runs the unit checks and the offline Web tests. A second job runs the two sample projects. Each job saves the HTML report, JSON report and failure artifacts as a downloadable artifact, even when tests fail.
Documentation. Twelve documents under core/docs/community/: features and capabilities, getting started, writing tests, browser helpers, test data, configuration and profiles, projects and environments (with a quick start), reports and logs, GitHub Actions, troubleshooting and a project template.
Changes you will notice if you used v2.0.0
- Files moved or removed. The tests moved from
tests/functional/community/totests/webapp/functional/community/. The setup files that v2.0.0 kept underconfig/community/are now shipped where they are used:README.md,package.json,package-lock.json,tsconfig.jsonandplaywright.config.tsat the repository root, and the workflow at.github/workflows/community.yml.packages/community/README.mdis no longer shipped. - Profiles are committed.
config/.env.*files are no longer ignored by Git, so keep plain-text credentials out of them. Encrypt secrets with dotenvx or use CI secrets. Only.env.keys, the file that holds dotenvx private keys, is ignored. LICENSE.txtcarries the updated contact address,support@testtalon.com.
Known limitations
- Verification was done on macOS. Linux and Windows were not run.
- The GitHub Actions workflow was run step by step locally; it also works fine in GitHub
- The VS Code Playwright Test Runner steps in the documentation were not exercised in the VS Code interface.
- The two sample projects and the five tests tagged
@Onlineneed internet access to the public Playwright demo sites.npm testandnpm run test:webwork offline. - Google Chrome and Microsoft Edge must be installed on your machine (or with
npx playwright install chromeormsedge). The package does not install them. - Community covers Web automation only. It does not include Mobile, API, Database or AI test generation features, or integrations with external reporting services.
TestTalon Community v2.0.0
TestTalon Community v2.0.0
TestTalon Community provides Web GUI automation with Playwright and TypeScript.
Included capabilities
- Web GUI automation and browser helpers.
- Shared test-data generation helpers and CSV-driven examples.
- Basic framework configuration and CI templates.
- Playwright HTML/JSON reporting.
Installation
Download and extract TestTalon-Community-v2.0.0.zip, then follow README.md. Use Node.js 24 or later.
npm ci --ignore-scripts
npx playwright install chromium
npm run build
npm run typecheck
npm run lint:tests
npm run test:unit
npm run test:smokeValidation
The extracted delivery passed a fresh independent installation, build, typecheck, lint, five unit tests and an actual local Chromium smoke test with HTML reporting. The included example runs locally without application accounts or an external service. Supply your own application configuration and data for your own tests.
License and download integrity
TestTalon Community is proprietary, source-available software under the TestTalon Free / Community Source Code License V4. Read the controlling LICENSE.txt before use. Third-party license terms remain separate.
ZIP SHA-256:
414ab66f9920a864f4c147b089a9eade062b493d738cc336865d1fc1d297598e
LICENSE.txt SHA-256:
a7c826a3fe2365285f24287946b7d24fe64abc0cf3f775a5f5965d368dca0a8f