-
- Test Plan: {testPlanVersion.title}
-
-
- AT and Browser: {atName} with{' '}
- {browserName}
-
-
- Current version:{' '}
- {gitUpdatedDateToString(
- testPlanVersion.updatedAt
- )}{' '}
- {testPlanVersion.gitMessage} (
- {testPlanVersion.gitSha.substring(0, 7)})
-
-
- Latest version:
- {gitUpdatedDateToString(
- latestTestPlanVersion.updatedAt
- )}{' '}
- {latestTestPlanVersion.gitMessage} (
- {latestTestPlanVersion.gitSha.substring(0, 7)})
-
-
-
- {(() => {
- if (!runsWithResults?.length) {
- return (
-
-
-
- );
- }
- const testers = runsWithResults.map(
- testPlanRun => testPlanRun.tester.username
- );
-
- let deletionNote;
- if (!testsToDelete.length) {
- deletionNote = (
- <>
- All test results can be copied from
- the old report to the new report.
- >
- );
- } else {
- deletionNote = (
- <>
- Note that {testsToDelete.length}{' '}
- {testsToDelete.length === 1
- ? 'test differs'
- : 'tests differ'}{' '}
- between the old and new versions and
- cannot be automatically copied.
- >
- );
- }
-
- return (
-
- Found {allTestResults.length} partial or
- completed test{' '}
- {allTestResults.length === 1
- ? 'result'
- : 'results'}{' '}
- for{' '}
- {testers.length > 1
- ? 'testers'
- : 'tester'}{' '}
- {toSentence(testers)}. {deletionNote}
-
- );
- })()}
-
-