-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
mockApiRoute
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,12 @@ createSelectorByCss('id').findByLocatorId('id').find('body').findByLocatorId('id | |
// ok | ||
locatorIdSelector('id').findByLocatorId('id').find('body').findByLocatorId('id'); | ||
|
||
// @ts-expect-error: wrong number of arguments | ||
locatorIdSelector(); | ||
|
||
// @ts-expect-error: wrong type of arguments | ||
locatorIdSelector(3); | ||
|
||
// ok | ||
htmlElementSelector.filterByLocatorId('id'); | ||
// ok | ||
|
@@ -53,6 +59,24 @@ htmlElementSelector.nextSiblingByLocatorParameter('prop', 'value'); | |
// ok | ||
htmlElementSelector.prevSiblingByLocatorParameter('prop', 'value'); | ||
|
||
// ok | ||
void htmlElementSelector.getLocatorId(); | ||
|
||
// @ts-expect-error: wrong number of arguments | ||
Check failure on line 65 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / build-docker
Check failure on line 65 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / lint
Check failure on line 65 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / lint
Check failure on line 65 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / test-local
|
||
void htmlElementSelector.getLocatorId('foo'); | ||
|
||
// ok | ||
void htmlElementSelector.hasLocatorId(); | ||
|
||
// @ts-expect-error: wrong number of arguments | ||
Check failure on line 71 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / build-docker
Check failure on line 71 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / lint
Check failure on line 71 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / lint
Check failure on line 71 in autotests/tests/internalTypeTests/selectors.skip.ts GitHub Actions / test-local
|
||
void htmlElementSelector.hasLocatorId('foo'); | ||
|
||
// @ts-expect-error: wrong number of arguments | ||
void htmlElementSelector.hasLocatorParameter(); | ||
|
||
// @ts-expect-error: wrong number of arguments | ||
void htmlElementSelector.getLocatorParameter(); | ||
|
||
// ok | ||
void htmlElementSelector.getLocatorParameter('prop'); | ||
// ok | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export {getStringTrimmedToMaxLength} from './getStringTrimmedToMaxLength'; | ||
export {valueToString} from './valueToString'; | ||
/** @internal */ | ||
export {wrapStringForLogs} from './wrapStringForLogs'; |