add rspec tests for condition entry popup