reveal.js - Tests

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Tests completed in 146 milliseconds.
83 assertions of 83 passed, 0 failed.

  1. DOM: Initial slides classes (0, 5, 5)Rerun1 ms
    1. no .past slides
    2. one .present slide
    3. remaining horizontal slides are .future
    4. two .stacks
    5. vertical slides are given .future
  2. API: Reveal.isReady (0, 1, 1)Rerun0 ms
    1. returns true
  3. API: Reveal.isOverview (0, 3, 3)Rerun7 ms
    1. false by default
    2. true after toggling on
    3. false after toggling off
  4. API: Reveal.isPaused (0, 3, 3)Rerun1 ms
    1. false by default
    2. true after pausing
    3. false after resuming
  5. API: Reveal.isFirstSlide (0, 3, 3)Rerun3 ms
    1. true after Reveal.slide( 0, 0 )
    2. false after Reveal.slide( 1, 0 )
    3. true after Reveal.slide( 0, 0 )
  6. API: Reveal.isLastSlide (0, 3, 3)Rerun2 ms
    1. false after Reveal.slide( 0, 0 )
    2. true after Reveal.slide(
    3. false after Reveal.slide( 0, 0 )
  7. API: Reveal.getIndices (0, 5, 5)Rerun3 ms
    1. h exists
    2. v exists
    3. f exists
    4. h 1, v 0
    5. h 1, v 2
  8. API: Reveal.getSlide (0, 2, 2)Rerun0 ms
    1. gets correct first slide
    2. returns undefined when slide can't be found
  9. API: Reveal.getPreviousSlide/getCurrentSlide (0, 2, 2)Rerun2 ms
    1. previous is slide #0
    2. current is slide #1
  10. API: Reveal.getScale (0, 1, 1)Rerun1 ms
    1. has scale
  11. API: Reveal.getConfig (0, 1, 1)Rerun0 ms
    1. has config
  12. API: Reveal.configure (0, 3, 3)Rerun3 ms
    1. "loop" is false to start with
    2. "loop" has changed to true
    3. supports custom values
  13. API: Reveal.availableRoutes (0, 2, 2)Rerun2 ms
    1. correct for first slide
    2. correct for vertical slide
  14. API: Reveal.next (0, 7, 7)Rerun4 ms
    1. okay
    2. okay
    3. okay
    4. okay
    5. okay
    6. okay
    7. okay
  15. API: Reveal.next at end (0, 2, 2)Rerun2 ms
    1. okay
    2. okay
  16. Fragments: Sliding to fragments (0, 4, 4)Rerun3 ms
    1. Reveal.slide( 2, 0, -1 )
    2. Reveal.slide( 2, 0, 0 )
    3. Reveal.slide( 2, 0, 2 )
    4. Reveal.slide( 2, 0, 1 )
  17. Fragments: Hiding all fragments (0, 2, 2)Rerun2 ms
    1. one fragment visible when index is 0
    2. no fragments visible when index is -1
  18. Fragments: Current fragment (0, 4, 4)Rerun2 ms
    1. no current fragment at index -1
    2. one current fragment at index 0
    3. no current fragment when navigating to previous slide
    4. no current fragment when navigating to next slide
  19. Fragments: Stepping through fragments (0, 6, 6)Rerun3 ms
    1. next() goes to next fragment
    2. right() goes to next fragment
    3. down() goes to next fragment
    4. prev() goes to prev fragment
    5. left() goes to prev fragment
    6. up() goes to prev fragment
  20. Fragments: Stepping past fragments (0, 2, 2)Rerun2 ms
    1. no fragments visible when on previous slide
    2. all fragments visible when on future slide
  21. Fragments: Fragment indices (0, 1, 1)Rerun1 ms
    1. both fragments of same index are shown
  22. Fragments: Index generation (0, 3, 3)Rerun0 ms
    1. okay
    2. okay
    3. okay
  23. Fragments: Index normalization (0, 3, 3)Rerun0 ms
    1. okay
    2. okay
    3. okay
  24. Fragments: fragmentshown event (0, 2, 2)Rerun16 ms
    1. event fired
    2. event fired
  25. Fragments: fragmenthidden event (0, 2, 2)Rerun16 ms
    1. event fired
    2. event fired
  26. Configuration: Controls (0, 2, 2)Rerun2 ms
    1. controls are hidden
    2. controls are visible
  27. Configuration: Progress (0, 2, 2)Rerun2 ms
    1. progress are hidden
    2. progress are visible
  28. Configuration: Loop (0, 2, 2)Rerun3 ms
    1. looped from start to end
    2. looped from end to start
  29. Events: slidechanged (0, 3, 3)Rerun15 ms
    1. event fired
    2. event fired
    3. event fired
  30. Events: paused (0, 1, 1)Rerun13 ms
    1. event fired
  31. Events: resumed (0, 1, 1)Rerun14 ms
    1. event fired