Skip to content

Commit

Permalink
Tidy test code
Browse files Browse the repository at this point in the history
  • Loading branch information
rg-wood committed Apr 6, 2024
1 parent e2364be commit 233357b
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 256 deletions.
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
<body>
<h2>One-column random table</h2>

<vellum-random-table select="#result" preroll hideroll>
<caption>
Random Encounters
</caption>
<vellum-random-table select="#results" hideroll>
<table>
<caption>
Random Encounters
</caption>
<thead>
<tr>
<th>Encounter</th>
Expand All @@ -34,7 +34,8 @@ <h2>One-column random table</h2>
</tbody>
</table>
<button>Roll</button>
<input id="result" type="text" />
<label for="results">Result:</label>
<input id="results" type="text" />
</vellum-random-table>

<h2>Two-column random table with dice</h2>
Expand Down
196 changes: 0 additions & 196 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@playwright/test": "^1.43.0",
"cheerio": "^1.0.0-rc.12",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"playwright": "^1.43.0",
Expand Down
4 changes: 4 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ export default defineConfig({
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
],
})
Loading

0 comments on commit 233357b

Please sign in to comment.