diff --git a/spec/features/issue_template_spec.rb b/spec/features/issue_template_spec.rb index 4c612173..c3c005c5 100644 --- a/spec/features/issue_template_spec.rb +++ b/spec/features/issue_template_spec.rb @@ -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 @@ -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' @@ -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 @@ -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