Skip to content

[NU-1940] Add seconds to sample generator period editor and remove white arrows #15922

[NU-1940] Add seconds to sample generator period editor and remove white arrows

[NU-1940] Add seconds to sample generator period editor and remove white arrows #15922

GitHub Actions / REPORT-FrontendTests failed Dec 30, 2024 in 0s

444 passed, 4 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
junit.xml 222✅ 2❌ 127s
junit.xml 222✅ 2❌ 115s

❌ junit.xml

224 tests were completed in 127s with 222 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AggMapLikeParser 41✅ 4s
CommentContent#newContent 8✅ 21s
CompareVersionsDialog 2✅ 107s
CountsRangesButtons tests 4✅ 2s
CronEditor 1✅ 1s
CustomRadio component 4✅ 765ms
DateEditor 1✅ 904ms
DateTimeEditor 1✅ 933ms
DictParameterEditor 2✅ 1s
DualParameterEditor 1✅ 4s
DurationEditor 1❌ 3s
edgeType retrieved 11✅ 2s
extendActivitiesWithUIData 3✅ 7s
FixedValuesEditor 1✅ 889ms
FixedValuesGroup 1✅ 70s
fragment schema aligner test 2✅ 187ms
GraphUtils 1✅ 220ms
Item 1✅ 77s
json utils 4✅ 150ms
JsonEditor 1✅ 582ms
PeriodEditor 1❌ 3s
PlainStyleLink 14✅ 287ms
process available variables finder 9✅ 9s
ProcessStateIcon tests 5✅ 1s
Reducer suite 5✅ 29s
SpelQuotesUtils 71✅ 559ms
SpelTemplateEditor 1✅ 599ms
SqlEditor 1✅ 616ms
StringEditor 1✅ 618ms
TextareaEditor 1✅ 562ms
TimeEditor 1✅ 522ms
undefined 1✅ 668ms
useActivitiesSearch 6✅ 530ms
useAnonymousStatistics 4✅ 1s
useProcessFormDataOptions 4✅ 14s
validating url counts extractors 5✅ 217ms
ValidationLabels 3✅ 685ms

❌ DurationEditor

DurationEditor should display validation error when the field is required
  ❌ DurationEditor should display validation error when the field is required
	TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"

❌ PeriodEditor

PeriodEditor should display validation error when the field is required
  ❌ PeriodEditor should display validation error when the field is required
	TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"

❌ junit.xml

224 tests were completed in 115s with 222 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AggMapLikeParser 41✅ 3s
CommentContent#newContent 8✅ 19s
CompareVersionsDialog 2✅ 96s
CountsRangesButtons tests 4✅ 1s
CronEditor 1✅ 816ms
CustomRadio component 4✅ 664ms
DateEditor 1✅ 884ms
DateTimeEditor 1✅ 830ms
DictParameterEditor 2✅ 982ms
DualParameterEditor 1✅ 3s
DurationEditor 1❌ 3s
edgeType retrieved 11✅ 2s
extendActivitiesWithUIData 3✅ 7s
FixedValuesEditor 1✅ 926ms
FixedValuesGroup 1✅ 63s
fragment schema aligner test 2✅ 172ms
GraphUtils 1✅ 216ms
Item 1✅ 69s
json utils 4✅ 543ms
JsonEditor 1✅ 556ms
PeriodEditor 1❌ 3s
PlainStyleLink 14✅ 259ms
process available variables finder 9✅ 9s
ProcessStateIcon tests 5✅ 1s
Reducer suite 5✅ 26s
SpelQuotesUtils 71✅ 524ms
SpelTemplateEditor 1✅ 603ms
SqlEditor 1✅ 607ms
StringEditor 1✅ 626ms
TextareaEditor 1✅ 897ms
TimeEditor 1✅ 573ms
undefined 1✅ 584ms
useActivitiesSearch 6✅ 481ms
useAnonymousStatistics 4✅ 1s
useProcessFormDataOptions 4✅ 13s
validating url counts extractors 5✅ 187ms
ValidationLabels 3✅ 647ms

❌ DurationEditor

DurationEditor should display validation error when the field is required
  ❌ DurationEditor should display validation error when the field is required
	TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"

❌ PeriodEditor

PeriodEditor should display validation error when the field is required
  ❌ PeriodEditor should display validation error when the field is required
	TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"

Annotations

Check failure on line 32 in designer/client/test/Editors/DurationEditor-test.tsx

See this annotation in the file changed.

@github-actions github-actions / REPORT-FrontendTests

DurationEditor ► DurationEditor should display validation error when the field is required ► DurationEditor should display validation error when the field is required

Failed test found in:
  junit.xml
  junit.xml
Error:
  TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"

Here are the accessible roles:

  textbox:

  Name "":
  <input
    class="node-input time-range-input node-input-with-error"
    value=""
  />

  --------------------------------------------------

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="css-12wr9jg"
    >
      <div
        class="time-range-components"
      >
        <div
          class="time-range-component"
        >
          <input
            class="node-input time-range-input node-input-with-error"
            value=""
          />
          <span
            class="time-range-component-label"
          >
            years
          </span>
        </div>
      </div>
      <p
        class="MuiFormHelperText-root Mui-error css-37sz59-MuiFormHelperText-root"
        data-testid="form-helper-text"
        title="validation error"
      >
        validation error
      </p>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/config.js:37:19)
    at getElementError (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/query-helpers.js:76:38)
    at apply (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/query-helpers.js:52:25)
    at apply (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/query-helpers.js:95:24)
    at Object.getByRole (/home/runner/work/nussknacker/nussknacker/designer/client/test/Editors/DurationEditor-test.tsx:32:23)
    at Promise.then.completed (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)

Check failure on line 32 in designer/client/test/Editors/PeriodEditor-test.tsx

See this annotation in the file changed.

@github-actions github-actions / REPORT-FrontendTests

PeriodEditor ► PeriodEditor should display validation error when the field is required ► PeriodEditor should display validation error when the field is required

Failed test found in:
  junit.xml
  junit.xml
Error:
  TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "spinbutton"

Here are the accessible roles:

  textbox:

  Name "":
  <input
    class="node-input time-range-input node-input-with-error"
    value=""
  />

  --------------------------------------------------

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="css-12wr9jg"
    >
      <div
        class="time-range-components"
      >
        <div
          class="time-range-component"
        >
          <input
            class="node-input time-range-input node-input-with-error"
            value=""
          />
          <span
            class="time-range-component-label"
          >
            years
          </span>
        </div>
      </div>
      <p
        class="MuiFormHelperText-root Mui-error css-37sz59-MuiFormHelperText-root"
        data-testid="form-helper-text"
        title="validation error"
      >
        validation error
      </p>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/config.js:37:19)
    at getElementError (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/query-helpers.js:76:38)
    at apply (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/query-helpers.js:52:25)
    at apply (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/@testing-library/dom/dist/query-helpers.js:95:24)
    at Object.getByRole (/home/runner/work/nussknacker/nussknacker/designer/client/test/Editors/PeriodEditor-test.tsx:32:23)
    at Promise.then.completed (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/nussknacker/nussknacker/designer/client/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)