This test suite validates the event layout algorithm for the Calendar Plantempus application. The algorithm determines how overlapping events should be rendered using two strategies:
Each scenario tests a specific edge case or layout pattern. Click on a scenario below to view the visual representation and test results.
Three sequential events with no time overlap. All should have stack level 0.
View Test →Two events starting at same time (10:00) - should share columns in a grid with 2 columns.
View Test →Events with progressive nesting: A contains B, B contains C, C and D overlap. Tests stack level calculation.
View Test →Long event (A) with multiple shorter events (B, C, D) nested inside at different times.
View Test →Three events all starting at 10:00 - should create a 3-column grid layout.
View Test →Two separate pairs of overlapping events. Each pair should be independent.
View Test →One long event (A) containing two shorter events (B, C) that don't overlap each other.
View Test →Events that touch but don't overlap (A ends when B starts). Should not stack.
View Test →Events linked by end-to-start conflicts within threshold. Tests conflict chain detection.
View Test →Four events all starting at same time - maximum column sharing test.
View Test →