@cqa-lib/cqa-ui 1.1.521 → 1.1.522

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.
@@ -43337,6 +43337,7 @@ class TestCaseDetailsEditComponent {
43337
43337
  if (section.title === 'Waits & Retries' || section.title === 'Wait and retries') {
43338
43338
  const autoWaitValue = this.autoWaitEnabled ? 'Enabled' : '';
43339
43339
  const items = section.items.map((item) => {
43340
+ var _a;
43340
43341
  if (item.label === 'Auto Wait')
43341
43342
  return Object.assign(Object.assign({}, item), { value: autoWaitValue });
43342
43343
  if (item.label === 'Enable Avoid Auto wait for steps')
@@ -43344,7 +43345,8 @@ class TestCaseDetailsEditComponent {
43344
43345
  if (item.label === 'Retry Failed Steps')
43345
43346
  return Object.assign(Object.assign({}, item), { value: this.emptyNumToZero(this.retryFailedSteps) });
43346
43347
  if (item.label === 'Test Case Timeout (minutes)') {
43347
- const value = this.testCaseTimeoutMode === 'org' ? ORG_LEVEL_SENTINEL : this.emptyNumToZero(this.testCaseTimeout);
43348
+ const trimmed = ((_a = this.testCaseTimeout) !== null && _a !== void 0 ? _a : '').toString().trim();
43349
+ const value = this.testCaseTimeoutMode === 'org' || trimmed === '' ? ORG_LEVEL_SENTINEL : trimmed;
43348
43350
  return Object.assign(Object.assign({}, item), { value });
43349
43351
  }
43350
43352
  if (item.label === 'Wait Timeout for Locators (secs)')