chore: lint
This commit is contained in:
@@ -15,8 +15,8 @@ export const getBestSelectorForAction = (action: Action) => {
|
|||||||
// less than 25 characters, and element only has text inside
|
// less than 25 characters, and element only has text inside
|
||||||
const textSelector =
|
const textSelector =
|
||||||
selectors?.text?.length != null &&
|
selectors?.text?.length != null &&
|
||||||
selectors?.text?.length < 25 &&
|
selectors?.text?.length < 25 &&
|
||||||
action.hasOnlyText
|
action.hasOnlyText
|
||||||
? `text=${selectors.text}`
|
? `text=${selectors.text}`
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user