feat(e2e): add data-testid values

Signed-off-by: Rémi Doreau <remi.d45@gmail.com>
This commit is contained in:
Rémi Doreau
2021-05-13 18:43:59 +02:00
parent 8cd6de8166
commit 718af15378
4 changed files with 10 additions and 4 deletions
@@ -51,6 +51,7 @@ export const DocsCardGrid = ({
name: entity.metadata.name,
})}
color="primary"
data-testid="read_docs"
>
Read Docs
</Button>
@@ -108,7 +108,7 @@ const CustomPanel = ({
) : null}
</ContentHeader>
<div className={classes.panelContainer}>
<Panel entities={shownEntities} />
<Panel data-testid="techdocs-custom-panel" entities={shownEntities} />
</div>
</>
);
@@ -183,7 +183,7 @@ export const TechDocsCustomHome = ({
label,
}))}
/>
<Content>
<Content data-testid="techdocs-content">
{currentTabConfig.panels.map((config, index) => (
<CustomPanel
key={index}