Skip to content

Latest commit

 

History

History
145 lines (98 loc) · 4.67 KB

group.md

File metadata and controls

145 lines (98 loc) · 4.67 KB

Group Block - Test Cases


TC001

Deep nesting is possible (verify iOS does not crash)

  • Add a Group block
  • Nest blocks inside multiple Group blocks (at least 3 levels deep)
  • Check if app do not crash

TC002

Check if Group placeholder is visible for the unselected state

  • Add a Group block
  • Deselect
  • Check if you are able to see Group placeholder

Expected look:
Progress


TC003

Check if Group placeholder is render in nested structure

  • Add a Group block
  • Nest some Group inside
  • Select top-most Group block in hierarchy
  • Check if you are able to see Group placeholder of nested blocks wrapped with dashed border
  • Go down in the hierarchy observing if margins is kept (the whole UI should remain the same)
  • After selecting last Group you should be able to see it's AppenderButton

Expected look:
PlaceholderNestes

  • Navigation arrows is not visible
  • Only selected block title is visible in breadcrumbs

PlaceholderDeepNested

  • Navigation arrows is visible
  • Navigation arrows are disable depending on order in block
  • Show parent in breadcrumbs

TC004

Nested block have proper border styling

  • Add a Group block
  • Nest some blocks inside
  • Check if each selected block gets solid blue border
  • Check if each first child gets dashed grey border

Expected look:
BorderStyling


TC005

Breadcrumbs on FloatingToolbar is properly displayed

  • Add a Group block
  • Create nested structure
  • Expect only selected block title is visible in Breadcrumbs on root list level
  • Expect focused block title and focused block icon are visible in Breadcrumbs on deeper levels
  • Expect top most parent block icon is visible in Breadcrumbs on deeper levels
  • Expect Breadcrumbs renders navigation up button on deeper levels

Expected look:
BreadcrumbsRoot

BreadcrumbsNested


TC006

Navigation up button works as expected

  • Add a Group block
  • Create nested structure
  • Select deep nested block
  • Press navigation up button on Breadcrumb
  • Expect each time you press navigation up button the selection moves to parent block
  • Expect border changes accordingly

TC007

Navigation down works according to deepest-descendent-first approach

  • Add a Group block
  • Create some nested structure ( at least 3 levels deep )
  • Clear selection
  • Press on the bottom-most block in hierarchy of added Group
  • Check if the selection is redirect properly to depest descendant

TC008

Cross navigation between blocks works as expected

  • Add a Group block
  • Create some nested structure ( at least 3 levels deep )
  • Select nested block
  • Having nested block selected try to select block which is higher in the hierarchy (one, two and more levels above)
  • Check if that block gets selected after press

TC009

Check if in DarkMode all components gets proper colors

  • Add a Group block
  • Create nested structure
  • Switch to DarkMode
  • Check if all components switch it's color schema to dark

Expected look:
DarkMode DarkModeEmpty


TC010

Check if nested Placeholder block can be replaced

  • Open New Post (it is very important to start with blank post)
  • Add a Group block
  • Add empty Paragraph inside the created block
  • Make sure that the created paragraph is empty and selected
  • Press on Inserter button and select block to add
  • The paragraph should be replaced by selected block