Skip to content

Commit d018ea2

Browse files
committed
fix: allow "login" or "log in" or "button"
This allows people to say to "Log in" or to use the "login button"
1 parent 24d3664 commit d018ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/01-manual_testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def check_content():
3131
is_username = True
3232
if "password" in lowered_line:
3333
is_password = True
34-
if "click" in lowered_line or "login" in lowered_line:
34+
if re.search("(log ?in)|button", lowered_line):
3535
is_login = True
3636
if "welcome" in lowered_line:
3737
is_welcome = True

0 commit comments

Comments
 (0)