Compare commits

...

2 Commits

Author SHA1 Message Date
Alvaro Puente Mella 07ac93c4af refs #1042 Advanced search size buttons
testing/ogGui-multibranch/pipeline/head This commit looks good Details
2024-10-29 12:24:07 +01:00
Alvaro Puente Mella 1fca985cee refs #1042 Advanced search size adjust 2024-10-29 12:13:32 +01:00
3 changed files with 50 additions and 48 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
ogWebconsole/.env
ogWebconsole/test-results/ogGui-junit-report.xml

View File

@ -124,11 +124,6 @@ mat-spinner {
align-self: center;
}
.container {
display: flex;
justify-content: flex-end;
}
.classroomBtn-container {
display: flex;
justify-content: flex-end;
@ -176,11 +171,14 @@ mat-spinner {
.result-card {
width: 100%;
max-width: 250px;
height: auto;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
padding: 15px;
padding: 5px;
margin: 10px 0;
}
.result-card:hover {
@ -219,6 +217,7 @@ mat-spinner {
.result-clients {
font-size: 0.9rem;
color: #007bff;
color: #007bff;
margin: 5px 0;
}
@ -241,6 +240,7 @@ mat-card {
}
.red-card {
background-color: #f35f53;
background-color: #f35f53;
color: white;
}
@ -248,6 +248,8 @@ mat-card {
.green-card {
background-color: #4caf50;
color: white;
background-color: #4caf50;
color: white;
}
.view-mode-buttons button.active {
@ -255,16 +257,12 @@ mat-card {
color: #3f51b5;
}
.result-card {
width: 100%;
}
.result-card-list {
display: flex;
flex-direction: row;
align-items: center;
padding: 5px;
margin-bottom: 4px;
margin-bottom: 2px;
border: 1px solid #ddd;
}
@ -273,6 +271,7 @@ mat-card {
}
.result-card-list .result-title {
font-size: 14px;
font-size: 14px;
font-weight: bold;
margin-right: 8px;
@ -283,10 +282,12 @@ mat-card {
flex-direction: row;
gap: 8px;
font-size: 12px;
font-size: 12px;
}
.result-card-list p {
margin: 0;
margin: 0;
}
.result-list {

View File

@ -1,45 +1,45 @@
<?xml version="1.0"?>
<testsuite name="Chrome 123.0.0.0 (Linux x86_64)" package="" timestamp="2024-10-24T11:02:26" id="0" hostname="Ubnt" tests="31" errors="0" failures="0" time="1.13">
<testsuite name="Chrome Headless 130.0.0.0 (Linux x86_64)" package="" timestamp="2024-10-29T10:46:18" id="0" hostname="alvaro-Latitude-3420" tests="31" errors="0" failures="0" time="0.938">
<properties>
<property name="browser.fullName" value="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"/>
<property name="browser.fullName" value="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/130.0.0.0 Safari/537.36"/>
</properties>
<testcase name="CreateOperativeSystemComponent should create" time="0.106" classname="CreateOperativeSystemComponent"/>
<testcase name="PxeBootFilesComponent should create" time="0.083" classname="PxeBootFilesComponent"/>
<testcase name="OgDhcpSubnetsComponent should create" time="0.068" classname="OgDhcpSubnetsComponent"/>
<testcase name="PXEimagesComponent should create" time="0.092" classname="PXEimagesComponent"/>
<testcase name="AddClientsToPxeComponent should create" time="0.024" classname="AddClientsToPxeComponent"/>
<testcase name="RolesComponent should create" time="0.024" classname="RolesComponent"/>
<testcase name="SoftwareProfileComponent should create" time="0.05" classname="SoftwareProfileComponent"/>
<testcase name="CreateCommandComponent should create" time="0.026" classname="CreateCommandComponent"/>
<testcase name="DashboardComponent should create the component" time="0.008" classname="DashboardComponent"/>
<testcase name="CalendarComponent should create" time="0.049" classname="CalendarComponent"/>
<testcase name="UsersComponent should create" time="0.023" classname="UsersComponent"/>
<testcase name="SoftwareComponent should create" time="0.053" classname="SoftwareComponent"/>
<testcase name="OgdhcpComponent should create" time="0.006" classname="OgdhcpComponent"/>
<testcase name="StatusComponent should create" time="0.032" classname="StatusComponent"/>
<testcase name="OperativeSystemComponent should create" time="0.04" classname="OperativeSystemComponent"/>
<testcase name="LoginComponent should create" time="0.036" classname="LoginComponent"/>
<testcase name="CommandsTaskComponent should create" time="0.041" classname="CommandsTaskComponent"/>
<testcase name="CommandsComponent should create" time="0.037" classname="CommandsComponent"/>
<testcase name="CreateSoftwareProfileComponent should create" time="0.067" classname="CreateSoftwareProfileComponent"/>
<testcase name="OgbootStatusComponent should create the component" time="0.017" classname="OgbootStatusComponent"/>
<testcase name="ClientsComponent should create" time="0.032" classname="ClientsComponent"/>
<testcase name="AdminComponent el primer botón debería tener el texto &quot;Usuarios&quot;" time="0.022" classname="AdminComponent"/>
<testcase name="AdminComponent el segundo botón debería tener el routerLink correcto" time="0.017" classname="AdminComponent"/>
<testcase name="AdminComponent el primer botón debería tener el routerLink correcto" time="0.016" classname="AdminComponent"/>
<testcase name="AdminComponent debería crear el componente" time="0.008" classname="AdminComponent"/>
<testcase name="AdminComponent el segundo botón debería tener el texto &quot;Roles&quot;" time="0.011" classname="AdminComponent"/>
<testcase name="AdminComponent debería contener dos botones" time="0.009" classname="AdminComponent"/>
<testcase name="AppComponent should create the app" time="0.009" classname="AppComponent"/>
<testcase name="CreateSoftwareComponent should create" time="0.058" classname="CreateSoftwareComponent"/>
<testcase name="PxeComponent should create the component" time="0.05" classname="PxeComponent"/>
<testcase name="CreateSoftwareComponent should create" time="0.127" classname="CreateSoftwareComponent"/>
<testcase name="UsersComponent should create" time="0.039" classname="UsersComponent"/>
<testcase name="CommandsComponent should create" time="0.054" classname="CommandsComponent"/>
<testcase name="AppComponent should create the app" time="0.004" classname="AppComponent"/>
<testcase name="AddClientsToPxeComponent should create" time="0.031" classname="AddClientsToPxeComponent"/>
<testcase name="CreateCommandComponent should create" time="0.029" classname="CreateCommandComponent"/>
<testcase name="OgbootStatusComponent should create the component" time="0.03" classname="OgbootStatusComponent"/>
<testcase name="ServerInfoDialogComponent should create" time="0.016" classname="ServerInfoDialogComponent"/>
<testcase name="AdminComponent debería crear el componente" time="0.015" classname="AdminComponent"/>
<testcase name="AdminComponent el segundo botón debería tener el texto &quot;Roles&quot;" time="0.008" classname="AdminComponent"/>
<testcase name="AdminComponent el primer botón debería tener el texto &quot;Usuarios&quot;" time="0.006" classname="AdminComponent"/>
<testcase name="AdminComponent debería contener dos botones" time="0.005" classname="AdminComponent"/>
<testcase name="AdminComponent el segundo botón debería tener el routerLink correcto" time="0.007" classname="AdminComponent"/>
<testcase name="AdminComponent el primer botón debería tener el routerLink correcto" time="0.005" classname="AdminComponent"/>
<testcase name="DashboardComponent should create the component" time="0.004" classname="DashboardComponent"/>
<testcase name="PXEimagesComponent should create" time="0.071" classname="PXEimagesComponent"/>
<testcase name="CalendarComponent should create" time="0.033" classname="CalendarComponent"/>
<testcase name="OgDhcpSubnetsComponent should create" time="0.054" classname="OgDhcpSubnetsComponent"/>
<testcase name="OgdhcpComponent should create" time="0.005" classname="OgdhcpComponent"/>
<testcase name="StatusComponent should create" time="0.017" classname="StatusComponent"/>
<testcase name="CreateOperativeSystemComponent should create" time="0.015" classname="CreateOperativeSystemComponent"/>
<testcase name="LoginComponent should create" time="0.027" classname="LoginComponent"/>
<testcase name="SoftwareComponent should create" time="0.04" classname="SoftwareComponent"/>
<testcase name="OperativeSystemComponent should create" time="0.032" classname="OperativeSystemComponent"/>
<testcase name="CreateSoftwareProfileComponent should create" time="0.105" classname="CreateSoftwareProfileComponent"/>
<testcase name="SoftwareProfileComponent should create" time="0.031" classname="SoftwareProfileComponent"/>
<testcase name="ClientsComponent should create" time="0.014" classname="ClientsComponent"/>
<testcase name="PxeComponent should create the component" time="0.034" classname="PxeComponent"/>
<testcase name="PxeBootFilesComponent should create" time="0.036" classname="PxeBootFilesComponent"/>
<testcase name="RolesComponent should create" time="0.015" classname="RolesComponent"/>
<testcase name="CommandsTaskComponent should create" time="0.029" classname="CommandsTaskComponent"/>
<system-out>
<![CDATA[Chrome 123.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 123.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}}
,Chrome 123.0.0.0 (Linux x86_64) LOG: 'Selected subnet UUID:', Object{}
,Chrome 123.0.0.0 (Linux x86_64) LOG: Object{}
,Chrome 123.0.0.0 (Linux x86_64) LOG: Object{}
<![CDATA[Chrome Headless 130.0.0.0 (Linux x86_64) LOG: 'Selected subnet UUID:', Object{}
,Chrome Headless 130.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 130.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}}
,Chrome Headless 130.0.0.0 (Linux x86_64) LOG: Object{}
,Chrome Headless 130.0.0.0 (Linux x86_64) LOG: Object{}
]]>
</system-out>