Skip to content

Closes #772. Fixing bug by updating empty state button locator#773

Open
uzmamansoor09 wants to merge 1 commit into
keycloak:mainfrom
uzmamansoor09:772
Open

Closes #772. Fixing bug by updating empty state button locator#773
uzmamansoor09 wants to merge 1 commit into
keycloak:mainfrom
uzmamansoor09:772

Conversation

@uzmamansoor09

@uzmamansoor09 uzmamansoor09 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Closes #772

  • When the Todo list has no data, the UI renders a button with data-testid='there-are-no-items-empty-action'
  • If data exists in the database (due to previous test runs or specific test execution ordering), the UI renders an anchor link instead: Create item

Updated the locator to handle both the empty and populated states.

Signed-off-by: uzmamansoor09 <Uzma.Mansoor@ibm.com>
@uzmamansoor09 uzmamansoor09 marked this pull request as ready for review June 9, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExtendAdminConsoleTest#testAdminUiTodoApp fails with NoSuchElementException

1 participant