webarena icon indicating copy to clipboard operation
webarena copied to clipboard

Feature/fix pop menu

Open lwaekfjlk opened this issue 11 months ago • 10 comments

lwaekfjlk avatar Mar 14 '24 00:03 lwaekfjlk

solve #89

lwaekfjlk avatar Mar 14 '24 00:03 lwaekfjlk

We have noticed this issue as well, is this caused by newer version of playwright?

dragon18456 avatar Mar 18 '24 20:03 dragon18456

I am not sure. I think that is because playwright just cannot capture those popmenus? Maybe @shuyanzhou can provide more reasons on why this happens.

Basically I try to provide a dirty solution to hard-code this part. Do you have any other suggestions?

lwaekfjlk avatar Mar 18 '24 20:03 lwaekfjlk

I can confirm this is an issue from Playwright. There is a solution in the issue I posted. I will test it and follow up soon

shuyanzhou avatar Mar 18 '24 21:03 shuyanzhou

Thanks @shuyanzhou

@lwaekfjlk As far as I can tell, this bug affects the shopping website and the maps website. Are there any other tasks that have this issue?

dragon18456 avatar Mar 18 '24 21:03 dragon18456

Yes. @dragon18456 This bug affects sorting products and selecting transportation modes. We tested other dropdown menus such as ones on the admin store portal, and found no problem. Feel free to follow up if you discover new problems. Thanks!

shuyanzhou avatar Mar 18 '24 23:03 shuyanzhou

One issue I found is that on the bestsellers report page in the shopping_admin website, the dropdowns for the period does not render when the dropdown is open. The agent is unable to select the proper period i.e. year, month, or day for the range, which make some of the first couple of tasks nearly impossible. @shuyanzhou @lwaekfjlk

dragon18456 avatar Mar 20 '24 05:03 dragon18456

good point :-)

lwaekfjlk avatar Mar 20 '24 05:03 lwaekfjlk

I have also tried changing device_scale_factor=2 as posted in the issue above that @shuyanzhou mentioned, but this does not solve the problem. is this a new problem with playwright? Is there perhaps a version that I can downgrade to to make this issue go away? @lwaekfjlk

dragon18456 avatar Mar 20 '24 05:03 dragon18456

Hi @dragon18456 Thanks for reporting this one. I plan to follow @lwaekfjlk's fix and fix all these known issues. I have tested two or three versions of playwright before, but all have the same issue.

shuyanzhou avatar Mar 20 '24 20:03 shuyanzhou