test: rewrite executions tests with playwright (#1207)

This commit is contained in:
Rıdvan Akca
2023-08-11 20:37:29 +03:00
committed by Rıdvan Akca
parent 8f7785e9d2
commit a5b31da3cc
5 changed files with 79 additions and 3 deletions

View File

@@ -37,10 +37,12 @@ function ExecutionStepDate(props: Pick<IExecutionStep, 'createdAt'>) {
const relativeCreatedAt = createdAt.toRelative();
return (
<Tooltip title={createdAt.toLocaleString(DateTime.DATETIME_FULL_WITH_SECONDS)}>
<Tooltip
title={createdAt.toLocaleString(DateTime.DATETIME_FULL_WITH_SECONDS)}
>
<Typography variant="caption" gutterBottom>
{formatMessage('executionStep.executedAt', {
datetime: relativeCreatedAt
datetime: relativeCreatedAt,
})}
</Typography>
</Tooltip>
@@ -117,7 +119,7 @@ export default function ExecutionStep(
<SearchableJSONViewer data={executionStep.dataIn} />
</TabPanel>
<TabPanel value={activeTabIndex} index={1}>
<TabPanel value={activeTabIndex} index={1} data-test="data-out-panel">
<SearchableJSONViewer data={executionStep.dataOut} />
</TabPanel>