mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Merge pull request #10250 from tiagodread/locators-screens
Add locators to screen page titles Adds locators around the screen title so that we can use it in e2e tests. Reviewed-by: Kersom <None>
This commit is contained in:
commit
e2140ad7a8
@ -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>
|
||||
);
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user