This commit is contained in:
Kurt Hutten Irev-Dev
2024-06-07 15:48:51 +10:00
parent 49951f4326
commit f089f97285
2 changed files with 31 additions and 30 deletions

View File

@ -317,6 +317,14 @@ export async function getUtils(page: Page) {
if (isVisible) {
try {
await locator.hover({ timeout: 100 })
const count = await page
.getByTestId('constraint-symbol-popover')
.count()
if (count < 1) {
throw new Error('nope, try again')
}
return true
} catch (e) {
// do nothing, we'll try again later