Added deprecation note for dataUIId selector util function for Playwright tests
This commit is contained in:
Родитель
73a7a8c338
Коммит
7d8b59bf2b
|
@ -19,7 +19,10 @@ export function perStepLocalTimeout(): number {
|
|||
return PER_STEP_TIMEOUT_MS;
|
||||
}
|
||||
|
||||
/** Selector string to get element by data-ui-id property */
|
||||
/**
|
||||
* Selector string to get element by data-ui-id property
|
||||
* @deprecated Use native Playwright functions to get locators or use `dataTestId` instead.
|
||||
*/
|
||||
export const dataUiId = (id: string): string => `[data-ui-id="${id}"]`;
|
||||
|
||||
/** Selector string to get element by data-testid property */
|
||||
|
|
Загрузка…
Ссылка в новой задаче