Styling Stories and Test Cases

  • TodoApp component

  • Should be styled correctly

    • Should have div styling applied in accordance with the design specs

  • Should be styled correctly

    • Should have header styling applied in accordance with the design specs

    • Should have h1 styling applied in accordance with the design specs

    • Should have checkbox styling applied in accordance with the design specs

  • Should render correctly

    • Should have a toggle all complete status span

  • Should be styled correctly

    • Should have span styling applied in accordance with the design specs

  • Should be styled correctly

    • Should have new todo styling applied in accordance with the design specs

    • Should have edit todo styling applied in accordance with the design specs

  • MainSection

  • Should be styled correctly

    • Should have styling decoration applied in accordance with the design specs

    • Should have section styling applied in accordance with the design specs

    • Should have ul styling applied in accordance with the design specs

    • Should have radiobuttons styling applied in accordance with the design specs

  • TodoItem

  • Should be styled correctly

    • Should have li styling applied in accordance with the design specs

    • Should have ButtonChecked styling applied in accordance with the design specs

    • Should have ButtonUnchecked styling applied in accordance with the design specs

    • Should have label not completed styling applied in accordance with the design specs

    • Should have label completed styling applied in accordance with the design specs

    • Should have delete div styling applied in accordance with the design specs

    • Should not display delete div initially

  • Should behave correctly

    • Should display delete div only when hovering over a todo

  • Should be styled correctly

    • Should have footer styling applied in accordance with the design specs

    • Should have number of not completed todos in bold

    • Should have delete button styling applied in accordance with the design specs

    • Should have delete button hover styling applied in accordance with the design specs

Last updated

Was this helpful?