Enable previously disabled test scenarios
This commit is contained in:
@@ -490,7 +490,7 @@ feature 'Commenting debates' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
xscenario 'Trying to vote multiple times', :js do
|
scenario 'Trying to vote multiple times', :js do
|
||||||
visit debate_path(@debate)
|
visit debate_path(@debate)
|
||||||
|
|
||||||
within("#comment_#{@comment.id}_votes") do
|
within("#comment_#{@comment.id}_votes") do
|
||||||
|
|||||||
@@ -567,7 +567,7 @@ feature 'Commenting legislation questions' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
xscenario 'Trying to vote multiple times', :js do
|
scenario 'Trying to vote multiple times', :js do
|
||||||
visit legislation_process_draft_version_annotation_path(@legislation_annotation.draft_version.process,
|
visit legislation_process_draft_version_annotation_path(@legislation_annotation.draft_version.process,
|
||||||
@legislation_annotation.draft_version,
|
@legislation_annotation.draft_version,
|
||||||
@legislation_annotation)
|
@legislation_annotation)
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ feature 'Commenting legislation questions' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
xscenario 'Trying to vote multiple times', :js do
|
scenario 'Trying to vote multiple times', :js do
|
||||||
visit legislation_process_question_path(@legislation_question.process, @legislation_question)
|
visit legislation_process_question_path(@legislation_question.process, @legislation_question)
|
||||||
|
|
||||||
within("#comment_#{@comment.id}_votes") do
|
within("#comment_#{@comment.id}_votes") do
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ describe 'Consul Schema' do
|
|||||||
expect(hidden_field?(response, 'encrypted_password')).to be_truthy
|
expect(hidden_field?(response, 'encrypted_password')).to be_truthy
|
||||||
end
|
end
|
||||||
|
|
||||||
xit 'hides confidential has_one associations' do
|
it 'hides confidential has_one associations' do
|
||||||
user.administrator = create(:administrator)
|
user.administrator = create(:administrator)
|
||||||
response = execute("{ user(id: #{user.id}) { administrator { id } } }")
|
response = execute("{ user(id: #{user.id}) { administrator { id } } }")
|
||||||
expect(hidden_field?(response, 'administrator')).to be_truthy
|
expect(hidden_field?(response, 'administrator')).to be_truthy
|
||||||
@@ -511,7 +511,7 @@ describe 'Consul Schema' do
|
|||||||
expect(received_tags).to match_array ['Parks', 'Health']
|
expect(received_tags).to match_array ['Parks', 'Health']
|
||||||
end
|
end
|
||||||
|
|
||||||
xit 'uppercase and lowercase tags work ok together for proposals' do
|
it 'uppercase and lowercase tags work ok together for proposals' do
|
||||||
create(:tag, name: 'Health')
|
create(:tag, name: 'Health')
|
||||||
create(:tag, name: 'health')
|
create(:tag, name: 'health')
|
||||||
create(:proposal, tag_list: 'health')
|
create(:proposal, tag_list: 'health')
|
||||||
@@ -523,7 +523,7 @@ describe 'Consul Schema' do
|
|||||||
expect(received_tags).to match_array ['Health', 'health']
|
expect(received_tags).to match_array ['Health', 'health']
|
||||||
end
|
end
|
||||||
|
|
||||||
xit 'uppercase and lowercase tags work ok together for debates' do
|
it 'uppercase and lowercase tags work ok together for debates' do
|
||||||
create(:tag, name: 'Health')
|
create(:tag, name: 'Health')
|
||||||
create(:tag, name: 'health')
|
create(:tag, name: 'health')
|
||||||
create(:debate, tag_list: 'Health')
|
create(:debate, tag_list: 'Health')
|
||||||
|
|||||||
Reference in New Issue
Block a user