"use strict";Liferay.Loader.define("@liferay!analytics-settings-web$testing-library/dom@8.20.0/dist/queries/test-id",["module","exports","require","../helpers","../query-helpers","./all-utils"],(function(e,t,l){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.queryByTestId=t.queryAllByTestId=t.getByTestId=t.getAllByTestId=t.findByTestId=t.findAllByTestId=void 0;var s=l("../helpers"),i=l("../query-helpers"),r=l("./all-utils");const getTestIdAttribute=()=>(0,r.getConfig)().testIdAttribute,queryAllByTestId=(...e)=>((0,s.checkContainerType)(e[0]),(0,r.queryAllByAttribute)(getTestIdAttribute(),...e)),getMultipleError=(e,t)=>`Found multiple elements by: [${getTestIdAttribute()}="${t}"]`,getMissingError=(e,t)=>`Unable to find an element by: [${getTestIdAttribute()}="${t}"]`,e=(0,i.wrapAllByQueryWithSuggestion)(queryAllByTestId,queryAllByTestId.name,"queryAll");t.queryAllByTestId=e;const[y,d,n,u,o]=(0,r.buildQueries)(queryAllByTestId,getMultipleError,getMissingError);t.findByTestId=o,t.findAllByTestId=u,t.getByTestId=n,t.getAllByTestId=d,t.queryByTestId=y}}));
//# sourceMappingURL=test-id.js.map