diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-10-19 14:35:33 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-10-19 14:35:33 +0300 |
commit | 1af6ddffed5028b9e1f63e2d5760982a7b2ca473 (patch) | |
tree | 162d4ca9bf20993d99c692cf40b75c9d26d0069f /spec/features/issues/user_creates_issue_spec.rb | |
parent | cdfc2378e5e30ac87479ef839dbc20f3bdaf1af0 (diff) |
Change markdown header tab anchor links to buttons
Diffstat (limited to 'spec/features/issues/user_creates_issue_spec.rb')
-rw-r--r-- | spec/features/issues/user_creates_issue_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/issues/user_creates_issue_spec.rb b/spec/features/issues/user_creates_issue_spec.rb index 5e8662100c5..687a6f1eafc 100644 --- a/spec/features/issues/user_creates_issue_spec.rb +++ b/spec/features/issues/user_creates_issue_spec.rb @@ -47,15 +47,15 @@ describe "User creates issue" do textarea = first(".gfm-form textarea") page.within(form) do - click_link("Preview") + click_button("Preview") preview = find(".js-md-preview") # this element is findable only when the "Preview" link is clicked. expect(preview).to have_content("Nothing to preview.") - click_link("Write") + click_button("Write") fill_in("Description", with: "Bug fixed :smile:") - click_link("Preview") + click_button("Preview") expect(preview).to have_css("gl-emoji") expect(textarea).not_to be_visible |