Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix e2e tests #2700

Merged
merged 1 commit into from
Jan 16, 2025

ci: fix e2e tests

8b70b9e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

ci: fix e2e tests #2700

ci: fix e2e tests
8b70b9e
Select commit
Loading
Failed to load commit list.
GitHub Actions / UT Tests report-windows-latest succeeded Jan 16, 2025 in 1s

51 passed, 0 failed and 0 skipped

Tests passed successfully

✅ apps/showcase/dist-test/junit.xml

51 tests were completed in 90s with 51 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AppComponent 1✅ 5s
BasicPresComponent 1✅ 2s
checkIfPathInMonacoTree 6✅ 21s
ClipboardButtonPresComponent 1✅ 3s
CodeEditorViewComponent 1✅ 3s
ComponentReplacementComponent 1✅ 4s
ComponentReplacementPresComponent 1✅ 17s
ConfigurationComponent 1✅ 14s
ConfigurationPresComponent 1✅ 3s
DatePickerHebrewInputPresComponent 1✅ 2s
DatePickerInputPresComponent 1✅ 3s
DesignTokenComponent 1✅ 6s
DesignTokenPresComponent 1✅ 2s
DynamicContentComponent 1✅ 4s
DynamicContentPresComponent 1✅ 2s
getFilesContent 10✅ 17s
HomeComponent 1✅ 3s
InPageNavPresComponent 1✅ 2s
LocalizationComponent 1✅ 14s
LocalizationPresComponent 1✅ 3s
OtterPickerPresComponent 1✅ 2s
PlaceholderComponent 1✅ 6s
PlaceholderPresComponent 1✅ 5s
RulesEngineComponent 1✅ 23s
RulesEnginePresComponent 1✅ 37s
RunAppLocallyComponent 1✅ 2s
ScrollBackTopPresComponent 1✅ 896ms
SdkComponent 1✅ 6s
SdkComponent 1✅ 3s
SdkPresComponent 1✅ 5s
SdkTrainingComponent 1✅ 4s
SdkTrainingComponent 1✅ 5s
SidenavPresComponent 1✅ 2s
TrainingStepComponent 1✅ 3s
ViewComponent 1✅ 2s
ViewComponent 1✅ 1s
ViewComponent 1✅ 4s

✅ AppComponent

apps\showcase\src\app\app.component.spec.ts
  ✅ AppComponent should create the app

✅ BasicPresComponent

apps\showcase\src\components\showcase\basic\basic-pres.spec.ts
  ✅ BasicPresComponent should create

✅ checkIfPathInMonacoTree

apps\showcase\src\helpers\monaco-tree\monaco-tree.helper.spec.ts
  ✅ checkIfPathInMonacoTree should return false if the tree is empty
  ✅ checkIfPathInMonacoTree should return false if the path does not match the tree at all
  ✅ checkIfPathInMonacoTree should return false if the path only matches part of the tree
  ✅ checkIfPathInMonacoTree should return false if the path matches a node of the tree
  ✅ checkIfPathInMonacoTree should return true if the path matches a leaf of the tree
  ✅ convertTreeRec should convert a webcontainer file system object into a matching tree

✅ ClipboardButtonPresComponent

apps\showcase\src\components\utilities\clipboard-button\clipboard-button-pres.spec.ts
  ✅ ClipboardButtonPresComponent should create

✅ CodeEditorViewComponent

apps\showcase\src\components\training\code-editor-view\code-editor-view.component.spec.ts
  ✅ CodeEditorViewComponent should create

✅ ComponentReplacementComponent

apps\showcase\src\app\component-replacement\component-replacement.spec.ts
  ✅ ComponentReplacementComponent should create

✅ ComponentReplacementPresComponent

apps\showcase\src\components\showcase\component-replacement\component-replacement-pres.spec.ts
  ✅ ComponentReplacementPresComponent should create

✅ ConfigurationComponent

apps\showcase\src\app\configuration\configuration.spec.ts
  ✅ ConfigurationComponent should create

✅ ConfigurationPresComponent

apps\showcase\src\components\showcase\configuration\configuration-pres.spec.ts
  ✅ ConfigurationPresComponent should create

✅ DatePickerHebrewInputPresComponent

apps\showcase\src\components\utilities\date-picker-input-hebrew\date-picker-input-hebrew-pres.spec.ts
  ✅ DatePickerHebrewInputPresComponent should create

✅ DatePickerInputPresComponent

apps\showcase\src\components\utilities\date-picker-input\date-picker-input-pres.spec.ts
  ✅ DatePickerInputPresComponent should create

✅ DesignTokenComponent

apps\showcase\src\app\design-token\design-token.spec.ts
  ✅ DesignTokenComponent should create

✅ DesignTokenPresComponent

apps\showcase\src\components\showcase\design-token\design-token-pres.spec.ts
  ✅ DesignTokenPresComponent should create

✅ DynamicContentComponent

apps\showcase\src\app\dynamic-content\dynamic-content.spec.ts
  ✅ DynamicContentComponent should create

✅ DynamicContentPresComponent

apps\showcase\src\components\showcase\dynamic-content\dynamic-content-pres.spec.ts
  ✅ DynamicContentPresComponent should create

✅ getFilesContent

apps\showcase\src\helpers\file-system\file-system.helper.spec.ts
  ✅ getFilesContent should merge the resource directory into the original project
  ✅ getFilesContent should support `.` and `./` paths
  ✅ mergeDirectories should merge directories
  ✅ mergeDirectories should throw if a directory is merged into a file
  ✅ overrideFileSystemTree should override a file system tree at a specific path
  ✅ overrideFileSystemTree should throw if a directory is merged into a file
  ✅ flattenTree should flatten a file system tree into an array with path and content
  ✅ flattenTree should concatenate the base path to all the file path in the flattenTree
  ✅ isTrainingResource should return true if the object contains a path and a content of type string
  ✅ isTrainingResource should return false if the object does not contain a path and a content of type string

✅ HomeComponent

apps\showcase\src\app\home\home.spec.ts
  ✅ HomeComponent should create

✅ InPageNavPresComponent

apps\showcase\src\components\utilities\in-page-nav\in-page-nav-pres.spec.ts
  ✅ InPageNavPresComponent should create

✅ LocalizationComponent

apps\showcase\src\app\localization\localization.spec.ts
  ✅ LocalizationComponent should create

✅ LocalizationPresComponent

apps\showcase\src\components\showcase\localization\localization-pres.spec.ts
  ✅ LocalizationPresComponent should create

✅ OtterPickerPresComponent

apps\showcase\src\components\utilities\otter-picker\otter-picker-pres.spec.ts
  ✅ OtterPickerPresComponent should create

✅ PlaceholderComponent

apps\showcase\src\app\placeholder\placeholder.spec.ts
  ✅ PlaceholderComponent should create

✅ PlaceholderPresComponent

apps\showcase\src\components\showcase\placeholder\placeholder-pres.spec.ts
  ✅ PlaceholderPresComponent should create

✅ RulesEngineComponent

apps\showcase\src\app\rules-engine\rules-engine.spec.ts
  ✅ RulesEngineComponent should create

✅ RulesEnginePresComponent

apps\showcase\src\components\showcase\rules-engine\rules-engine-pres.spec.ts
  ✅ RulesEnginePresComponent should create

✅ RunAppLocallyComponent

apps\showcase\src\app\run-app-locally\run-app-locally.spec.ts
  ✅ RunAppLocallyComponent should create

✅ ScrollBackTopPresComponent

apps\showcase\src\components\utilities\scroll-back-top\scroll-back-top-pres.spec.ts
  ✅ ScrollBackTopPresComponent should create

✅ SdkComponent

apps\showcase\src\app\sdk\sdk.spec.ts
  ✅ SdkComponent should create

✅ SdkComponent

apps\showcase\src\app\sdk-intro\sdk-intro.spec.ts
  ✅ SdkComponent should create

✅ SdkPresComponent

apps\showcase\src\components\showcase\sdk\sdk-pres.spec.ts
  ✅ SdkPresComponent should create

✅ SdkTrainingComponent

apps\showcase\src\components\training\training.component.spec.ts
  ✅ SdkTrainingComponent should create

✅ SdkTrainingComponent

apps\showcase\src\app\sdk-training\sdk-training.spec.ts
  ✅ SdkTrainingComponent should create

✅ SidenavPresComponent

apps\showcase\src\components\utilities\sidenav\sidenav-pres.spec.ts
  ✅ SidenavPresComponent should create

✅ TrainingStepComponent

apps\showcase\src\components\training\training-step\training-step-pres.component.spec.ts
  ✅ TrainingStepComponent should create

✅ ViewComponent

apps\showcase\src\components\training\save-code-dialog\save-code-dialog.component.spec.ts
  ✅ ViewComponent should create

✅ ViewComponent

apps\showcase\src\components\training\code-editor-terminal\code-editor-terminal.component.spec.ts
  ✅ ViewComponent should create

✅ ViewComponent

apps\showcase\src\components\training\code-editor-control\code-editor-control.component.spec.ts
  ✅ ViewComponent should create