Refactorings and gui improvements
Some checks failed
/ Run tests (push) Successful in 1m22s
/ Run system tests (push) Failing after 1m33s
/ Build, push and deploy image (push) Successful in 3m22s

This commit is contained in:
david 2024-11-03 21:58:25 +01:00
parent c965e03e5a
commit d1294c2fc4
46 changed files with 358 additions and 128020 deletions

View file

@ -13,13 +13,13 @@ class ElementsTest < ApplicationSystemTestCase
end
test "visiting the index" do
visit elements_url
visit page_elements_url(@element.page)
assert_selector "h1", text: "Elemente"
end
test "should create element" do
skip
visit elements_url
visit page_elements_url(@element.page)
click_on "Element hinzufügen"
assert_difference("Element.count", 1) do
@ -35,9 +35,6 @@ class ElementsTest < ApplicationSystemTestCase
test "should update Element" do
visit element_url(@element)
click_on "Element bearbeiten", match: :first
fill_in_rich_text_area "Details", with: @element.description_html
fill_in "Pfad", with: @element.path
fill_in "Beschreibung", with: @element.title
click_on "Element aktualisieren"
end