mirror of
https://github.com/discourse/discourse.git
synced 2025-07-01 13:12:04 +08:00
DEV: Fix random typos (#22078)
Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
This commit is contained in:
@ -46,7 +46,7 @@ describe "Composer Form Templates", type: :system do
|
||||
Fabricate(
|
||||
:category,
|
||||
name: "Multiple",
|
||||
slug: "mulitple",
|
||||
slug: "multiple",
|
||||
topic_count: 10,
|
||||
form_template_ids: [form_template_1.id, form_template_2.id],
|
||||
)
|
||||
@ -111,7 +111,7 @@ describe "Composer Form Templates", type: :system do
|
||||
expect(composer).to have_composer_preview_toggle
|
||||
end
|
||||
|
||||
it "hides the preivew when a category with a form template is selected" do
|
||||
it "hides the preview when a category with a form template is selected" do
|
||||
category_page.visit(category_with_template_1)
|
||||
category_page.new_topic_button.click
|
||||
expect(composer).to have_no_composer_preview
|
||||
|
@ -4,7 +4,6 @@ describe "Composer using review_media", type: :system do
|
||||
fab!(:user) { Fabricate(:user) }
|
||||
fab!(:topic) { Fabricate(:topic, category: Category.find(SiteSetting.uncategorized_category_id)) }
|
||||
fab!(:post) { Fabricate(:post, topic: topic) }
|
||||
# fab!(:upload) { Fabricate(:upload) }
|
||||
let(:topic_page) { PageObjects::Pages::Topic.new }
|
||||
|
||||
before do
|
||||
|
@ -86,7 +86,7 @@ describe "Navigating with breadcrumbs", type: :system do
|
||||
end
|
||||
end
|
||||
|
||||
describe "initial pageloads for nosubcategories" do
|
||||
describe "initial page loads for no-subcategories" do
|
||||
it "shows correct data for /c/" do
|
||||
visit("/c/#{category3.id}")
|
||||
expect(page).to have_current_path("/c/#{category3.slug}/#{category3.id}/none")
|
||||
|
@ -27,7 +27,7 @@ describe "Tag synonyms", type: :system do
|
||||
tags_page.visit_tag(tag_1)
|
||||
tags_page.tag_info_btn.click
|
||||
tags_page.edit_synonyms_btn.click
|
||||
# searched tag doesnt exist but will show option to create tag
|
||||
# searched tag doesn't exist but will show option to create tag
|
||||
tags_page.search_tags("graphics")
|
||||
tags_page.select_tag(value: "graphics")
|
||||
tags_page.add_synonym_btn.click
|
||||
|
@ -34,7 +34,7 @@ describe "Viewing sidebar mobile", type: :system, mobile: true do
|
||||
expect(sidebar_dropdown).to be_hidden
|
||||
end
|
||||
|
||||
it "collpases the sidebar when clicking on a link in the sidebar" do
|
||||
it "collapses the sidebar when clicking on a link in the sidebar" do
|
||||
visit("/latest")
|
||||
|
||||
sidebar_dropdown.click
|
||||
|
Reference in New Issue
Block a user