Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed Nov 21, 2024
1 parent f86cd7a commit cd6ad85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions src/react/databrowser/buckets/BucketList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { EmptyCell } from '@scality/core-ui/dist/components/tablev2/Tablev2.comp
import { Box, Button, Table } from '@scality/core-ui/dist/next';
import { useMemo } from 'react';
import { useHistory, useParams } from 'react-router-dom';
import { CoreUIColumn } from 'react-table';
import { XDM_FEATURE } from '../../../js/config';
import { CellProps, CoreUIColumn } from 'react-table';
import { WorkflowScheduleUnitState } from '../../../types/stats';
import { useCurrentAccount } from '../../DataServiceRoleProvider';
import { useBucketLatestUsedCapacity } from '../../next-architecture/domain/business/buckets';
Expand All @@ -23,8 +23,6 @@ import { TableHeaderWrapper } from '../../ui-elements/Table';
import { useAuthGroups, useQueryParams } from '../../utils/hooks';
import { getLocationIngestionState } from '../../utils/storageOptions';
import { BucketLocationNameAndType } from '../../workflow/SourceBucketOption';
import { PromiseResult } from '../../next-architecture/domain/entities/promise';

const SEARCH_QUERY_PARAM = 'search';

type Props = {
Expand Down
3 changes: 0 additions & 3 deletions src/react/workflow/__tests__/TransitionForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import {
INSTANCE_ID,
waitForSelectOptionToBeEnabled,
} from '../../actions/__tests__/utils/testUtil';
import { debug } from 'jest-preview';

const versionedBucket = 'bucket1';
const notVersionedBucket = 'bucket2';
Expand Down Expand Up @@ -397,7 +396,6 @@ describe('TransitionForm', () => {
),
}),
);
debug();
await userEvent.click(
screen.getByRole('option', {
name: new RegExp(
Expand All @@ -406,7 +404,6 @@ describe('TransitionForm', () => {
),
}),
);
debug();
await userEvent.click(screen.getByLabelText(/Storage location/i));

await userEvent.keyboard('{ArrowDown}');
Expand Down

0 comments on commit cd6ad85

Please sign in to comment.