Add data-testid to toast, update selector and login test
- Add data-testid='toast' to toast element in ui-utils.js - Update toast selector in ui_keywords.resource to use [data-testid='toast'] - Update login rate limit test to check for 'invalid' instead of 'lockout' (testing mode disables lockout, so test verifies proper error message) - Remove completed task docs from tasks.md
This commit is contained in:
@@ -185,7 +185,7 @@ Element Text Should Contain
|
||||
Toast Should Contain
|
||||
[Arguments] ${text}
|
||||
[Documentation] Assert that a toast/notification contains the given text.
|
||||
${toast}= Get Text .toast, .notification
|
||||
${toast}= Get Text [data-testid="toast"]
|
||||
Should Contain ${toast} ${text}
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user