Skip to content

Commit

Permalink
use @cdap-ui alias, instead of relative paths, to import testids prov…
Browse files Browse the repository at this point in the history
…ider
  • Loading branch information
GnsP committed Aug 21, 2024
1 parent 2fdcd81 commit d971650
Show file tree
Hide file tree
Showing 60 changed files with 62 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { Label, Input } from 'reactstrap';
import { getProfiles, resetProfiles } from 'components/Cloud/Profiles/Store/ActionCreator';
import { SYSTEM_NAMESPACE } from 'services/global-constants';
import { Theme } from 'services/ThemeHelper';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
import If from 'components/shared/If';
require('./SystemProfilesAccordion.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { Link } from 'react-router-dom';
import Helmet from 'react-helmet';
import { Theme } from 'services/ThemeHelper';
import T from 'i18n-react';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./AdminConfigTabContent.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import isNil from 'lodash/isNil';
import classnames from 'classnames';
import T from 'i18n-react';
import { Theme } from 'services/ThemeHelper';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./AdminTabSwitch.scss');

const PREFIX = 'features.Administration';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/AutoComplete/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import classnames from 'classnames';
import NamespaceStore from 'services/NamespaceStore';
import ee from 'event-emitter';
import globalEvents from 'services/global-events';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./AutoComplete.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import isEqual from 'lodash/isEqual';
import DataPrepStore from 'components/DataPrep/store';
import ScrollableList from 'components/shared/ScrollableList';
import { Theme } from 'services/ThemeHelper';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

// Directives List
import ParseDirective from 'components/DataPrep/Directives/Parse';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/ColumnTextSelection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import classnames from 'classnames';
import uuidV4 from 'uuid/v4';
import { Observable } from 'rxjs/Observable';
import intersection from 'lodash/intersection';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('../DataPrepTable/DataPrepTable.scss');

Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/DataPrepCLI/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import DataPrepAutoComplete from 'components/DataPrep/AutoComplete';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./DataPrepCLI.scss');

const TESTID_PREFIX = 'features.dataprep.workspace.cli';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import LoadingSVGCentered from 'components/shared/LoadingSVGCentered';
import DataPrepSidePanel from 'components/DataPrep/DataPrepSidePanel';
import classnames from 'classnames';
import T from 'i18n-react';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./DataPrepContentWrapper.scss');

const DataPrepVisualization = Loadable({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import PropTypes from 'prop-types';

import React from 'react';
import T from 'i18n-react';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.DataPrepSidePanel.ColumnsTab.ColumnDetail';
const TESTID_PREFIX = 'features.dataprep.workspace.columnsPanel.list.column';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { preventPropagation } from 'services/helpers';
import isEqual from 'lodash/isEqual';
import classnames from 'classnames';
import { CSSTransition } from 'react-transition-group';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const TESTID_PREFIX = 'features.dataprep.workspace.columnsPanel.list.column';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import findIndex from 'lodash/findIndex';
import T from 'i18n-react';
import ColumnActions from 'components/DataPrep/Directives/ColumnActions';
import IconSVG from 'components/shared/IconSVG';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.DataPrepSidePanel.ColumnsTab';
const TESTID_PREFIX = 'features.dataprep.workspace.columnsPanel';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import DirectivesTabRow from 'components/DataPrep/DataPrepSidePanel/DirectivesTa
import fileDownload from 'js-file-download';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import T from 'i18n-react';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./DirectivesTab.scss');

Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/DataPrepSidePanel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import TargetTab from 'components/DataPrep/DataPrepSidePanel/TargetTab';
import DirectivesTab from 'components/DataPrep/DataPrepSidePanel/DirectivesTab';
import T from 'i18n-react';
import If from 'components/shared/If';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./DataPrepSidePanel.scss');
const PREFIX = 'features.DataPrep.DataPrepSidePanel';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import T from 'i18n-react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import DataPrepStore from 'components/DataPrep/store';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.DataPrepTable.DataType';
const TESTID_PREFIX = 'features.dataprep.workspace.dataTable';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/DataPrepTable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import DataQuality from 'components/DataPrep/DataPrepTable/DataQuality';
import DataType from 'components/DataPrep/DataPrepTable/DataType';
import Page500 from 'components/500';
import Page404 from 'components/404';
import { getDataTestid } from '../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

// Lazy load polyfill in safari as InteresectionObservers are not implemented there yet.
(async function() {
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/Directives/Calculate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { preventPropagation } from 'services/helpers';
import { NUMBER_TYPES, NATIVE_NUMBER_TYPES } from 'services/global-constants';
import capitalize from 'lodash/capitalize';
import Mousetrap from 'mousetrap';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./Calculate.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import MenuItem from '@material-ui/core/MenuItem';
import FormHelperText from '@material-ui/core/FormHelperText';
import Button from '@material-ui/core/Button';
import Tooltip from '@material-ui/core/Tooltip';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

import {
ISubmenuProps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { preventPropagation } from 'services/helpers';
import { UncontrolledTooltip } from 'components/UncontrolledComponents';
import If from 'components/shared/If';
import { DecimalOptions } from 'components/DataPrep/Directives/ChangeDataType/DecimalOptions';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.ChangeDataType';
const TESTID_PREFIX = 'features.dataprep.directives.changeDataType';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import Bulkset from 'components/DataPrep/Directives/ColumnActions/Bulkset';
import ReplaceColumns from 'components/DataPrep/Directives/ColumnActions/ReplaceColumns';
import T from 'i18n-react';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./ColumnActions.scss');

const PREFIX = 'features.DataPrep.Directives.ColumnActions';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import WarningContainer from 'components/shared/WarningContainer';
import { columnNameAlreadyExists } from 'components/DataPrep/helper';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Copy';
const COPY_NEW_COLUMN_PREFIX = 'features.DataPrep.DataPrepTable.copyToNewColumn';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { preventPropagation } from 'services/helpers';
import Mousetrap from 'mousetrap';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./CustomTransform.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { setPopoverOffset } from 'components/DataPrep/helper';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import Mousetrap from 'mousetrap';
import { preventPropagation } from 'services/helpers';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./DefineVariable.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import T from 'i18n-react';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Drop';
const TESTID_PREFIX = 'features.dataprep.directives.dropColumn';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { UncontrolledTooltip } from 'components/UncontrolledComponents';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { preventPropagation } from 'services/helpers';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./EncodeDecode.scss');
const PREFIX = 'features.DataPrep.Directives.Encode';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/Directives/Explode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import DataPrepStore from 'components/DataPrep/store';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./Explode.scss');

const TESTID_PREFIX = 'features.dataprep.directives.explode';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import classnames from 'classnames';
import T from 'i18n-react';
import Mousetrap from 'mousetrap';
import isEmpty from 'lodash/isEmpty';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./UsingDelimiter.scss');

const PREFIX = 'features.DataPrep.Directives.ExtractFields.UsingDelimiters';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Mousetrap from 'mousetrap';
import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { UncontrolledDropdown } from 'components/UncontrolledComponents';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./UsingPatternsModal.scss');

const PREFIX = 'features.DataPrep.Directives.ExtractFields.UsingPatterns';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import isNil from 'lodash/isNil';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import DataPrepStore from 'components/DataPrep/store';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./CutDirective.scss');

const CELLHIGHLIGHTCLASSNAME = 'cl-highlight';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import React, { Component } from 'react';
import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import T from 'i18n-react';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const TESTID_PREFIX = 'features.dataprep.directives.extractFields.modal.positions';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { UncontrolledTooltip } from 'components/UncontrolledComponents';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const TESTID_PREFIX = 'features.dataprep.directives.extractFields';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { setPopoverOffset } from 'components/DataPrep/helper';
import T from 'i18n-react';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.FillNullOrEmpty';
const TESTID_PREFIX = 'features.dataprep.directives.fillNullOrEmpty';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/Directives/Filter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import MouseTrap from 'mousetrap';
import { Popover, PopoverHeader, PopoverBody } from 'reactstrap';
import IconSVG from 'components/shared/IconSVG';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./FilterDirective.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import T from 'i18n-react';
import { setPopoverOffset } from 'components/DataPrep/helper';
import MouseTrap from 'mousetrap';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = `features.DataPrep.Directives.FindAndReplace`;
const TESTID_PREFIX = 'features.dataprep.directives.findAndReplace';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/Directives/Format/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { preventPropagation } from 'services/helpers';
import { columnNameAlreadyExists } from 'components/DataPrep/helper';
import capitalize from 'lodash/capitalize';
import Mousetrap from 'mousetrap';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Format';
const COPY_NEW_COLUMN_PREFIX = 'features.DataPrep.DataPrepTable.copyToNewColumn';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/Directives/Hash/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import MouseTrap from 'mousetrap';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { preventPropagation } from 'services/helpers';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./Hash.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import T from 'i18n-react';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Keep';
const TESTID_PREFIX = 'features.dataprep.directives.keepColumn';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import DataPrepStore from 'components/DataPrep/store';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import IconSVG from 'components/shared/IconSVG';
import MouseTrap from 'mousetrap';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

require('./MarkAsError.scss');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import DataPrepStore from 'components/DataPrep/store';
import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import Mousetrap from 'mousetrap';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const POPOVERTHETHERCLASSNAME = 'highlight-popover';
const CELLHIGHLIGHTCLASSNAME = 'cl-highlight';
Expand Down
2 changes: 1 addition & 1 deletion app/cdap/components/DataPrep/Directives/MaskData/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { execute } from 'components/DataPrep/store/DataPrepActionCreator';
import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import DataPrepStore from 'components/DataPrep/store';
import T from 'i18n-react';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';
require('./MaskData.scss');

const PREFIX = 'features.DataPrep.Directives.MaskData';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import DataPrepActions from 'components/DataPrep/store/DataPrepActions';
import { columnNameAlreadyExists } from 'components/DataPrep/helper';
import WarningContainer from 'components/shared/WarningContainer';
import { setPopoverOffset } from 'components/DataPrep/helper';
import { getDataTestid } from '../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

import T from 'i18n-react';
require('./MergeColumns.scss');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import classnames from 'classnames';
import T from 'i18n-react';
import MouseTrap from 'mousetrap';
import DeprecatedMessage from 'components/shared/DeprecatedMessage';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Parse';
const TESTID_PREFIX = 'features.dataprep.directives.parse.modal.csv';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
import classnames from 'classnames';
import T from 'i18n-react';
import MouseTrap from 'mousetrap';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Parse';
const TESTID_PREFIX = 'features.dataprep.directives.parse.modal.dateFormats';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import isNil from 'lodash/isNil';
import MouseTrap from 'mousetrap';
import classnames from 'classnames';
import T from 'i18n-react';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Parse.Parsers.EXCEL';
const TESTID_PREFIX = 'features.dataprep.directives.parse.modal.excel';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
import classnames from 'classnames';
import T from 'i18n-react';
import MouseTrap from 'mousetrap';
import { getDataTestid } from '../../../../../testids/TestidsProvider';
import { getDataTestid } from '@cdap-ui/testids/TestidsProvider';

const PREFIX = 'features.DataPrep.Directives.Parse';
const TESTID_PREFIX = 'features.dataprep.directives.parse.modal.log';
Expand Down
Loading

0 comments on commit d971650

Please sign in to comment.