Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Update test code. (Because modal header was changed from "Issue Templ…
Browse files Browse the repository at this point in the history
…ate" to "Template".)
  • Loading branch information
akiko-pusu committed Aug 26, 2017
1 parent 9ba7604 commit e89e40e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/issue_template_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
end

scenario 'popup Template filter' do
expect(titlebar).to have_content('Issue template: Bug')
expect(titlebar).to have_content('Template: Bug')
end

context 'Template filtered' do
Expand All @@ -121,7 +121,7 @@
end

scenario 'Click filtered link and applied template' do
table.find('tbody > tr > td:nth-child(5) > a').click
table.find('tbody > tr > td:nth-child(4) > a').click
sleep(0.2)
description = page.find('#issue_description')
expect(description.value).to match 'Sample description for rspec'
Expand Down Expand Up @@ -162,7 +162,7 @@
issue_description.set(expected_description)
page.find('#link_template_dialog').click
sleep(0.2)
table.find('tbody > tr > td:nth-child(5) > a').click
table.find('tbody > tr > td:nth-child(4) > a').click
sleep(0.2)
modal_close.click
end
Expand All @@ -179,7 +179,7 @@
issue_description.set('different description')
page.find('#link_template_dialog').click
sleep(0.2)
table.find('tbody > tr > td:nth-child(5) > a').click
table.find('tbody > tr > td:nth-child(4) > a').click
sleep(0.2)
modal_close.click
end
Expand Down

0 comments on commit e89e40e

Please # to comment.