add locators to screen page titles

This commit is contained in:
Tiago 2021-05-24 16:22:38 -03:00
parent 7801590bef
commit aeed2e0128
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ const ActualTitle = ({ breadcrumbConfig }) => {
if (match.isExact) {
titleElement = (
<Title size="2xl" headingLevel="h2">
<Title size="2xl" headingLevel="h2" data-cy="screen-title">
{title}
</Title>
);

View File

@ -115,7 +115,7 @@ function ActivityStream() {
className="pf-m-condensed"
style={{ display: 'flex', justifyContent: 'space-between' }}
>
<Title size="2xl" headingLevel="h2">
<Title size="2xl" headingLevel="h2" data-cy="screen-title">
{t`Activity Stream`}
</Title>
<span id="grouped-type-select-id" hidden>