DEV: Fix random typos (#22078)

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
This commit is contained in:
Jarek Radosz
2023-06-13 22:02:21 +02:00
committed by GitHub
parent 286dfcacb4
commit dae3970bad
22 changed files with 29 additions and 30 deletions

View File

@ -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

View File

@ -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

View File

@ -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")

View File

@ -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

View File

@ -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