Compare commits

...

2 Commits

Author SHA1 Message Date
Alvaro Puente Mella 101f5dd5e4 refs #1234 añadido repositorio en crear cliente unico
testing/ogGui-multibranch/pipeline/head This commit looks good Details
2024-12-12 09:28:36 +01:00
Alvaro Puente Mella 44fcb23717 refs #1233 reajuste ayuda contextual 2024-12-12 09:28:36 +01:00
8 changed files with 130 additions and 539 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## [0.7.0] - 2024-12-10
### Refactored
- Refactored the group screen, removing the separate tabs for clients, advanced search, and organizational units.
- Added support for partitioning functionality in the client detail view.
## [0.6.1] - 2024-11-19
### Improved
@ -7,7 +13,6 @@
- Improve test coverage.
- New view for clients inside the classroom on the main page.
## [0.6.0] - 2024-11-19
### Added
@ -30,12 +35,8 @@
- Made predefined commands read-only to prevent accidental modifications.
- Simplified the task creation modal to enhance user experience.
- Adjusted the translation system to cover new elements and improve consistency (work in progress).
- New element view from clients on groups main view
- New element view from clients on groups main view.
### Fixed
- Resolved an issue that prevented editing software profiles correctly.
- Fixed a bug where newly created commands failed to execute in the commands section.
---

View File

@ -20,7 +20,7 @@
</div>
</div>
<mat-expansion-panel *ngIf="isTreeViewActive" class="filters-panel">
<mat-expansion-panel *ngIf="isTreeViewActive" class="filters-panel" joyrideStep="filtersPanelStep" text="{{ 'filtersPanelStepText' | translate }}">
<mat-expansion-panel-header>
<mat-panel-title>{{ 'filters' | translate }}</mat-panel-title>
</mat-expansion-panel-header>
@ -53,7 +53,7 @@
</div>
</mat-expansion-panel>
<div *ngIf="!selectedUnidad; else detailsTemplate" class="card-container">
<div *ngIf="!selectedUnidad; else detailsTemplate" class="card-container" joyrideStep="organizationalUnitsStep" text="{{ 'organizationalUnitsStepText' | translate }}">
<mat-card *ngFor="let unidad of organizationalUnits"
[ngClass]="{'selected-item': unidad === selectedUnidad, 'clickable-item': true}"
(click)="onSelectUnidad(unidad)" class="unidad-card small-card">

View File

@ -511,7 +511,7 @@ export class GroupsComponent implements OnInit, OnDestroy {
iniciarTour(): void {
this.joyrideService.startTour({
steps: ['groupsTitleStepText', 'addStep', 'keyStep', 'unitStep', 'elementsStep', 'tabsStep'],
steps: ['groupsTitleStepText', 'filtersPanelStep', 'organizationalUnitsStep', 'addStep', 'keyStep', 'unitStep', 'elementsStep', 'tabsStep'],
showPrevButton: true,
themeColor: '#3f51b5',
});

View File

@ -121,6 +121,16 @@
</mat-select>
<mat-error>{{ 'hardwareProfileError' | translate }}</mat-error>
</mat-form-field>
<mat-form-field class="form-field">
<mat-label i18n="@@hardware-profile-label">Repositorio</mat-label>
<mat-select formControlName="repository">
<mat-option *ngFor="let repository of repositories" [value]="repository['@id']">
{{ repository.name }}
</mat-option>
</mat-select>
</mat-form-field>
</form>
</ng-template>
</div>

View File

@ -20,6 +20,7 @@ export class CreateClientComponent implements OnInit {
ogLives: any[] = [];
templates: any[] = [];
uploadedClients: any[] = [];
repositories: any[] = [];
loading: boolean = false;
displayedColumns: string[] = ['name', 'ip'];
isSingleClientForm: boolean = false;
@ -49,6 +50,7 @@ export class CreateClientComponent implements OnInit {
this.loadHardwareProfiles();
this.loadOgLives();
this.loadPxeTemplates();
this.loadRepositories();
}
initForm(): void {
@ -67,7 +69,8 @@ export class CreateClientComponent implements OnInit {
hardwareProfile: [
this.data.organizationalUnit?.networkSettings?.hardwareProfile?.['@id'] || null
],
ogLive: [null]
ogLive: [null],
repository: [null],
});
}
@ -126,6 +129,19 @@ export class CreateClientComponent implements OnInit {
);
}
loadRepositories(): void {
const url = `${this.baseUrl}/image-repositories?page=1&itemsPerPage=10000`;
this.http.get<any>(url).subscribe(
response => {
this.repositories = response['hydra:member'];
},
error => {
console.error('Error fetching ogLives:', error);
}
);
}
onFileUpload(event: any): void {
const file = event.target.files[0];
if (file) {
@ -209,6 +225,7 @@ export class CreateClientComponent implements OnInit {
template: this.clientForm.value.template || null,
hardwareProfile: this.clientForm.value.hardwareProfile || null,
ogLive: this.clientForm.value.ogLive || null,
repository: this.clientForm.value.repository || null,
serialNumber: null,
netiface: null,
netDriver: null

View File

@ -445,5 +445,7 @@
"maintenance": "Maintenance",
"subnet": "Subnet",
"parent": "Parent",
"adminUsersTitle": "Manage users"
"adminUsersTitle": "Manage users",
"filtersPanelStepText": "Use these filters to search or load configurations.",
"organizationalUnitsStepText": "List of Organizational Units. Click on one to view details."
}

View File

@ -447,5 +447,7 @@
"maintenance": "Mantenimiento",
"subnet": "Subred",
"parent": "Padre",
"adminUsersTitle": "Administrar usuarios"
"adminUsersTitle": "Administrar usuarios",
"filtersPanelStepText": "Utiliza estos filtros para buscar o cargar configuraciones.",
"organizationalUnitsStepText": "Lista de Unidades Organizacionales. Haz clic en una para ver detalles."
}

View File

@ -1,535 +1,94 @@
<?xml version="1.0"?>
<testsuite name="Chrome Headless 131.0.0.0 (Linux x86_64)" package="" timestamp="2024-11-19T13:35:34" id="0" hostname="alvaro-Latitude-3420" tests="38" errors="0" failures="32" time="0.486">
<testsuite name="Chrome Headless 131.0.0.0 (Linux x86_64)" package="" timestamp="2024-12-09T10:14:38" id="0" hostname="alvaro-Latitude-3420" tests="80" errors="0" failures="0" time="2.257">
<properties>
<property name="browser.fullName" value="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/131.0.0.0 Safari/537.36"/>
</properties>
<testcase name="CreateOperativeSystemComponent should create" time="0.071" classname="CreateOperativeSystemComponent"/>
<testcase name="AddClientsToPxeComponent should create" time="0.016" classname="AddClientsToPxeComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AddClientsToPxeComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AddClientsToPxeComponent_Template (ng:///AddClientsToPxeComponent.js:70:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="ClientsComponent should create" time="0.011" classname="ClientsComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'ClientsComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at ClientsComponent_Template (ng:///ClientsComponent.js:77:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="SoftwareComponent should create" time="0.019" classname="SoftwareComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.SoftwareComponent_Factory [as factory] (ng:///SoftwareComponent/ɵfac.js:6:52)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="OgDhcpSubnetsComponent should create" time="0.02" classname="OgDhcpSubnetsComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.OgDhcpSubnetsComponent_Factory [as factory] (ng:///OgDhcpSubnetsComponent/ɵfac.js:6:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="CreateCommandComponent should create" time="0.012" classname="CreateCommandComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'CreateCommandComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at CreateCommandComponent_Template (ng:///CreateCommandComponent.js:15:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="RepositoriesComponent should create" time="0.012" classname="RepositoriesComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[HttpClient -&gt; HttpClient]:
NullInjectorError: No provider for HttpClient!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'HttpClient', 'HttpClient' ] })
NullInjectorError: NullInjectorError: No provider for HttpClient!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.RepositoriesComponent_Factory [as factory] (ng:///RepositoriesComponent/ɵfac.js:5:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="PXEimagesComponent should create" time="0.024" classname="PXEimagesComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.PXEimagesComponent_Factory [as factory] (ng:///PXEimagesComponent/ɵfac.js:6:52)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="ExecuteCommandComponent should create" time="0.008" classname="ExecuteCommandComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[MatDialogRef -&gt; MatDialogRef]:
NullInjectorError: No provider for MatDialogRef!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'MatDialogRef', 'MatDialogRef' ] })
NullInjectorError: NullInjectorError: No provider for MatDialogRef!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.ExecuteCommandComponent_Factory [as factory] (ng:///ExecuteCommandComponent/ɵfac.js:4:51)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="OperativeSystemComponent should create" time="0.012" classname="OperativeSystemComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.OperativeSystemComponent_Factory [as factory] (ng:///OperativeSystemComponent/ɵfac.js:6:52)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="PxeBootFilesComponent should create" time="0.015" classname="PxeBootFilesComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.PxeBootFilesComponent_Factory [as factory] (ng:///PxeBootFilesComponent/ɵfac.js:6:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="ServerInfoDialogComponent should create" time="0.008" classname="ServerInfoDialogComponent"/>
<testcase name="EnvVarsComponent should create" time="0.005" classname="EnvVarsComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[HttpClient -&gt; HttpClient]:
NullInjectorError: No provider for HttpClient!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'HttpClient', 'HttpClient' ] })
NullInjectorError: NullInjectorError: No provider for HttpClient!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.EnvVarsComponent_Factory [as factory] (ng:///EnvVarsComponent/ɵfac.js:4:44)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="StatusComponent should create" time="0.013" classname="StatusComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.StatusComponent_Factory [as factory] (ng:///StatusComponent/ɵfac.js:5:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="SoftwareProfileComponent should create" time="0.011" classname="SoftwareProfileComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.SoftwareProfileComponent_Factory [as factory] (ng:///SoftwareProfileComponent/ɵfac.js:6:52)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="CalendarComponent should create" time="0.013" classname="CalendarComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.CalendarComponent_Factory [as factory] (ng:///CalendarComponent/ɵfac.js:6:52)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="AdminComponent el primer botón debería tener el routerLink correcto" time="0.008" classname="AdminComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AdminComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AdminComponent_Template (ng:///AdminComponent.js:13:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="AdminComponent el segundo botón debería tener el routerLink correcto" time="0.003" classname="AdminComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AdminComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AdminComponent_Template (ng:///AdminComponent.js:13:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="AdminComponent debería contener dos botones" time="0.002" classname="AdminComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AdminComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AdminComponent_Template (ng:///AdminComponent.js:13:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="AdminComponent debería crear el componente" time="0.002" classname="AdminComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AdminComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AdminComponent_Template (ng:///AdminComponent.js:13:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="AdminComponent el segundo botón debería tener el texto &quot;Roles&quot;" time="0.002" classname="AdminComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AdminComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AdminComponent_Template (ng:///AdminComponent.js:13:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="AdminComponent el primer botón debería tener el texto &quot;Usuarios&quot;" time="0.002" classname="AdminComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'AdminComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at AdminComponent_Template (ng:///AdminComponent.js:13:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="AppComponent should create the app" time="0.002" classname="AppComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[TranslateService -&gt; TranslateStore -&gt; TranslateStore]:
NullInjectorError: No provider for TranslateStore!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'TranslateService', 'TranslateStore', 'TranslateStore' ] })
NullInjectorError: NullInjectorError: No provider for TranslateStore!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at injectInjectorOnly (http://localhost:9876/_karma_webpack_/vendor.js:76056:36)
at Module.ɵɵinject (http://localhost:9876/_karma_webpack_/vendor.js:76062:59)
at Object.TranslateService_Factory [as factory] (http://localhost:9876/_karma_webpack_/vendor.js:163478:94)
at http://localhost:9876/_karma_webpack_/vendor.js:78093:35
at runInInjectorProfilerContext (http://localhost:9876/_karma_webpack_/vendor.js:75827:5)
at R3Injector.hydrate (http://localhost:9876/_karma_webpack_/vendor.js:78092:11)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77966:23)
</failure>
</testcase>
<testcase name="UsersComponent should create" time="0.008" classname="UsersComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'UsersComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at UsersComponent_Template (ng:///UsersComponent.js:133:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="PxeComponent should create the component" time="0.019" classname="PxeComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.PxeComponent_Factory [as factory] (ng:///PxeComponent/ɵfac.js:6:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="DeployImageComponent should create" time="0.017" classname="DeployImageComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[HttpClient -&gt; HttpClient]:
NullInjectorError: No provider for HttpClient!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'HttpClient', 'HttpClient' ] })
NullInjectorError: NullInjectorError: No provider for HttpClient!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.DeployImageComponent_Factory [as factory] (ng:///DeployImageComponent/ɵfac.js:4:48)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="OgdhcpComponent should create" time="0.003" classname="OgdhcpComponent"/>
<testcase name="CreateSoftwareProfileComponent should create" time="0.054" classname="CreateSoftwareProfileComponent"/>
<testcase name="OgbootStatusComponent should create the component" time="0.013" classname="OgbootStatusComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.OgbootStatusComponent_Factory [as factory] (ng:///OgbootStatusComponent/ɵfac.js:5:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="LoginComponent should create" time="0.009" classname="LoginComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[TranslateService -&gt; TranslateStore -&gt; TranslateStore]:
NullInjectorError: No provider for TranslateStore!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'TranslateService', 'TranslateStore', 'TranslateStore' ] })
NullInjectorError: NullInjectorError: No provider for TranslateStore!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at injectInjectorOnly (http://localhost:9876/_karma_webpack_/vendor.js:76056:36)
at Module.ɵɵinject (http://localhost:9876/_karma_webpack_/vendor.js:76062:59)
at Object.TranslateService_Factory [as factory] (http://localhost:9876/_karma_webpack_/vendor.js:163478:94)
at http://localhost:9876/_karma_webpack_/vendor.js:78093:35
at runInInjectorProfilerContext (http://localhost:9876/_karma_webpack_/vendor.js:75827:5)
at R3Injector.hydrate (http://localhost:9876/_karma_webpack_/vendor.js:78092:11)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77966:23)
</failure>
</testcase>
<testcase name="RolesComponent should create" time="0.009" classname="RolesComponent">
<failure type="">Error: NG0302: The pipe 'translate' could not be found in the 'RolesComponent' component. Verify that it is declared or imported in this module. Find more at https://angular.dev/errors/NG0302
error properties: Object({ code: -302 })
at getPipeDef (http://localhost:9876/_karma_webpack_/vendor.js:103465:11)
at ɵɵpipe (http://localhost:9876/_karma_webpack_/vendor.js:103408:15)
at RolesComponent_Template (ng:///RolesComponent.js:138:9)
at executeTemplate (http://localhost:9876/_karma_webpack_/vendor.js:86203:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87365:7)
at renderComponent (http://localhost:9876/_karma_webpack_/vendor.js:87311:3)
at renderChildComponents (http://localhost:9876/_karma_webpack_/vendor.js:87411:5)
at renderView (http://localhost:9876/_karma_webpack_/vendor.js:87393:7)
at ComponentFactory.create (http://localhost:9876/_karma_webpack_/vendor.js:91476:9)
at initComponent (http://localhost:9876/_karma_webpack_/vendor.js:116898:45)
</failure>
</testcase>
<testcase name="CreateSoftwareComponent should create" time="0.017" classname="CreateSoftwareComponent"/>
<testcase name="CommandsComponent should create" time="0.012" classname="CommandsComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.CommandsComponent_Factory [as factory] (ng:///CommandsComponent/ɵfac.js:6:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="CreateRepositoryComponent should create" time="0.005" classname="CreateRepositoryComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[HttpClient -&gt; HttpClient]:
NullInjectorError: No provider for HttpClient!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'HttpClient', 'HttpClient' ] })
NullInjectorError: NullInjectorError: No provider for HttpClient!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.CreateRepositoryComponent_Factory [as factory] (ng:///CreateRepositoryComponent/ɵfac.js:5:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="DashboardComponent should create the component" time="0.003" classname="DashboardComponent"/>
<testcase name="CommandsTaskComponent should create" time="0.011" classname="CommandsTaskComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[JoyrideService -&gt; JoyrideService]:
NullInjectorError: No provider for JoyrideService!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'JoyrideService', 'JoyrideService' ] })
NullInjectorError: NullInjectorError: No provider for JoyrideService!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.CommandsTaskComponent_Factory [as factory] (ng:///CommandsTaskComponent/ɵfac.js:6:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="CreateImageComponent should create" time="0.001" classname="CreateImageComponent">
<failure type="">Error: Unexpected "CreateImageComponent" found in the "declarations" array of the "TestBed.configureTestingModule" call, "CreateImageComponent" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?
at http://localhost:9876/_karma_webpack_/vendor.js:115668:15
at Array.forEach (&lt;anonymous&gt;)
at assertNoStandaloneComponents (http://localhost:9876/_karma_webpack_/vendor.js:115664:9)
at TestBedCompiler.configureTestingModule (http://localhost:9876/_karma_webpack_/vendor.js:115738:7)
at TestBedImpl.configureTestingModule (http://localhost:9876/_karma_webpack_/vendor.js:116819:19)
at TestBedImpl.configureTestingModule (http://localhost:9876/_karma_webpack_/vendor.js:116648:33)
at UserContext.&lt;anonymous&gt; (http://localhost:9876/_karma_webpack_/main.js:3164:70)
at Generator.next (&lt;anonymous&gt;)
at asyncGeneratorStep (http://localhost:9876/_karma_webpack_/vendor.js:203145:17)
at _next (http://localhost:9876/_karma_webpack_/vendor.js:203159:9)
</failure>
</testcase>
<testcase name="MainRepositoryViewComponent should create" time="0.014" classname="MainRepositoryViewComponent">
<failure type="">NullInjectorError: R3InjectorError(DynamicTestModule)[HttpClient -&gt; HttpClient]:
NullInjectorError: No provider for HttpClient!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ 'HttpClient', 'HttpClient' ] })
NullInjectorError: NullInjectorError: No provider for HttpClient!
at NullInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:76593:21)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at R3Injector.get (http://localhost:9876/_karma_webpack_/vendor.js:77975:27)
at ChainedInjector.get (http://localhost:9876/_karma_webpack_/vendor.js:80243:32)
at lookupTokenUsingModuleInjector (http://localhost:9876/_karma_webpack_/vendor.js:80586:31)
at getOrCreateInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80632:10)
at ɵɵdirectiveInject (http://localhost:9876/_karma_webpack_/vendor.js:85998:17)
at NodeInjectorFactory.MainRepositoryViewComponent_Factory [as factory] (ng:///MainRepositoryViewComponent/ɵfac.js:5:7)
at getNodeInjectable (http://localhost:9876/_karma_webpack_/vendor.js:80826:38)
at createRootComponent (http://localhost:9876/_karma_webpack_/vendor.js:91610:31)
</failure>
</testcase>
<testcase name="CreateSoftwareComponent should create" time="0.12" classname="CreateSoftwareComponent"/>
<testcase name="CommandsComponent should create" time="0.104" classname="CommandsComponent"/>
<testcase name="OgbootStatusComponent should create the component" time="0.054" classname="OgbootStatusComponent"/>
<testcase name="PxeComponent should have a defined currentPage" time="0.069" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined itemsPerPage" time="0.041" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined component" time="0.035" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined loading" time="0.037" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined page" time="0.036" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined selectedElements" time="0.032" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined pageSizeOptions" time="0.034" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined selectedItem" time="0.031" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined length" time="0.029" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined datePipe" time="0.028" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined dataSource" time="0.029" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined baseUrl" time="0.029" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined alertMessage" time="0.025" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined pxeTemplates" time="0.027" classname="PxeComponent"/>
<testcase name="PxeComponent should have a defined filters" time="0.029" classname="PxeComponent"/>
<testcase name="PxeComponent should create the component" time="0.025" classname="PxeComponent"/>
<testcase name="AdminComponent debería renderizar dos botones" time="0.012" classname="AdminComponent"/>
<testcase name="AdminComponent debería tener un botón con routerLink a &quot;/users&quot;" time="0.005" classname="AdminComponent"/>
<testcase name="AdminComponent debería aplicar la clase &quot;fab-button&quot; a ambos botones" time="0.005" classname="AdminComponent"/>
<testcase name="AdminComponent debería crear el componente" time="0.006" classname="AdminComponent"/>
<testcase name="CreateOperativeSystemComponent should create" time="0.017" classname="CreateOperativeSystemComponent"/>
<testcase name="PxeBootFilesComponent should create" time="0.048" classname="PxeBootFilesComponent"/>
<testcase name="CalendarComponent should create" time="0.05" classname="CalendarComponent"/>
<testcase name="CreateRepositoryComponent should create" time="0.018" classname="CreateRepositoryComponent"/>
<testcase name="PXEimagesComponent should create" time="0.077" classname="PXEimagesComponent"/>
<testcase name="SoftwareComponent should create" time="0.055" classname="SoftwareComponent"/>
<testcase name="CreateCommandComponent should create" time="0.033" classname="CreateCommandComponent"/>
<testcase name="AppComponent should default to Spanish if no language is saved in localStorage" time="0.01" classname="AppComponent"/>
<testcase name="AppComponent should create the app" time="0.003" classname="AppComponent"/>
<testcase name="AppComponent should set language to Spanish in sessionStorage on ngOnInit" time="0.002" classname="AppComponent"/>
<testcase name="AppComponent should have as title 'ogWebconsole'" time="0.003" classname="AppComponent"/>
<testcase name="AppComponent should set the language from localStorage on creation" time="0.003" classname="AppComponent"/>
<testcase name="DeployImageComponent should create" time="0.08" classname="DeployImageComponent"/>
<testcase name="CreateSoftwareProfileComponent should create" time="0.085" classname="CreateSoftwareProfileComponent"/>
<testcase name="OgDhcpSubnetsComponent should create" time="0.078" classname="OgDhcpSubnetsComponent"/>
<testcase name="OgDhcpSubnetsComponent should call syncSubnets and handle success" time="0.044" classname="OgDhcpSubnetsComponent"/>
<testcase name="SoftwareProfileComponent should create" time="0.051" classname="SoftwareProfileComponent"/>
<testcase name="RolesComponent should create" time="0.021" classname="RolesComponent"/>
<testcase name="RolesComponent should initialize the dataSource" time="0.005" classname="RolesComponent"/>
<testcase name="RolesComponent should have a defined columns array" time="0.005" classname="RolesComponent"/>
<testcase name="RolesComponent should have a default itemsPerPage value" time="0.007" classname="RolesComponent"/>
<testcase name="EnvVarsComponent should create" time="0.019" classname="EnvVarsComponent"/>
<testcase name="MainRepositoryViewComponent should create" time="0.071" classname="MainRepositoryViewComponent"/>
<testcase name="StatusComponent should create" time="0.022" classname="StatusComponent"/>
<testcase name="CommandsTaskComponent should create" time="0.039" classname="CommandsTaskComponent"/>
<testcase name="LoginComponent should add rotating class to the logo when loading" time="0.025" classname="LoginComponent"/>
<testcase name="LoginComponent should create" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should add &quot;invalid&quot; class to username input if it is invalid and touched" time="0.011" classname="LoginComponent"/>
<testcase name="LoginComponent should show a success toast message" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should not add rotating class to the logo when not loading" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should show error message on login failure" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should toggle password visibility when clicking the button" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should disable the login button if username or password is missing" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should change language to English and save to localStorage" time="0.009" classname="LoginComponent"/>
<testcase name="LoginComponent should call onLogin and navigate on successful login" time="0.012" classname="LoginComponent"/>
<testcase name="LoginComponent should enable the login button if username and password are present" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should change language to Spanish and save to localStorage" time="0.01" classname="LoginComponent"/>
<testcase name="LoginComponent should show an error toast message" time="0.01" classname="LoginComponent"/>
<testcase name="ExecuteCommandComponent should create" time="0.025" classname="ExecuteCommandComponent"/>
<testcase name="CreateImageComponent should create" time="0.025" classname="CreateImageComponent"/>
<testcase name="OgdhcpComponent should create" time="0.005" classname="OgdhcpComponent"/>
<testcase name="DashboardComponent should create the component" time="0.006" classname="DashboardComponent"/>
<testcase name="GroupsComponent should call getFilters on ngOnInit" time="0.141" classname="GroupsComponent"/>
<testcase name="GroupsComponent should call search on ngOnInit" time="0.011" classname="GroupsComponent"/>
<testcase name="GroupsComponent should call getFilters method" time="0.014" classname="GroupsComponent"/>
<testcase name="GroupsComponent should call onSelectUnidad method" time="0.009" classname="GroupsComponent"/>
<testcase name="GroupsComponent should call onTabChange method" time="0.011" classname="GroupsComponent"/>
<testcase name="GroupsComponent should create" time="0.013" classname="GroupsComponent"/>
<testcase name="GroupsComponent should call search method" time="0.011" classname="GroupsComponent"/>
<testcase name="ServerInfoDialogComponent should create" time="0.013" classname="ServerInfoDialogComponent"/>
<testcase name="UsersComponent should call search on init" time="0.032" classname="UsersComponent"/>
<testcase name="UsersComponent should have default values for pagination" time="0.006" classname="UsersComponent"/>
<testcase name="UsersComponent should create" time="0.008" classname="UsersComponent"/>
<testcase name="UsersComponent should define displayedColumns" time="0.007" classname="UsersComponent"/>
<testcase name="UsersComponent should initialize the dataSource" time="0.007" classname="UsersComponent"/>
<testcase name="OperativeSystemComponent should create" time="0.041" classname="OperativeSystemComponent"/>
<testcase name="RepositoriesComponent should create" time="0.037" classname="RepositoriesComponent"/>
<system-out>
<![CDATA[
<![CDATA[Chrome Headless 131.0.0.0 (Linux x86_64) ERROR: 'Error fetching organizational units:', HttpErrorResponse{headers: HttpHeaders{normalizedNames: Map{}, lazyUpdate: null, headers: Map{}}, status: 0, statusText: 'Unknown Error', url: 'https://127.0.0.1:8443/organizational-units?type=classroom&page=1&itemsPerPage=50', ok: false, name: 'HttpErrorResponse', message: 'Http failure response for https://127.0.0.1:8443/organizational-units?type=classroom&page=1&itemsPerPage=50: 0 Unknown Error', error: ProgressEvent{isTrusted: true}}
,Chrome Headless 131.0.0.0 (Linux x86_64) ERROR: 'Error al sincronizar', HttpErrorResponse{headers: HttpHeaders{normalizedNames: Map{}, lazyUpdate: null, headers: Map{}}, status: 0, statusText: 'Unknown Error', url: 'https://127.0.0.1:8443/og-lives/sync', ok: false, name: 'HttpErrorResponse', message: 'Http failure response for https://127.0.0.1:8443/og-lives/sync: 0 Unknown Error', error: ProgressEvent{isTrusted: true}}
,Chrome Headless 131.0.0.0 (Linux x86_64) ERROR: 'Error fetching images', HttpErrorResponse{headers: HttpHeaders{normalizedNames: Map{}, lazyUpdate: null, headers: Map{}}, status: 0, statusText: 'Unknown Error', url: 'https://127.0.0.1:8443/og-lives?page=1&itemsPerPage=1000', ok: false, name: 'HttpErrorResponse', message: 'Http failure response for https://127.0.0.1:8443/og-lives?page=1&itemsPerPage=1000: 0 Unknown Error', error: ProgressEvent{isTrusted: true}}
,Chrome Headless 131.0.0.0 (Linux x86_64) ERROR: 'Error fetching og lives', HttpErrorResponse{headers: HttpHeaders{normalizedNames: Map{}, lazyUpdate: null, headers: Map{}}, status: 0, statusText: 'Unknown Error', url: 'https://127.0.0.1:8443/og-lives?page=1&itemsPerPage=1000', ok: false, name: 'HttpErrorResponse', message: 'Http failure response for https://127.0.0.1:8443/og-lives?page=1&itemsPerPage=1000: 0 Unknown Error', error: ProgressEvent{isTrusted: true}}
]]>
</system-out>
<system-err/>