﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
37182	non-existent DOM properties used in skip link to content selenium test	Varun Kasyap Pentamaraju	Varun Kasyap Pentamaraju	"in admin_views.test_skip_link_to_content.PlaywrightTests.test_skip_link_with_RTL_language_doesnt_create_horizontal_scrolling

horizontal scroll check uses non-existent DOM properties (scrollWeight / offsetWeight) instead of scrollWidth / offsetWidth.


{{{
            is_vertical_scrolleable = self.selenium.execute_script(
                ""return arguments[0].scrollHeight > arguments[0].offsetHeight;"", body
            )
            is_horizontal_scrolleable = self.selenium.execute_script(
                ""return arguments[0].scrollWeight > arguments[0].offsetWeight;"", body
            )
            self.assertTrue(is_vertical_scrolleable)
            self.assertFalse(is_horizontal_scrolleable)
}}}

undefined > undefined is always false. so, assertFalse always passes
"	Cleanup/optimization	assigned	contrib.admin	dev	Normal				Accepted	1	0	0	0	0	0
