Skip to content

Commit

Permalink
Lint spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
ObiWanKeoni committed Jan 10, 2025
1 parent 4b36f1f commit 329d0c8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/system/avo/has_field_discovery_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
expect(page).to have_text("IS ACTIVE", count: 1)
expect(page).to have_text("BIRTHDAY", count: 1)


# Single file uploads
expect(page).to have_text("CV", count: 1)
expect(page).not_to have_text("CV ATTACHMENT")
Expand Down Expand Up @@ -160,7 +159,7 @@
wait_for_loaded

# Verify only one Trix editor instance is present
expect(page).to have_css('trix-editor', count: 1)
expect(page).to have_css("trix-editor", count: 1)
end
end

Expand All @@ -179,7 +178,7 @@
wait_for_loaded

# Verify only one Trix editor instance is present
expect(page).to have_text('TAGS', count: 1)
expect(page).to have_text("TAGS", count: 1)
expect(page).to have_css('[data-target="tag-component"]')
end
end
Expand All @@ -191,7 +190,7 @@
wait_for_loaded

within('[data-field-id="status"]') do
expect(page).to have_css('select')
expect(page).to have_css("select")
expect(page).to have_select(options: ["draft", "published", "archived"])
expect(page).to have_select(selected: "draft")
end
Expand Down

0 comments on commit 329d0c8

Please sign in to comment.