From d900d4f97b48ac09c85d43aa2de0bc5de7a85c70 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 18 Nov 2025 09:27:03 +0800 Subject: [PATCH] MDL-87050 behat: use src for img xpath selector --- mod/folder/tests/behat/folder_activity_download.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/folder/tests/behat/folder_activity_download.feature b/mod/folder/tests/behat/folder_activity_download.feature index a9fccbd9554..bcc469a0c6a 100644 --- a/mod/folder/tests/behat/folder_activity_download.feature +++ b/mod/folder/tests/behat/folder_activity_download.feature @@ -56,5 +56,5 @@ Feature: Folder files can be viewed without downloading Examples: | filename | displayedtext | elementtype | - | image.jpg | //img[contains(@alt, '/image.jpg')] | xpath_element | + | image.jpg | //img[contains(@src, '/image.jpg')] | xpath_element | | test.html | This is an example HTML | text |