test: Test the intro flow.

This commit is contained in:
Cory McWilliams 2025-05-22 10:19:55 -04:00
parent a25d08fd76
commit daa861a98b
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,10 @@
* Faster loads.
* Minor UI tweaks.
* Fixed more shutdown issues.
* Fixed a longstanding potential database issue.
* Updates:
* CodeMirror
* QuickJS 2025-04-26
* libuv 1.51.0
* sqlite 3.49.2
* w3.css 5.02

View File

@ -80,6 +80,15 @@ try:
select(driver, ['tf-auth', 'shadow_root', '#loginButton'], ('click',))
select(driver, ['#document', 'frame', '=identity'])
driver.get('http://localhost:8888/')
select(driver, ['#document', 'frame', '//button[text()="Next"]'], ('click',))
select(driver, ['#document', 'frame', '//button[text()="Onward"]'], ('click',))
select(driver, ['#document', 'frame', '//button[text()="Got It"]'], ('click',))
select(driver, ['#document', 'frame', '//button[text()="Okay"]'], ('click',))
select(driver, ['#document', 'frame', '//button[text()="Let\'s Go!"]'], ('click',))
select(driver, ['//button[text()="✅ Allow"]'], ('click',))
select(driver, ['#document', 'frame', 'tf-app', 'shadow_root', '#tf-tab-news', 'shadow_root', '#tf-compose', 'shadow_root', '#edit'], ('send_keys', 'We made it to the ssb app.'))
driver.get('http://localhost:8888/~core/admin/')
select(driver, ['#document', 'frame', '#gs_room_name'], ('send_keys', 'test room'))
select(driver, ['#document', 'frame', '//*[@id="gs_room_name"]/following-sibling::button'], ('click',))