diff --git a/packages/webapp-libs/webapp-tenants/src/components/tenantDangerZone/__tests__/tenantDangerZone.component.spec.tsx b/packages/webapp-libs/webapp-tenants/src/components/tenantDangerZone/__tests__/tenantDangerZone.component.spec.tsx
index 6faf198e3..c4e5df290 100644
--- a/packages/webapp-libs/webapp-tenants/src/components/tenantDangerZone/__tests__/tenantDangerZone.component.spec.tsx
+++ b/packages/webapp-libs/webapp-tenants/src/components/tenantDangerZone/__tests__/tenantDangerZone.component.spec.tsx
@@ -46,7 +46,7 @@ describe('TenantDangerSettings: Component', () => {
render(, { apolloMocks: [commonQueryMock], routerProps });
expect(await screen.findByText('Delete this organization')).toBeInTheDocument();
- expect(screen.getByText('Remove organisation')).toBeInTheDocument();
+ expect(screen.getByText('Remove organization')).toBeInTheDocument();
});
it('should render delete organization subtitle about permissions', async () => {
@@ -64,7 +64,7 @@ describe('TenantDangerSettings: Component', () => {
render(, { apolloMocks: [commonQueryMock], routerProps });
- const button = await screen.findByRole('button', { name: /remove organisation/i });
+ const button = await screen.findByRole('button', { name: /remove organization/i });
expect(button).toBeInTheDocument();
expect(screen.getByText('Only members with the Owner role can delete organization')).toBeInTheDocument();
});
@@ -113,7 +113,7 @@ describe('TenantDangerSettings: Component', () => {
const routerProps = createMockRouterProps(RoutesConfig.tenant.settings.general, { tenantId: '1' });
render(, { apolloMocks: [commonQueryMock, requestMock, refetchMock], routerProps });
- const button = await screen.findByRole('button', { name: /remove organisation/i });
+ const button = await screen.findByRole('button', { name: /remove organization/i });
await userEvent.click(button);
const continueButton = await screen.findByRole('button', { name: /continue/i });
diff --git a/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/__tests__/tenantDeleteAlert.component.spec.tsx b/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/__tests__/tenantDeleteAlert.component.spec.tsx
index eef81ec16..decfb4945 100644
--- a/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/__tests__/tenantDeleteAlert.component.spec.tsx
+++ b/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/__tests__/tenantDeleteAlert.component.spec.tsx
@@ -15,7 +15,7 @@ describe('TenantDeleteAlert: Component', () => {
it('should render alert when button is clicked', async () => {
render();
- const button = await screen.findByRole('button', { name: /remove organisation/i });
+ const button = await screen.findByRole('button', { name: /remove organization/i });
await userEvent.click(button);
expect(await screen.findByText('Are you absolutely sure?')).toBeInTheDocument();
@@ -25,7 +25,7 @@ describe('TenantDeleteAlert: Component', () => {
const onContinueMock = jest.fn();
render();
- const button = await screen.findByRole('button', { name: /remove organisation/i });
+ const button = await screen.findByRole('button', { name: /remove organization/i });
await userEvent.click(button);
const continueButton = await screen.findByRole('button', { name: /continue/i });
@@ -39,7 +39,7 @@ describe('TenantDeleteAlert: Component', () => {
const onContinueMock = jest.fn();
render();
- const button = await screen.findByRole('button', { name: /remove organisation/i });
+ const button = await screen.findByRole('button', { name: /remove organization/i });
await userEvent.click(button);
const continueButton = await screen.findByRole('button', { name: /cancel/i });
diff --git a/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/tenantDeleteAlert.component.tsx b/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/tenantDeleteAlert.component.tsx
index 9c54e3a6e..80c5b9f28 100644
--- a/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/tenantDeleteAlert.component.tsx
+++ b/packages/webapp-libs/webapp-tenants/src/components/tenantDeleteAlert/tenantDeleteAlert.component.tsx
@@ -22,7 +22,7 @@ export const TenantDeleteAlert = ({ onContinue, disabled }: TenantDeleteAlertPro
diff --git a/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/__tests__/tenantSwitch.component.spec.tsx b/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/__tests__/tenantSwitch.component.spec.tsx
index 5fba9f5c8..3327be622 100644
--- a/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/__tests__/tenantSwitch.component.spec.tsx
+++ b/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/__tests__/tenantSwitch.component.spec.tsx
@@ -62,7 +62,7 @@ describe('TenantSwitch: Component', () => {
expect(screen.queryByTestId('tenant-settings-btn')).not.toBeInTheDocument();
});
- it('should not render organisation and invitation labels if only personal tenant', async () => {
+ it('should not render organization and invitation labels if only personal tenant', async () => {
render(, {
apolloMocks: [fillCommonQueryWithUser(currentUserFactory({ tenants: [personalTenant] }))],
});
@@ -112,7 +112,7 @@ describe('TenantSwitch: Component', () => {
const currentTenantButton = await screen.findByText(personalTenantName);
await userEvent.click(currentTenantButton);
- const newTenantButton = await screen.findByText(/create new tenant/i);
+ const newTenantButton = await screen.findByText(/create new organization/i);
await userEvent.click(newTenantButton);
expect(mockNavigate).toHaveBeenCalledWith(`/en/add-tenant`);
diff --git a/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/tenantSwitch.component.tsx b/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/tenantSwitch.component.tsx
index 809e15f39..810ee3705 100644
--- a/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/tenantSwitch.component.tsx
+++ b/packages/webapp-libs/webapp-tenants/src/components/tenantSwitch/tenantSwitch.component.tsx
@@ -140,7 +140,7 @@ export const TenantSwitch = () => {
{' '}
-
+
diff --git a/packages/webapp-libs/webapp-tenants/src/routes/tenantSettings/tenantMembers/tenantMembers.component.tsx b/packages/webapp-libs/webapp-tenants/src/routes/tenantSettings/tenantMembers/tenantMembers.component.tsx
index d65a3d9d7..02c0bb3d6 100644
--- a/packages/webapp-libs/webapp-tenants/src/routes/tenantSettings/tenantMembers/tenantMembers.component.tsx
+++ b/packages/webapp-libs/webapp-tenants/src/routes/tenantSettings/tenantMembers/tenantMembers.component.tsx
@@ -50,7 +50,7 @@ export const TenantMembers = () => {
onClick={handleLastInvitationClick}
>
{' '}
-
+
) : (