Update
This commit is contained in:
parent
2ecb153118
commit
b5c84e5cee
|
|
@ -1336,7 +1336,7 @@ Ports Missing/Down: ${missing.length}\n\n`
|
|||
this.config.listFeatureTested?.includes('PHYSICAL') &&
|
||||
this.config.listFeatureTested?.includes('DPELP')
|
||||
)
|
||||
this.setTimeoutSendSummaryReport(30000)
|
||||
this.setTimeoutSendSummaryReport(5000)
|
||||
const formReport = this.physicalTest.getFormReport(this.config.inventory)
|
||||
const reasonSkipPhysical =
|
||||
typeof reason === 'string' && reason.trim().length > 0
|
||||
|
|
|
|||
|
|
@ -86,6 +86,13 @@ const parseLog = (data: string) => {
|
|||
}
|
||||
}
|
||||
|
||||
const SOFTWARE_IMAGE = records['SOFTWARE_IMAGE'] || ''
|
||||
if (SOFTWARE_IMAGE?.includes('/')) {
|
||||
const splitIOS =
|
||||
SOFTWARE_IMAGE.split('/')?.length > 0 ? SOFTWARE_IMAGE.split('/')[1] : SOFTWARE_IMAGE
|
||||
records['SOFTWARE_IMAGE'] = splitIOS
|
||||
}
|
||||
|
||||
return [records]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,10 +58,13 @@ export default function ModalConfirmRunPhysical({
|
|||
size={"xl"}
|
||||
style={{ position: "absolute", left: 0 }}
|
||||
opened={dataLines.length > 0}
|
||||
onClose={() => {}}
|
||||
onClose={() => {
|
||||
setListLines([]);
|
||||
setDataLines([]);
|
||||
}}
|
||||
closeOnClickOutside={false}
|
||||
closeOnEscape={false}
|
||||
withCloseButton={false}
|
||||
// withCloseButton={false}
|
||||
title="Confirm Run Test Ports"
|
||||
>
|
||||
<Box>
|
||||
|
|
@ -72,7 +75,7 @@ export default function ModalConfirmRunPhysical({
|
|||
style={{
|
||||
border: "1px #ccc solid",
|
||||
borderTop:
|
||||
i < dataLines.length - 1 || dataLines.length === 1
|
||||
i < dataLines.length - 1 || dataLines.length <= 2
|
||||
? "1px solid #ccc"
|
||||
: 0,
|
||||
borderBottom:
|
||||
|
|
|
|||
|
|
@ -1493,7 +1493,12 @@ const ModalTerminal = ({
|
|||
/>
|
||||
<Button
|
||||
fw={400}
|
||||
disabled={isDisable}
|
||||
disabled={
|
||||
isDisable ||
|
||||
(line?.runningScenario && line?.runningScenario?.length > 0
|
||||
? true
|
||||
: false)
|
||||
}
|
||||
variant="outline"
|
||||
color="yellow"
|
||||
style={{ height: "30px", width: "100px" }}
|
||||
|
|
@ -1504,7 +1509,12 @@ const ModalTerminal = ({
|
|||
Scenario
|
||||
</Button>
|
||||
<Button
|
||||
disabled={isDisable}
|
||||
disabled={
|
||||
isDisable ||
|
||||
(line?.runningScenario && line?.runningScenario?.length > 0
|
||||
? true
|
||||
: false)
|
||||
}
|
||||
fw={400}
|
||||
variant="outline"
|
||||
color="green"
|
||||
|
|
@ -1517,7 +1527,12 @@ const ModalTerminal = ({
|
|||
Select IOS
|
||||
</Button>
|
||||
<Button
|
||||
disabled={isDisable}
|
||||
disabled={
|
||||
isDisable ||
|
||||
(line?.runningScenario && line?.runningScenario?.length > 0
|
||||
? true
|
||||
: false)
|
||||
}
|
||||
fw={400}
|
||||
variant="outline"
|
||||
color="yellow"
|
||||
|
|
|
|||
Loading…
Reference in New Issue