When an execution is cancelled in query tool, two different messages are encountered at different time. There is no exact pattern for them. So now, the test case will look for any one of following message in the output text box
i) canceling statement due to user request ii) Execution cancelled! Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bdf90e67a750cb35dc56715a1714beae06cd98a4 Modified Files -------------- web/pgadmin/feature_tests/query_tool_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)