mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
Replace splitter e2e test with unit test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
8a12755164
commit
3a74ce9267
10 changed files with 449 additions and 97 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
import React from 'react'
|
||||
import styles from './split-divider.module.scss'
|
||||
import { cypressId } from '../../../../utils/cypress-attribute'
|
||||
import { testId } from '../../../../utils/test-id'
|
||||
|
||||
export interface SplitDividerProps {
|
||||
onGrab: () => void
|
||||
|
@ -18,7 +18,7 @@ export const SplitDivider: React.FC<SplitDividerProps> = ({ onGrab }) => {
|
|||
onMouseDown={onGrab}
|
||||
onTouchStart={onGrab}
|
||||
className={styles['split-divider']}
|
||||
{...cypressId('split-divider')}
|
||||
{...testId('splitter-divider')}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue