Skip to content

Conversation

@DariaBod
Copy link

@DariaBod DariaBod commented Jan 13, 2026

Rationale

Added action to avoid flaky test because of tooltip.

Related Pull Requests

Changes

  • moveToElement(title) to avoid tooltip from table header

Run

@DariaBod DariaBod self-assigned this Jan 13, 2026
Comment on lines +995 to +996
Locator.XPathLocator selectionHandleLoc = Locator.byClass("no-margin-top detail__header--name");
WebElement title = selectionHandleLoc.findElement(getDriver());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think all editable grids have this sort of header. Also, components should usually find elements only within themself (findElement(this) instead of findElement(getDriver())).

That being said, there is an existing method in EditableGrid to dismiss the tooltip.

Suggested change
Locator.XPathLocator selectionHandleLoc = Locator.byClass("no-margin-top detail__header--name");
WebElement title = selectionHandleLoc.findElement(getDriver());
dismissPopover();

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.

3 participants