@finos/legend-application-studio
Version:
Legend Studio application core
59 lines • 4.01 kB
JavaScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// We should keep this as small as possible, minimize the number of times we need to get by the `testId`
// Because according to our testing philosophy, fixing the DOM structure makes us testing more implementation details
// than actual app behavior, user won't care about the id of an element or such!
// See https://testing-library.com/docs/dom-testing-library/api-queries#bytestid
export var LEGEND_STUDIO_TEST_ID;
(function (LEGEND_STUDIO_TEST_ID) {
LEGEND_STUDIO_TEST_ID["PANEL"] = "panel";
LEGEND_STUDIO_TEST_ID["PANEL_CONTENT_LIST"] = "panel__content__list";
LEGEND_STUDIO_TEST_ID["PANEL_CONTENT_FORM_SECTION_LIST_ITEMS"] = "panel__content__form__section__list__items";
LEGEND_STUDIO_TEST_ID["ACTIVITY_BAR_ITEM_ICON_INDICATOR"] = "activity-bar__item__icon__indicator";
LEGEND_STUDIO_TEST_ID["SIDEBAR_PANEL_HEADER__CHANGES_COUNT"] = "side-bar__panel__header__changes-count";
LEGEND_STUDIO_TEST_ID["ELEMENT_EXPLORER"] = "element-explorer";
LEGEND_STUDIO_TEST_ID["EXPLORER_TREES"] = "explorer-trees";
LEGEND_STUDIO_TEST_ID["EXPLORER_CONTEXT_MENU"] = "explorer__context-menu";
LEGEND_STUDIO_TEST_ID["FUNCTION_EDITOR"] = "function-editor";
LEGEND_STUDIO_TEST_ID["TEST_RUNNER"] = "test-runner";
LEGEND_STUDIO_TEST_ID["BULK_REGISTRATION"] = "bulk-service-registration";
LEGEND_STUDIO_TEST_ID["END_TO_END_WORKFLOW"] = "end-to-end-workflow";
LEGEND_STUDIO_TEST_ID["STATUS_BAR"] = "status-bar";
LEGEND_STUDIO_TEST_ID["EDITOR__STATUS_BAR__RIGHT"] = "editor__status-bar__right";
LEGEND_STUDIO_TEST_ID["EDITOR_GROUP"] = "editor-group";
LEGEND_STUDIO_TEST_ID["EDITOR_GROUP_CONTENT"] = "editor-group__content";
LEGEND_STUDIO_TEST_ID["EDITOR_GROUP__HEADER_TABS"] = "editor-group__header-tabs";
LEGEND_STUDIO_TEST_ID["EDITOR_GROUP__ELEMENT_VIEW__OPTIONS"] = "editor-group__view-mode__options";
LEGEND_STUDIO_TEST_ID["EDITOR__TABS__HEADER"] = "editor__tabs__header";
LEGEND_STUDIO_TEST_ID["CLASS_FORM_EDITOR"] = "class-form-editor";
LEGEND_STUDIO_TEST_ID["ENUMERATION_EDITOR"] = "enumeration-editor";
LEGEND_STUDIO_TEST_ID["ASSOCIATION_EDITOR"] = "association-editor";
LEGEND_STUDIO_TEST_ID["MAPPING_EDITOR"] = "mapping-editor";
LEGEND_STUDIO_TEST_ID["UML_ELEMENT_EDITOR__TABS_HEADER"] = "uml-element-editor__tabs__header";
LEGEND_STUDIO_TEST_ID["PROPERTY_BASIC_EDITOR__TYPE__LABEL_HOVER"] = "property-basic-editor__type__label--hover";
LEGEND_STUDIO_TEST_ID["NEW_ELEMENT_MODAL"] = "new-element-modal";
LEGEND_STUDIO_TEST_ID["SERVICE_REGISTRATION_EDITOR"] = "service_registration_editor";
LEGEND_STUDIO_TEST_ID["SERVICE_TEST_EDITOR"] = "service_test_editor";
LEGEND_STUDIO_TEST_ID["SERVICE_TEST_EDITOR__SETUP"] = "service_test_editor__setup";
LEGEND_STUDIO_TEST_ID["SERVICE_TEST_EDITOR__SETUP__PARAMETERS"] = "service_test_editor__setup__parameters";
LEGEND_STUDIO_TEST_ID["ENUMERATION_MAPPING_EDITOR"] = "enumeration-mapping-editor";
LEGEND_STUDIO_TEST_ID["MAPPING_EXPLORER"] = "mapping-explorer";
LEGEND_STUDIO_TEST_ID["SOURCE_PANEL"] = "source-panel";
LEGEND_STUDIO_TEST_ID["TYPE_VISIT"] = "type-visit";
LEGEND_STUDIO_TEST_ID["PROJECT_OVERVIEW__ACTIVITY_BAR"] = "project-overview__activity-bar";
LEGEND_STUDIO_TEST_ID["SETUP__CONTENT"] = "setup__content";
})(LEGEND_STUDIO_TEST_ID || (LEGEND_STUDIO_TEST_ID = {}));
//# sourceMappingURL=LegendStudioTesting.js.map