Skip to content

Commit

Permalink
fix: missing exact in locator
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris committed Jul 31, 2024
1 parent 9d2b1b6 commit 367c90e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion apps/meteor/client/sidebarv2/header/CreateChannelModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ const CreateChannelModal = ({ teamId = '', onClose, reload }: CreateChannelModal
</FieldHint>
</Field>
</FieldGroup>

<Accordion>
<AccordionItem title={t('Advanced_settings')}>
<FieldGroup>
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebarv2/header/CreateTeamModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ const CreateTeamModal = ({ onClose }: CreateTeamModalProps) => {
</FieldDescription>
</Field>
</FieldGroup>

<Accordion>
<AccordionItem title={t('Advanced_settings')}>
<FieldGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class HomeSidenav {
}

get advancedSettingsAccordion(): Locator {
return this.page.getByRole('dialog').getByRole('button', { name: 'Advanced settings' });
return this.page.getByRole('dialog').getByRole('button', { name: 'Advanced settings', exact: true });
}

get checkboxPrivateChannel(): Locator {
Expand Down

0 comments on commit 367c90e

Please sign in to comment.