| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-09-04 | 1.4 kB | |
| v0.10.0 source code.tar.gz | 2026-09-04 | 1.2 MB | |
| v0.10.0 source code.zip | 2026-09-04 | 1.3 MB | |
| Totals: 3 Items | 2.5 MB | 0 | |
Added
project create/project update --test-id-attributes <list>. Apps that tag their UI with their own attribute (data-element,data-cy, …) had no way to tell TestSprite, so exported test code located those elements by text chains or absolute xpath and broke on rerun. The new flag registers the project's test-hook attributes, highest priority first (--test-id-attributes data-element,data-testid); an element carrying one of them with a page-unique value is exported aspage.locator('[data-element="…"]'), untagged elements keep the default role/label/text locators, anddata-testidstays the built-in fallback.project update --clear-test-id-attributesreverts to the default (the two flags are mutually exclusive);project getprints the list astestIdAttrs:when the backend reports it. Names are validated client-side (bare attribute names only, max 10). V3-native projects only — a V2-mirrored project answersPRECONDITION_FAILED(test_id_attributes_native_only), and against a backend that predates the field the CLI answersUNSUPPORTED(exit 7,test_id_attributes_unsupported_backend) naming the fields the server did accept, rather than passing through the server's misleading "at least one field must be provided" 400. The onboarding skill now checks the app's source for its test-hook attribute and sets this during project setup.