Skip to content

Commit

Permalink
chore: add data-uie-names for oauth (#15114)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlebon committed May 3, 2023
1 parent 5a40733 commit 826f4ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/script/auth/page/OAuthPermissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,13 @@ const OAuthPermissionsComponent = ({
{_(oauthStrings.logout)}
</Link>

<Text css={{marginBottom: '24px'}}>{_(oauthStrings.subhead, {app: oAuthApp?.application_name})}</Text>
<Text data-uie-name="oauth-permissions-requester" css={{marginBottom: '24px'}}>
{_(oauthStrings.subhead, {app: oAuthApp?.application_name})}
</Text>

{oauthParams.scope.length > 1 && (
<Box css={boxCSS}>
<ul css={listCSS}>
<ul css={listCSS} data-uie-name="oauth-permissions-list">
{oauthScope.map((scope, index) => (
<li key={index} css={{textAlign: 'start'}}>
<Text>{_(oauthStrings[scope])}</Text>
Expand Down

0 comments on commit 826f4ca

Please sign in to comment.