Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,16 @@ export const visitEntityPage = async (data: {
response.url().includes('exclude_source_fields')
);

await page.getByTestId(dataTestId).getByTestId('data-name').click();
// Adding a failsafe for the operation below to avoid a tooltip overlap issue
// over the option is causing playwright failure
// 1. To first hover over the option to move mouse away from tooltip trigger element
// 2. In case the tooltip is still there, force click on the option-.
await page.getByTestId(dataTestId).getByTestId('data-name').hover();
await page
.getByTestId(dataTestId)
.getByTestId('data-name')
// eslint-disable-next-line playwright/no-force-option
.click({ force: true });
Comment on lines +84 to +93
await waitForAllLoadersToDisappear(page);
await page.getByTestId('searchBox').clear();
};
Expand Down
Loading