forked from GitHubMirrors/silverbullet-icalendar
feat(test): implement Playwright E2E and Dockerized testing infrastructure
Some checks failed
Build SilverBullet Plug / build (push) Has been cancelled
Some checks failed
Build SilverBullet Plug / build (push) Has been cancelled
This commit is contained in:
14
test_space_e2e/CONFIG.md
Normal file
14
test_space_e2e/CONFIG.md
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
# Configuration
|
||||
|
||||
```space-lua
|
||||
config.set("icalendar", {
|
||||
sources = {
|
||||
{
|
||||
url = "http://172.22.0.3/reachcalendar.ics",
|
||||
name = "TestCalendar"
|
||||
}
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
10
test_space_e2e/_plug/icalendar.plug.js
Normal file
10
test_space_e2e/_plug/icalendar.plug.js
Normal file
File diff suppressed because one or more lines are too long
23
test_space_e2e/index.md
Normal file
23
test_space_e2e/index.md
Normal file
@@ -0,0 +1,23 @@
|
||||
.iCalendar: Sync
|
||||
# Meetings for Jan 20th, 2026.iCalendar: Sync
|
||||
.
|
||||
|
||||
.iCalendar: Sync
|
||||
.iCalendar: Sync
|
||||
|
||||
|
||||
${template.each(query[[
|
||||
from e = index.tag "ical-event"
|
||||
where e.start:startsWith("2026-01-20")
|
||||
order by e.start
|
||||
]], function(e)
|
||||
return string.format("* %s to %s: %s (TZ: %s)\n",
|
||||
e.start:sub(12, 16),
|
||||
e["end"]:sub(12, 16),
|
||||
e.summary,
|
||||
e.timezone or "UTC")
|
||||
end)}
|
||||
|
||||
# Welcome 👋
|
||||
|
||||
Welcome to the wondrous world of SilverBullet.
|
||||
Reference in New Issue
Block a user