Add Site Studio themes and Theme Manager
Support categorized fragments, theme presets, block widths, and server-backed theme editing with onboarding and preview. Include Site Studio, design sources, specification and verification reports; remove the legacy studio-site example.
This commit is contained in:
@@ -83,12 +83,12 @@ def main():
|
||||
"entry_cover",
|
||||
"benefits",
|
||||
"related",
|
||||
"steps",
|
||||
}
|
||||
assert not any(fid.startswith("ai_") for fid in reg.fragments)
|
||||
assert all(
|
||||
reg.fragments[fid].builtin
|
||||
for fid in (
|
||||
"steps",
|
||||
"hero",
|
||||
"page_header",
|
||||
"richtext",
|
||||
@@ -321,11 +321,11 @@ def main():
|
||||
expect(page.locator("#inspectpane")).to_contain_text("Название этапа")
|
||||
expect(page.locator('[data-inspector] [name="p.variant"]')).to_have_count(0)
|
||||
page.locator('[data-inspector] [name="p.items.0.title"]').fill("QA первый этап")
|
||||
expect(frame.locator("[data-preview-id=process_steps] h3").first).to_have_text(
|
||||
expect(frame.locator("[data-preview-id=process_steps] b").first).to_have_text(
|
||||
"QA первый этап"
|
||||
)
|
||||
page.locator('[data-inspector] [name="p.items.0.title"]').fill("Разбираемся в задаче")
|
||||
expect(frame.locator("[data-preview-id=process_steps] h3").first).to_have_text(
|
||||
expect(frame.locator("[data-preview-id=process_steps] b").first).to_have_text(
|
||||
"Разбираемся в задаче"
|
||||
)
|
||||
checks.append("dedicated_steps_inspector_and_list_edit_reach_preview")
|
||||
|
||||
Reference in New Issue
Block a user