mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-05 09:08:11 +08:00
move test-id
This commit is contained in:
@@ -53,7 +53,6 @@ class LeftSideBar extends React.Component {
|
|||||||
gene
|
gene
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
data-testid="header"
|
|
||||||
style={{
|
style={{
|
||||||
fontSize,
|
fontSize,
|
||||||
position: "relative",
|
position: "relative",
|
||||||
@@ -68,13 +67,18 @@ class LeftSideBar extends React.Component {
|
|||||||
>
|
>
|
||||||
{aboutURL ? (
|
{aboutURL ? (
|
||||||
<Truncate size={width} fontSize={fontSize}>
|
<Truncate size={width} fontSize={fontSize}>
|
||||||
<a href={aboutURL} target="_blank" rel="noopener noreferrer">
|
<a
|
||||||
|
href={aboutURL}
|
||||||
|
data-testid="header"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
{datasetTitle}
|
{datasetTitle}
|
||||||
</a>
|
</a>
|
||||||
</Truncate>
|
</Truncate>
|
||||||
) : (
|
) : (
|
||||||
<Truncate size={width} fontSize={fontSize}>
|
<Truncate size={width} fontSize={fontSize}>
|
||||||
<span>{datasetTitle}</span>
|
<span data-testid="header">{datasetTitle}</span>
|
||||||
</Truncate>
|
</Truncate>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user