Skip to content

Commit 8628ca1

Browse files
committed
Fix partial text match bug
Partial match was not picking up action named "validate partial text"
1 parent 60d97f5 commit 8628ca1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Framework/Built_In_Automation/Web/Playwright/BuiltInFunctions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,8 @@ async def Validate_Text(step_data):
921921
case_insensitive = True
922922
elif left_l.startswith("*"):
923923
partial_match = True
924+
elif "partial" in left_l:
925+
partial_match = True
924926
expected_text = right_v
925927

926928
elif mid_l == "optional parameter":

0 commit comments

Comments
 (0)