mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 17:46:12 +07:00
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:'}
|
||||
|
||||
@@ -156,7 +156,7 @@ const Package: React.FC<PackageInterface> = ({
|
||||
<Grid item={true} xs={true}>
|
||||
<WrapperLink to={`/-/web/detail/${packageName}`}>
|
||||
{/* eslint-disable-next-line react/jsx-max-depth */}
|
||||
<PackageTitle>{packageName}</PackageTitle>
|
||||
<PackageTitle className="package-title">{packageName}</PackageTitle>
|
||||
</WrapperLink>
|
||||
</Grid>
|
||||
<GridRightAligned item={true} xs={true}>
|
||||
|
||||
Reference in New Issue
Block a user