Skip to content

Releases

TestTalon Community v3.0.0

Choose a tag to compare

@nguyentuanviet77 nguyentuanviet77 released this 02 Nov 18:11

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() and organization(), 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). Run npm run showreport after a test run to open the HTML report.
  • Sample applications in sample-app/. Pages that tests open locally live in sample-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-app serves 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.ts exercises 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 in data/web/, their selectors in object-repositories/gui/ and shared helpers in packages/web/lib/product-store.ts (openCart, getCreatedRow, addProductToCart, cleanupCreatedRows) and packages/web/lib/login.ts. They run against a public demo shop and clean up the cart rows they create.
  • Locator extraction. npm run locator:extract collects the selectors of a page into object-repositories/gui/. The XPath strategies guide is docs/guide/create-tests/xpath-locator-strategies.md.
  • Credential helpers (packages/core/lib/credential-helpers.ts): encipherPassword() and decipherPassword() take the key from TESTTALON_ENCRYPTION_KEY and never log the plaintext.
  • Docker support. A Dockerfile and a .dockerignore in the project root build an image with Node.js 24, your locked dependencies and Chromium, and run npm test. Build and run commands are in docs/guide/start/setup.md ("Run the tests in Docker").
  • Browser projects. packages/web/config/projects.ts is part of the package and the root playwright.config.ts uses it. Community now has these projects: dev (Chromium), local, uat, prodBeta, prod, webkit, the device-emulation projects Pixel 4a (5G) and iPhone 14 (mobile safari), and the two sample projects staging-chromium and qa-firefox.
  • Data file aliases. readCsvDataFile and getPDFText accept project aliases such as @data/web/demo.csv, as well as relative and absolute paths.
  • Compiled output runs in plain Node. npm run build rewrites the path aliases in dist/ 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, staging and .env.example) are plain sample files with placeholder values such as your-username-here. They contain no credentials. Replace the values with your own, and encrypt real credentials with dotenvx before you commit them (see docs/guide/configure/configuration-and-profiles.md).
  • npm run test:smoke runs only the bundled demo (tests/sample/webapp/functional/community/browser.test.ts). npm test keeps its meaning: build, unit tests, then that smoke test. The sample tests run with npm run test:web (offline ones) and npm 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's baseURL and the qa profile do not affect it.
  • The documentation was updated for the new layout and for the samples above.

Fixed

  • npm run test:unit pointed at a folder that is not part of the package and skipped the shipped Web unit test. It now runs packages/core/tests, packages/web/tests/unit and the reporter's test.
  • getPDFText no longer fails when given an @data/... path.

Requirements

  • Node.js 24 or later with npm, and Git.
  • npm ci (a full install; --omit=dev is not supported), then npx playwright install chromium. Firefox and WebKit are needed only for projects that use them.

TestTalon Community v2.1.0

Choose a tag to compare

@nguyentuanviet77 nguyentuanviet77 released this 15 Oct 14:30

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 showreport

A 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.
  • webActions provides 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/BaseTest provide page, webActions and 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/ to tests/webapp/functional/community/. The setup files that v2.0.0 kept under config/community/ are now shipped where they are used: README.md, package.json, package-lock.json, tsconfig.json and playwright.config.ts at the repository root, and the workflow at .github/workflows/community.yml. packages/community/README.md is 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.txt carries 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 @Online need internet access to the public Playwright demo sites. npm test and npm run test:web work offline.
  • Google Chrome and Microsoft Edge must be installed on your machine (or with npx playwright install chrome or msedge). 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

Choose a tag to compare

@nguyentuanviet77 nguyentuanviet77 released this 08 Oct 08:36

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:smoke

Validation

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