Skip to content

Commit

Permalink
fix: double fills while debugging (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Dec 6, 2023
1 parent a7dd533 commit 6fb94e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/methodNames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,10 @@ export const locatorMethods = [
'getByTitle',
'first',
'last',
'and',
'or',
'nth',
'filter',
'check',
'click',
'fill',
'type',
];

export const locatorMethodRegex = /\.\s*(check|click|fill|type|locator|getBy[\w]+|first|last|nth|filter)\(/;
Expand Down

0 comments on commit 6fb94e4

Please sign in to comment.