mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix feature test failures caused due to invalid binary path.
This commit is contained in:
@@ -127,6 +127,9 @@ class CheckDebuggerForXssFeatureTest(BaseFeatureTest):
|
||||
source_code = self.page.find_by_xpath(
|
||||
"//div[@id='id-debugger-messages'] //div[@id='debugger-msg']"
|
||||
).get_attribute('innerHTML')
|
||||
|
||||
self.assertIsNotNone(source_code, 'Messages tab is empty.')
|
||||
|
||||
self._check_escaped_characters(
|
||||
source_code,
|
||||
'NOTICE: <img src="x" onerror="console.log(1)">',
|
||||
|
||||
Reference in New Issue
Block a user