Hello, I’ve encountered a pretty frustating issue where every test passes (and I do mean every test) but there’s one that doesn’t and it makes no sense:
" When the #search-input
element contains an invalid Pokemon name and the #search-button
element is clicked, an alert should appear with the text "Pokémon not found"
."
Which is weird since, the test " When the #search-input
element contains the value Red
and the #search-button
element is clicked, an alert should appear with the text "Pokémon not found"
" does pass
I’ve tried testing my code on VSCode and it LITERALLY works, the alarms are there. I tried using “window.alert”, “alert” even passing them a const as parameters but nothing works, apparently, the “Red” test passes but not “hgjzuighzuhgu”