Cleanup test files and move to another folder
This commit is contained in:
parent
8456d8aa28
commit
9c765b35ab
28 changed files with 0 additions and 1981 deletions
62
.workbench/scenarios/scenario-1.html
Normal file
62
.workbench/scenarios/scenario-1.html
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="da">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Scenario 1: No Overlap</title>
|
||||
<link rel="stylesheet" href="scenario-styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="scenario-container">
|
||||
<a href="../stacking-visualization-new.html" class="back-link">← Back to All Scenarios</a>
|
||||
|
||||
<div class="scenario-header">
|
||||
<h1 class="scenario-title">Scenario 1: No Overlap</h1>
|
||||
<div id="test-results"></div>
|
||||
</div>
|
||||
|
||||
<div class="scenario-description">
|
||||
<h3>Description</h3>
|
||||
<p>Three sequential events with no time overlap. All events should have stack level 0 since they don't conflict.</p>
|
||||
|
||||
<div class="expected-result">
|
||||
<strong>Expected Result:</strong><br>
|
||||
Event A: stackLevel=0 (stacked)<br>
|
||||
Event B: stackLevel=0 (stacked)<br>
|
||||
Event C: stackLevel=0 (stacked)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="calendar-column">
|
||||
<swp-event data-event-id="S1A" data-title="Scenario 1: Event A" data-start="2025-10-06T08:00:00.000Z" data-end="2025-10-06T09:00:00.000Z" data-type="work" data-duration="60" data-stack-link="{"stackLevel":0}" style="position: absolute; top: 1px; height: 77px; left: 2px; right: 2px; margin-left: 0px; z-index: 100;">
|
||||
<swp-event-time data-duration="60">10:00 - 11:00</swp-event-time>
|
||||
<swp-event-title>Scenario 1: Event A</swp-event-title>
|
||||
</swp-event>
|
||||
|
||||
<swp-event data-event-id="S1B" data-title="Scenario 1: Event B" data-start="2025-10-06T09:00:00.000Z" data-end="2025-10-06T10:00:00.000Z" data-type="work" data-duration="60" data-stack-link="{"stackLevel":0}" style="position: absolute; top: 81px; height: 77px; left: 2px; right: 2px; margin-left: 0px; z-index: 100;">
|
||||
<swp-event-time data-duration="60">11:00 - 12:00</swp-event-time>
|
||||
<swp-event-title>Scenario 1: Event B</swp-event-title>
|
||||
</swp-event>
|
||||
|
||||
<swp-event data-event-id="S1C" data-title="Scenario 1: Event C" data-start="2025-10-06T10:00:00.000Z" data-end="2025-10-06T11:00:00.000Z" data-type="work" data-duration="60" data-stack-link="{"stackLevel":0}" style="position: absolute; top: 161px; height: 77px; left: 2px; right: 2px; margin-left: 0px; z-index: 100;">
|
||||
<swp-event-time data-duration="60">12:00 - 13:00</swp-event-time>
|
||||
<swp-event-title>Scenario 1: Event C</swp-event-title>
|
||||
</swp-event>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
import { ScenarioTestRunner } from './scenario-test-runner.js';
|
||||
|
||||
window.scenarioTests = {
|
||||
id: 'scenario-1',
|
||||
expected: [
|
||||
{ eventId: 'S1A', stackLevel: 0, type: 'stacked' },
|
||||
{ eventId: 'S1B', stackLevel: 0, type: 'stacked' },
|
||||
{ eventId: 'S1C', stackLevel: 0, type: 'stacked' }
|
||||
]
|
||||
};
|
||||
</script>
|
||||
<script type="module" src="scenario-test-runner.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue