From eb12ba6ed23a66628c92586c3de24e66cfc8c64e Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 25 Nov 2024 09:35:55 -0500 Subject: [PATCH] test: Use -t=auto to generate some screenshots, detect -t=auto failure more reliably, exercise setting the initial profile, and fix various bugs that fell out. --- apps/ssb/tf-profile.js | 4 +-- apps/ssb/tf-tab-news.js | 1 + core/client.js | 1 + src/ssb.js.c | 7 ++++- src/taskstub.js.c | 2 +- src/tests.c | 7 +++-- tools/autotest.py | 57 +++++++++++++++++++++++++++++++++++------ 7 files changed, 65 insertions(+), 14 deletions(-) diff --git a/apps/ssb/tf-profile.js b/apps/ssb/tf-profile.js index 7457a5efd..f45288981 100644 --- a/apps/ssb/tf-profile.js +++ b/apps/ssb/tf-profile.js @@ -233,7 +233,7 @@ class TfProfileElement extends LitElement { `; } edit = html` - `; } diff --git a/apps/ssb/tf-tab-news.js b/apps/ssb/tf-tab-news.js index ee3b87894..4b3fca2a2 100644 --- a/apps/ssb/tf-tab-news.js +++ b/apps/ssb/tf-tab-news.js @@ -109,6 +109,7 @@ class TfTabNewsElement extends LitElement { render() { let profile = this.hash.startsWith('#@') ? html`