File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
site/src/modules/notifications/NotificationsInbox Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -36,29 +36,6 @@ export const Default: Story = {
36
36
} ,
37
37
} ;
38
38
39
- export const Scrollable : Story = {
40
- args : {
41
- unreadCount : 2 ,
42
- notifications : MockNotifications ,
43
- } ,
44
- play : async ( { canvasElement } ) => {
45
- const body = canvasElement . ownerDocument . body ;
46
- const content = body . querySelector < HTMLDivElement > (
47
- "[data-radix-scroll-area-viewport]" ,
48
- ) ;
49
- if ( ! content ) {
50
- throw new Error ( "ScrollArea content not found" ) ;
51
- }
52
- await waitFor ( ( ) => {
53
- const distanceToBottom = content ?. children [ 0 ] . clientHeight ;
54
- content . scroll ( {
55
- top : distanceToBottom ,
56
- } ) ;
57
- expect ( content . scrollTop ) . not . toBe ( 0 ) ;
58
- } ) ;
59
- } ,
60
- } ;
61
-
62
39
export const Loading : Story = {
63
40
args : {
64
41
unreadCount : 0 ,
You can’t perform that action at this time.
0 commit comments