@testsmith/perfornium 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,7 +317,8 @@ class PlaywrightToPerfornium {
317
317
  case 'getByText':
318
318
  return `text=${this.extractFirstArg(args)}`;
319
319
  case 'getByLabel':
320
- return `label=${this.extractFirstArg(args)}`;
320
+ // Use text= instead of label= since getByLabel often matches non-label elements
321
+ return `text=${this.extractFirstArg(args)}`;
321
322
  case 'getByPlaceholder':
322
323
  return `placeholder=${this.extractFirstArg(args)}`;
323
324
  case 'getByTestId':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testsmith/perfornium",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Flexible performance testing framework for REST, SOAP, and web applications",
5
5
  "author": "TestSmith",
6
6
  "license": "MIT",