Skip to content

Commit e51653e

Browse files
authored
fix(about): target parent element to access content (#6111)
* fix(about): target parent element to access content * chore: update testID naming
1 parent 5bf6b14 commit e51653e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cypress/e2e/shared/about.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('About Page', () => {
3232
cy.getByTestID('copy-btn--orgid').should('not.be.disabled')
3333

3434
if (CLOUD) {
35-
cy.getByTestID('org-profile--panel').contains('Cloud Provider')
35+
cy.getByTestID('org-profile--labeled-data').contains('Cloud Provider')
3636
}
3737

3838
cy.getByTestID('rename-org--button').should('be.visible').click()

src/organizations/components/OrgProfileTab/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const OrgProfileTab: FC = () => {
8080
justifyContent={JustifyContent.SpaceBetween}
8181
stretchToFitWidth={true}
8282
style={orgProviderExists ? {width: '85%'} : {width: '48%'}}
83+
testID="org-profile--labeled-data"
8384
>
8485
{orgProviderExists && (
8586
<LabeledData label="Cloud Provider" src={quartzOrg.provider} />

0 commit comments

Comments
 (0)