From 37d3cac7d2f9e8aa1dfc2a21f9969e6042ea0ea3 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 27 May 2019 12:31:35 -0700 Subject: [PATCH] fix: add tests for polls, improve a11y of poll form (#1239) --- src/routes/_components/status/StatusPoll.html | 43 +++++---- tests/serverActions.js | 14 +++ tests/spec/126-polls.js | 94 +++++++++++++++++++ tests/spec/127-compose-polls.js | 67 +++++++++++++ tests/utils.js | 38 ++++++++ 5 files changed, 236 insertions(+), 20 deletions(-) create mode 100644 tests/spec/126-polls.js create mode 100644 tests/spec/127-compose-polls.js diff --git a/src/routes/_components/status/StatusPoll.html b/src/routes/_components/status/StatusPoll.html index b1a8acc..82483e2 100644 --- a/src/routes/_components/status/StatusPoll.html +++ b/src/routes/_components/status/StatusPoll.html @@ -1,6 +1,6 @@
{#if voted || expired } -