diff --git a/.github/workflows/testsprite.yml b/.github/workflows/testsprite.yml index 54fe926..519d3a3 100644 --- a/.github/workflows/testsprite.yml +++ b/.github/workflows/testsprite.yml @@ -18,3 +18,5 @@ jobs: with: api-key: ${{ secrets.TESTSPRITE_API_KEY }} project: "05ffab45-d2e7-4f74-a1a6-a90462468fcc" + # 11 browser tests take ~15 min; the default 600s wait times out + timeout: 1800 diff --git a/templates/poll.html b/templates/poll.html index 73e39ba..ac060c0 100644 --- a/templates/poll.html +++ b/templates/poll.html @@ -51,7 +51,7 @@

Live results

{{ r['text'] }} - {{ r['percent'] }}% + {{ r['percent'] }}% · {{ r['votes'] }} vote{{ 's' if r['votes'] != 1 }}
{{ r['votes'] }} @@ -106,7 +106,8 @@

Live results

function barHTML(r) { return '
' + '
' + - '' + r.percent + '%
' + + '' + r.percent + '% · ' + + '' + r.votes + ' vote' + (r.votes === 1 ? '' : 's') + '
' + '
' + '' + r.votes + '
'; }