1+ <testExecutions version =" 1" >
2+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/utils/humanize.test.ts" >
3+ <testCase name =" humanizeTime returns ' a few seconds ago' for < 15s ago" duration =" 33" />
4+ <testCase name =" humanizeTime returns ' about a minute ago' for < 75s ago" duration =" 1" />
5+ <testCase name =" humanizeTime returns ' 20 minutes ago' for < 45min ago" duration =" 1" />
6+ <testCase name =" humanizeTime returns ' about an hour ago' for < 75min ago" duration =" 1" />
7+ <testCase name =" humanizeTime returns ' 5 hours ago' for < 23h ago" duration =" 1" />
8+ <testCase name =" humanizeTime returns ' about a day ago' for < 26h ago" duration =" 0" />
9+ <testCase name =" humanizeTime returns ' 3 days ago' for > 26h ago" duration =" 1" />
10+ <testCase name =" humanizeTime returns ' a few seconds from now' for < 15s ahead" duration =" 24" />
11+ <testCase name =" humanizeTime returns ' about a minute from now' for < 75s ahead" duration =" 1" />
12+ <testCase name =" humanizeTime returns ' 20 minutes from now' for < 45min ahead" duration =" 1" />
13+ <testCase name =" humanizeTime returns ' about an hour from now' for < 75min ahead" duration =" 2" />
14+ <testCase name =" humanizeTime returns ' 5 hours from now' for < 23h ahead" duration =" 0" />
15+ <testCase name =" humanizeTime returns ' about a day from now' for < 26h ahead" duration =" 1" />
16+ <testCase name =" humanizeTime returns ' 3 days from now' for > 26h ahead" duration =" 0" />
17+ </file >
18+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/utils/numbers.test.ts" >
19+ <testCase name =" numbers defaultNumber should use the default when the input is not a number" duration =" 13" />
20+ <testCase name =" numbers defaultNumber should use the number when it is a number" duration =" 0" />
21+ <testCase name =" numbers clamp should clamp high numbers" duration =" 1" />
22+ <testCase name =" numbers clamp should clamp low numbers" duration =" 0" />
23+ <testCase name =" numbers clamp should not clamp numbers in range" duration =" 1" />
24+ <testCase name =" numbers clamp should clamp floats" duration =" 1" />
25+ <testCase name =" numbers sum should sum" duration =" 1" />
26+ <testCase name =" numbers percentageWithin should work within 0-100" duration =" 0" />
27+ <testCase name =" numbers percentageWithin should work within 0-100 when pct > 1" duration =" 0" />
28+ <testCase name =" numbers percentageWithin should work within 0-100 when pct < 0" duration =" 0" />
29+ <testCase name =" numbers percentageWithin should work with ranges other than 0-100" duration =" 0" />
30+ <testCase name =" numbers percentageWithin should work with ranges other than 0-100 when pct > 1" duration =" 0" />
31+ <testCase name =" numbers percentageWithin should work with ranges other than 0-100 when pct < 0" duration =" 8" />
32+ <testCase name =" numbers percentageWithin should work with floats" duration =" 1" />
33+ <testCase name =" numbers percentageOf should work within 0-100" duration =" 13" />
34+ <testCase name =" numbers percentageOf should work within 0-100 when val > 100" duration =" 9" />
35+ <testCase name =" numbers percentageOf should work within 0-100 when val < 0" duration =" 0" />
36+ <testCase name =" numbers percentageOf should work with ranges other than 0-100" duration =" 0" />
37+ <testCase name =" numbers percentageOf should work with ranges other than 0-100 when val > 100" duration =" 14" />
38+ <testCase name =" numbers percentageOf should work with ranges other than 0-100 when val < 0" duration =" 0" />
39+ <testCase name =" numbers percentageOf should work with floats" duration =" 0" />
40+ <testCase name =" numbers percentageOf should return 0 for values that cause a division by zero" duration =" 0" />
41+ </file >
42+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/utils/i18n.test.ts" >
43+ <testCase name =" i18n utils should wrap registerTranslations" duration =" 9" />
44+ <testCase name =" i18n utils should wrap setMissingEntryGenerator" duration =" 1" />
45+ <testCase name =" i18n utils should wrap getLocale" duration =" 1" />
46+ <testCase name =" i18n utils should wrap setLocale" duration =" 1" />
47+ </file >
48+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/viewmodel/tests/Disposables.test.ts" >
49+ <testCase name =" Disposable isDisposed is true after dispose() is called" duration =" 9" />
50+ <testCase name =" Disposable dispose() calls the correct disposing function" duration =" 1" />
51+ <testCase name =" Disposable Throws error if acting on already disposed disposables" duration =" 16" />
52+ <testCase name =" Disposable Removes tracked event listeners on dispose" duration =" 1" />
53+ </file >
54+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/viewmodel/tests/Snapshot.test.ts" >
55+ <testCase name =" Snapshot should accept an initial value" duration =" 10" />
56+ <testCase name =" Snapshot should call emit callback when state changes" duration =" 1" />
57+ <testCase name =" Snapshot should swap out entire snapshot on set call" duration =" 0" />
58+ <testCase name =" Snapshot should merge partial snapshot on merge call" duration =" 1" />
59+ </file >
60+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/hooks/useListKeyboardNavigation.test.ts" >
61+ <testCase name =" useListKeyDown should handle Enter key to click active element" duration =" 50" />
62+ <testCase name =" useListKeyDown should handle Space key to click active element" duration =" 7" />
63+ <testCase name =" useListKeyDown should handle ArrowDown to focus the 1nth element" duration =" 3" />
64+ <testCase name =" useListKeyDown should handle ArrowUp to focus the 1nth element" duration =" 4" />
65+ <testCase name =" useListKeyDown should handle Home to focus the 0nth element" duration =" 4" />
66+ <testCase name =" useListKeyDown should handle End to focus the 2nth element" duration =" 6" />
67+ <testCase name =" useListKeyDown should not handle ArrowDown when active element is not in list" duration =" 5" />
68+ <testCase name =" useListKeyDown should not handle ArrowUp when active element is not in list" duration =" 2" />
69+ <testCase name =" useListKeyDown should not prevent default for unhandled keys" duration =" 2" />
70+ <testCase name =" useListKeyDown should focus the first item if list itself is focused" duration =" 11" />
71+ <testCase name =" useListKeyDown should focus the selected item if list itself is focused" duration =" 3" />
72+ </file >
73+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/audio/Clock/Clock.test.tsx" >
74+ <testCase name =" Clock renders the clock" duration =" 46" />
75+ <testCase name =" Clock renders the clock with a lot of seconds" duration =" 11" />
76+ </file >
77+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/pill-input/PillInput/PillInput.test.tsx" >
78+ <testCase name =" PillInput renders the pill input" duration =" 106" />
79+ <testCase name =" PillInput renders only the input without children" duration =" 24" />
80+ <testCase name =" PillInput calls onRemoveChildren when backspace is pressed and input is empty" duration =" 224" />
81+ </file >
82+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/pill-input/Pill/Pill.test.tsx" >
83+ <testCase name =" Pill renders the pill" duration =" 116" />
84+ <testCase name =" Pill renders the pill without close button" duration =" 14" />
85+ </file >
86+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/composer/Banner/Banner.test.tsx" >
87+ <testCase name =" AvatarWithDetails renders a default banner" duration =" 108" />
88+ <testCase name =" AvatarWithDetails renders a info banner" duration =" 16" />
89+ <testCase name =" AvatarWithDetails renders a success banner" duration =" 18" />
90+ <testCase name =" AvatarWithDetails renders a critical banner" duration =" 10" />
91+ <testCase name =" AvatarWithDetails renders a banner with an action" duration =" 20" />
92+ <testCase name =" AvatarWithDetails renders a banner with an avatar iamge" duration =" 46" />
93+ </file >
94+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/audio/AudioPlayerView/AudioPlayerView.test.tsx" >
95+ <testCase name =" AudioPlayerView renders the audio player in default state" duration =" 334" />
96+ <testCase name =" AudioPlayerView renders the audio player without media name" duration =" 70" />
97+ <testCase name =" AudioPlayerView renders the audio player without size" duration =" 72" />
98+ <testCase name =" AudioPlayerView renders the audio player in error state" duration =" 76" />
99+ <testCase name =" AudioPlayerView should attach vm methods" duration =" 437" />
100+ </file >
101+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/rich-list/RichItem/RichItem.test.tsx" >
102+ <testCase name =" RichItem renders the item in default state" duration =" 269" />
103+ <testCase name =" RichItem renders the item in selected state" duration =" 33" />
104+ <testCase name =" RichItem renders the item without timestamp" duration =" 11" />
105+ </file >
106+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/avatar/AvatarWithDetails/AvatarWithDetails.test.tsx" >
107+ <testCase name =" AvatarWithDetails renders a textual event" duration =" 27" />
108+ </file >
109+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/audio/PlayPauseButton/PlayPauseButton.test.tsx" >
110+ <testCase name =" PlayPauseButton renders the button in default state" duration =" 350" />
111+ <testCase name =" PlayPauseButton renders the button in playing state" duration =" 77" />
112+ <testCase name =" PlayPauseButton calls togglePlay when clicked" duration =" 1045" />
113+ </file >
114+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/rich-list/RichList/RichList.test.tsx" >
115+ <testCase name =" RichItem renders the list" duration =" 83" />
116+ <testCase name =" RichItem renders the list with isEmpty=true" duration =" 7" />
117+ </file >
118+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/audio/SeekBar/SeekBar.test.tsx" >
119+ <testCase name =" Seekbar renders the clock" duration =" 14" />
120+ </file >
121+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/event-tiles/TextualEventView/TextualEventView.test.tsx" >
122+ <testCase name =" TextualEventView renders a textual event" duration =" 53" />
123+ </file >
124+ <file path =" /Users/skyezer/Work/element-hq/element-web/packages/shared-components/src/message-body/MediaBody/MediaBody.test.tsx" >
125+ <testCase name =" MediaBody renders the media body" duration =" 26" />
126+ </file >
127+ </testExecutions >
0 commit comments