Now easier to write tests for the app, and most pages are at least touched.

This commit is contained in:
Zed A. Shaw 2025-07-10 13:06:19 -04:00
parent d095bc9ff4
commit ecc264db8c
14 changed files with 124 additions and 89 deletions

View file

@ -3,7 +3,7 @@
</script>
<blockstart>
<block style="--w: 100%; --value: 7">
<h1>Zed's Trash Ass Games</h1>
<h1 id="page-title">Zed's Trash Ass Games</h1>
<p>More fun than a barrel full of monkeys with syphilus.
</p>
@ -12,7 +12,7 @@
<hr/>
<grid x-data="Games" style="--cols: 2">
<template x-for="item in theData">
<shape style="--h: 200px"><a x-text="item.title" x-bind:href="item.url"></a></shape>
<shape style="--h: 200px"><a data-testid="game-link" x-text="item.title" x-bind:href="item.url"></a></shape>
</template>
</grid>

View file

@ -3,7 +3,7 @@
<shape style="--w: 100%; --h: 300px">
<button><a id="streams" href="/stream/">View Past Streams</a></button>
<button><a href="/live/">Watch Today's Livestream</a></button>
<button><a id="live" href="/live/">Watch Today's Livestream</a></button>
</shape>
<block data-testid="clickblock">

View file

@ -13,12 +13,12 @@
<header>
<blockstart style="background-color: var(--value0)">
<block style="--value: 0; --text: 9" class="horizontal">
<a href="/">🏡</a>
<a href="/live/">Live</a>
<a href="/stream/">Streams</a>
<a href="/game/">Games</a>
<a href="/register/">Register</a>
<a href="/login/">Login</a>
<a id="home" href="/">🏡</a>
<a id="live" href="/live/">Live</a>
<a id="stream" href="/stream/">Streams</a>
<a id="game" href="/game/">Games</a>
<a id="register" href="/register/">Register</a>
<a id="login" href="/login/">Login</a>
</block>
</blockstart>
</header>

View file

@ -5,7 +5,7 @@
<blockstart>
<block style="--value: 7">
<h1 id="streams-title">Past Streams</h1>
<h1 id="page-title">Past Streams</h1>
<p>This is where you can checkout information we dropped in a past stream. Did I post a link and you need to remember it? Did someone in chat mention something? Here's where you find it.</p>
</block>