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:
2026-06-28 17:34:27 +02:00
parent 10b5ca42f5
commit 706aa37f18
4 changed files with 6 additions and 33 deletions

View File

@@ -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}
# ---------------------------------------------------------------------------