Skip to content

Commit

Permalink
Merge pull request #601 from newfold-labs/tests/enable-editor-step
Browse files Browse the repository at this point in the history
Enable editor step tests
  • Loading branch information
sangeetha-nayak authored Jul 29, 2024
2 parents 887c36f + 70e3e4c commit 005fd00
Show file tree
Hide file tree
Showing 19 changed files with 2,570 additions and 1,703 deletions.
98 changes: 52 additions & 46 deletions tests/cypress/fixtures/color-palette.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,63 @@
[
{
"base": "#2E7D32",
"contrast": "#FFFFFF",
"primary": "#4CAF50",
"tertiary": "#C8E6C9",
"header_background": "#2E7D32",
"header_foreground": "#FFFFFF",
"header_tiles": "#C8E6C9",
"secondary_background": "#FFFFFF",
"secondary_foreground": "#2E7D32"
"base": "#2E7D32",
"contrast": "#FFFFFF",
"primary": "#4CAF50",
"secondary": "#81C784",
"tertiary": "#C8E6C9",
"header_background": "#2E7D32",
"header_foreground": "#FFFFFF",
"header_titles": "#FFFFFF",
"secondary_background": "#C8E6C9",
"secondary_foreground": "#000000"
},
{
"base": "#1565C0",
"contrast": "#FFFFFF",
"primary": "#2196F3",
"tertiary": "#BBDEFB",
"header_background": "#1565C0",
"header_foreground": "#FFFFFF",
"header_tiles": "#BBDEFB",
"secondary_background": "#FFFFFF",
"secondary_foreground": "#1565C0"
"base": "#FF5722",
"contrast": "#FFFFFF",
"primary": "#FF7043",
"secondary": "#FF8A65",
"tertiary": "#FFAB91",
"header_background": "#FF5722",
"header_foreground": "#FFFFFF",
"header_titles": "#FFFFFF",
"secondary_background": "#FFAB91",
"secondary_foreground": "#000000"
},
{
"base": "#6A1B9A",
"contrast": "#FFFFFF",
"primary": "#9C27B0",
"tertiary": "#E1BEE7",
"header_background": "#6A1B9A",
"header_foreground": "#FFFFFF",
"header_tiles": "#E1BEE7",
"secondary_background": "#FFFFFF",
"secondary_foreground": "#6A1B9A"
"base": "#1976D2",
"contrast": "#FFFFFF",
"primary": "#2196F3",
"secondary": "#64B5F6",
"tertiary": "#BBDEFB",
"header_background": "#1976D2",
"header_foreground": "#FFFFFF",
"header_titles": "#FFFFFF",
"secondary_background": "#BBDEFB",
"secondary_foreground": "#000000"
},
{
"base": "#E65100",
"contrast": "#FFFFFF",
"primary": "#FF5722",
"tertiary": "#FFCCBC",
"header_background": "#E65100",
"header_foreground": "#FFFFFF",
"header_tiles": "#FFCCBC",
"secondary_background": "#FFFFFF",
"secondary_foreground": "#E65100"
"base": "#9C27B0",
"contrast": "#FFFFFF",
"primary": "#AB47BC",
"secondary": "#BA68C8",
"tertiary": "#E1BEE7",
"header_background": "#9C27B0",
"header_foreground": "#FFFFFF",
"header_titles": "#FFFFFF",
"secondary_background": "#E1BEE7",
"secondary_foreground": "#000000"
},
{
"base": "#FF6F00",
"contrast": "#FFFFFF",
"primary": "#FF9800",
"tertiary": "#FFE0B2",
"header_background": "#FF6F00",
"header_foreground": "#FFFFFF",
"header_tiles": "#FFE0B2",
"secondary_background": "#FFFFFF",
"secondary_foreground": "#FF6F00"
"base": "#FFC107",
"contrast": "#000000",
"primary": "#FFCA28",
"secondary": "#FFD54F",
"tertiary": "#FFE082",
"header_background": "#FFC107",
"header_foreground": "#000000",
"header_titles": "#000000",
"secondary_background": "#FFE082",
"secondary_foreground": "#000000"
}
]
]

75 changes: 38 additions & 37 deletions tests/cypress/fixtures/content-structure.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,41 @@
{
"content_structures": [
{
"structure": [
"header",
"hero",
"headings",
"team",
"features",
"gallery",
"call-to-action",
"footer"
]
},
{
"structure": [
"header",
"hero",
"headings",
"team",
"faq",
"testimonials",
"blog",
"footer"
]
},
{
"structure": [
"header",
"hero",
"headings",
"team",
"gallery",
"call-to-action",
"contact",
"footer"
]
}
{
"structure": [
"header",
"hero",
"headings",
"team",
"features",
"gallery",
"call-to-action",
"footer"
]
},
{
"structure": [
"header",
"hero",
"headings",
"team",
"gallery",
"call-to-action",
"faq",
"footer"
]
},
{
"structure": [
"header",
"hero",
"headings",
"team",
"features",
"testimonials",
"blog",
"footer"
]
}
]
}
}

7 changes: 6 additions & 1 deletion tests/cypress/fixtures/content-tones.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{"tone":"Professional","undertone":"Positive","verbosity":2,"reading_level":60}
{
"tone": "Professional",
"undertone": "Positive",
"verbosity": 50,
"reading_level": 60
}
Loading

0 comments on commit 005fd00

Please sign in to comment.