I know similar questions have been asked many times, but I didn\'t find a solution for mine yet. My question is really simple. All I want to do is to test actions on popup.html,
I believe your popup.js syntax is wrong
$('#btn').click(function (){ alert("test"); };
should be
$('#btn').click(function (){ alert("test"); });
looks like you are missing a paran;