-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: render timings of retry; render logo from file; refactor some s…
…tyles
- Loading branch information
Showing
18 changed files
with
230 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 8 additions & 4 deletions
12
src/package/utils/report/client/e2edRenderTestRunDetails.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
import type {TestRun} from '../../../types/internal'; | ||
import type {SafeHtml, TestRun} from '../../../types/internal'; | ||
|
||
import type {e2edSanitizeHtml as E2edSanitizeHtml} from './sanitizeHtml'; | ||
|
||
declare const e2edSanitizeHtml: typeof E2edSanitizeHtml; | ||
|
||
/** | ||
* Render tag <article class="test-detail"> with test run details. | ||
* Render tag <article class="test-details"> with test run details. | ||
* This global client function should not use scope variables (except other global functions). | ||
* @internal | ||
*/ | ||
export function e2edRenderTestRunDetails(testRun: TestRun): string { | ||
export function e2edRenderTestRunDetails(testRun: TestRun): SafeHtml { | ||
void testRun; | ||
|
||
return '<article class="test-detail"></article>'; | ||
return e2edSanitizeHtml`<article class="test-details"></article>`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.