webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js in katello-4.3.0.rc2.1 vs webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js in katello-4.3.0.rc3

- old
+ new

@@ -106,11 +106,11 @@ }); // Expand Row Action expect(getAllByLabelText('Actions')[0]).toHaveAttribute('aria-expanded', 'false'); fireEvent.click(getAllByLabelText('Actions')[0]); expect(getAllByLabelText('Actions')[0]).toHaveAttribute('aria-expanded', 'true'); - fireEvent.click(getByText('Remove')); + fireEvent.click(getByText('Remove from environments')); await patientlyWaitFor(() => { expect(getByText('Remove Version')).toBeInTheDocument(); }); fireEvent.click(getByLabelText('Select row 1')); fireEvent.click(getByText('Next')); @@ -178,11 +178,11 @@ }); // Expand Row Action expect(getAllByLabelText('Actions')[0]).toHaveAttribute('aria-expanded', 'false'); fireEvent.click(getAllByLabelText('Actions')[0]); expect(getAllByLabelText('Actions')[0]).toHaveAttribute('aria-expanded', 'true'); - fireEvent.click(getByText('Remove')); + fireEvent.click(getByText('Remove from environments')); await patientlyWaitFor(() => { expect(getByText('Remove Version')).toBeInTheDocument(); }); fireEvent.click(getByLabelText('Select row 3')); fireEvent.click(getByText('Next')); @@ -270,10 +270,10 @@ }); // Expand Row Action expect(getAllByLabelText('Actions')[0]).toHaveAttribute('aria-expanded', 'false'); fireEvent.click(getAllByLabelText('Actions')[0]); expect(getAllByLabelText('Actions')[0]).toHaveAttribute('aria-expanded', 'true'); - fireEvent.click(getByText('Remove')); + fireEvent.click(getByText('Remove from environments')); await patientlyWaitFor(() => { expect(getByText('Remove Version')).toBeInTheDocument(); }); fireEvent.click(getByLabelText('Select row 4')); fireEvent.click(getByText('Next'));