mirror of
https://github.com/TautvydasDerzinskas/Thingport.git
synced 2026-10-18 20:59:55 -05:00
docs: update dashboard screenshots
This commit is contained in:
1 parent
5fa6c40324
commit
7a2e82ab6f
3 files changed
+8
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 132 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 380 KiB After Width: | Height: | Size: 255 KiB |
@@ -91,6 +91,14 @@ const SHOTS = [
|
||||
name: "01_dashboard",
|
||||
run: async (page) => {
|
||||
await page.goto("/");
|
||||
await settle(page, 0);
|
||||
// The weather card names the account's saved location; blur it.
|
||||
await page.evaluate(() => {
|
||||
for (const button of document.querySelectorAll('button[aria-label="Change location"]')) {
|
||||
const name = button.previousElementSibling;
|
||||
if (name instanceof HTMLElement) name.style.filter = "blur(5px)";
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user