forked from sombochea/verdaccio-ui
build: fix e2e (#246)
* fix: e2e testing * fix: e2e testing * fix: e2e testing * fix: e2e testing * fix: e2e testing * fix: e2e testing
This commit is contained in:
committed by
GitHub
parent
c9f6bf43ae
commit
f1971edf6d
@@ -10,6 +10,9 @@ import Text from '../../muiComponents/Text';
|
||||
|
||||
import { CardStyled as Card, HelpTitle } from './styles';
|
||||
|
||||
export const HELP_TITLE = 'No Package Published Yet.';
|
||||
export const COMPONENT_HELP_ID = 'help-card__title';
|
||||
|
||||
function renderHeadingClipboardSegments(title: string, text: string): React.ReactNode {
|
||||
return (
|
||||
<Fragment>
|
||||
@@ -25,8 +28,8 @@ const Help: React.FC = () => {
|
||||
return (
|
||||
<Card id="help-card">
|
||||
<CardContent>
|
||||
<Typography component="h2" gutterBottom={true} id="help-card__title" variant="h5">
|
||||
{'No Package Published Yet.'}
|
||||
<Typography component="h2" gutterBottom={true} id={COMPONENT_HELP_ID} variant="h5">
|
||||
{HELP_TITLE}
|
||||
</Typography>
|
||||
<HelpTitle color="textSecondary" gutterBottom={true}>
|
||||
{'To publish your first package just:'}
|
||||
|
||||
Reference in New Issue
Block a user