Browse Source

test(js): Fix installWizard test (#40156)

Evan Purkhiser 2 years ago
parent
commit
280bd161b2
1 changed files with 4 additions and 4 deletions
  1. 4 4
      static/app/views/admin/installWizard/index.spec.jsx

+ 4 - 4
static/app/views/admin/installWizard/index.spec.jsx

@@ -41,12 +41,12 @@ describe('InstallWizard', function () {
     render(<InstallWizard onConfigured={jest.fn()} />);
     expect(
       screen.getByRole('radio', {
-        name: 'Select Please keep my usage information anonymous',
+        name: 'Please keep my usage information anonymous',
       })
     ).not.toBeChecked();
     expect(
       screen.getByRole('radio', {
-        name: 'Select Send my contact information along with usage statistics',
+        name: 'Send my contact information along with usage statistics',
       })
     ).not.toBeChecked();
   });
@@ -71,12 +71,12 @@ describe('InstallWizard', function () {
     render(<InstallWizard onConfigured={jest.fn()} />);
     expect(
       screen.getByRole('radio', {
-        name: 'Select Please keep my usage information anonymous',
+        name: 'Please keep my usage information anonymous',
       })
     ).not.toBeChecked();
     expect(
       screen.getByRole('radio', {
-        name: 'Select Send my contact information along with usage statistics',
+        name: 'Send my contact information along with usage statistics',
       })
     ).not.toBeChecked();
   });