Jest verificar si el botón está deshabilitado
const buttonState = document.getElementById("btn").disabled
// true means it is disabled
John Appleseed
const buttonState = document.getElementById("btn").disabled
// true means it is disabled