-
+
Product Info
@@ -2166,19 +2162,19 @@ Ports Missing/Down: ${missing.length}\n\n`
-
+
Technical Specs
Specification
- Actual
+ Actual
Default
IOS-XE Version
- ${iosVersion}
+ ${iosName + ' ' + iosVersion}
${'N/A'}
@@ -2210,24 +2206,28 @@ Ports Missing/Down: ${missing.length}\n\n`
-
+
Receiving & Inspection Notes
⚠ Warning from Warehouse
-
Box arrived with slight indentation on the left corner. Internal foam was still intact. Serial number on box was partially obscured by shipping label but verified upon unboxing.
-
+ Box arrived with slight indentation on the left corner. Internal foam was still intact. Serial number on box was partially obscured by shipping label but verified upon unboxing.
+ Not Available
+
Accessory Checklist
-
+
Rackmount
PSU (Internal)
Console Cable
Documents
Original Box
+
+ Not Available
+
@@ -2258,14 +2258,30 @@ Ports Missing/Down: ${missing.length}\n\n`
Received
-
- Unknown
+
+ Not Available
${momentTZ().tz(timeZone).format('DD MMM')}
+
+
+ ✓
+
+
+
+ Visual Check
+
+
+ Not Available
+
+
+ ${momentTZ().tz(timeZone).format('DD MMM')}
+
+
+
✓
@@ -2274,26 +2290,10 @@ Ports Missing/Down: ${missing.length}\n\n`
Software Test
- ${snapshot?.userTest?.dpelp?.name || ''}
+ ${this?.userTest?.dpelp?.name || ''}
- ${momentTZ(snapshot?.userTest?.dpelp?.time).tz(timeZone).format('DD MMM, HH:mm')}
-
-
-
-
-
- ✓
-
-
-
- Physical Check
-
-
- ${snapshot?.userTest?.physical?.name || ''}
-
-
- ${momentTZ(snapshot?.userTest?.physical?.time).tz(timeZone).format('DD MMM, HH:mm')}
+ ${momentTZ(this?.userTest?.dpelp?.time).tz(timeZone).format('DD MMM, HH:mm')}
@@ -2313,17 +2313,18 @@ Ports Missing/Down: ${missing.length}\n\n`
-
-
+
+
- Physical Check
+ Visual Check
- ${snapshot?.userTest?.physical?.name || ''} · ${momentTZ(snapshot?.userTest?.physical?.time).tz(timeZone).format('DD MMM, HH:mm')}
+ ${this?.userTest?.physical?.name || ''} · ${momentTZ(this?.userTest?.physical?.time).tz(timeZone).format('DD MMM, HH:mm')}
+ Not Available
@@ -2340,9 +2341,10 @@ Ports Missing/Down: ${missing.length}\n\n`
-
+
${checklistRowsHtml}
+ Not Available
@@ -2359,7 +2361,7 @@ Ports Missing/Down: ${missing.length}\n\n`
Software Check
- ${snapshot?.userTest?.dpelp?.name || ''} · ${momentTZ(snapshot?.userTest?.dpelp?.time).tz(timeZone).format('DD MMM, HH:mm')}
+ ${this?.userTest?.dpelp?.name || ''} · ${momentTZ(this?.userTest?.dpelp?.time).tz(timeZone).format('DD MMM, HH:mm')}
@@ -2401,7 +2403,7 @@ Ports Missing/Down: ${missing.length}\n\n`
CONSOLE RAW OUTPUT (Boot Log snippet)
- ${snapshot?.outputTestLog || 'No test log available'}
+ ${this?.outputTestLog || 'No test log available'}
@@ -2416,14 +2418,15 @@ Ports Missing/Down: ${missing.length}\n\n`
this.updateNote(config?.inventory?.sn, this.dataDPELP as DataDPELP)
await sendMessageToMail(
- `[ATC] - [${config.stationName} - Line: ${config.lineNumber}] - [${this.config.inventory?.pid}] - [${this.config.inventory?.sn}] - Summary of Testing Results`,
+ `[ATC] - [${config.stationName} - L${config.lineNumber}] - ${this.config.inventory?.pid} - ${this.config.inventory?.sn} - Test Summary`,
body
)
+ this.outputTestLog = ''
this.socketIO.emit('summary_tested', {
stationId: this.config.stationId,
lineId: this.config.id,
body: body,
- title: `[${config.stationName} - Line: ${config.lineNumber}] - Summary of Testing Results`,
+ title: `[ATC] - [${config.stationName} - L${config.lineNumber}] - ${this.config.inventory?.pid} - ${this.config.inventory?.sn} - Test Summary`,
})
}
@@ -2465,8 +2468,6 @@ Ports Missing/Down: ${missing.length}\n\n`
snapConfig: this.config,
snapPhysical: this.physicalTest,
reason: '',
- outputTestLog: this.outputTestLog,
- userTest: this.userTest,
}
this.debounceSendSummaryReport = setTimeout(() => {
if (!this.config.listFeatureTested?.includes('PHYSICAL')) {
@@ -2477,8 +2478,6 @@ Ports Missing/Down: ${missing.length}\n\n`
this.config.listFeatureTested = ['DPELP', 'PHYSICAL', 'SUMMARY']
this.sendFeatureTested()
this.sendReportSummaryV2(snapshot)
- this.outputTestLog = ''
- this.userTest = { dpelp: { name: '', time: 0 }, physical: { name: '', time: 0 } }
}, timeout)
}
diff --git a/FRONTEND/src/App.tsx b/FRONTEND/src/App.tsx
index c2642b7..802c85e 100644
--- a/FRONTEND/src/App.tsx
+++ b/FRONTEND/src/App.tsx
@@ -493,7 +493,9 @@ function App() {
if (
valueLine &&
openModalTerminal &&
- selectedLine?.id === valueLine?.id
+ selectedLine?.id === valueLine?.id &&
+ (!valueLine?.listPortsPhysical ||
+ valueLine?.listPortsPhysical?.length === 0)
)
setLinesConfirmSkipPort((pre) => [
...pre,
diff --git a/FRONTEND/src/components/CardLine.tsx b/FRONTEND/src/components/CardLine.tsx
index c4c0333..8f22f54 100644
--- a/FRONTEND/src/components/CardLine.tsx
+++ b/FRONTEND/src/components/CardLine.tsx
@@ -158,7 +158,7 @@ const CardLine = ({
const text = lines.join("\n");
const match = text.match(
- /^RESULT:\s*(PASS WITH WARNING|PASS|FAIL|INSUFFICIENT DATA)/im,
+ /RESULT:\s*(PASS WITH WARNING|PASS|FAIL|INSUFFICIENT DATA)/im,
);
if (!match) {