Please add to the Woocommerce notice element the ability to configure automatic hiding of notifications after a certain time.
This version of the code works for me:
setInterval(function() {
jQuery('.woocommerce-message, .woocommerce-error').fadeOut('slow')
}, 5000);