From 4177de913d1d27737cdfc2e821d2c9a06f077747 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 8 Mar 2018 18:09:11 -0800 Subject: [PATCH] cleanup tests --- tests/spec/009-threads.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/spec/009-threads.js b/tests/spec/009-threads.js index 2754b84f..4ae66189 100644 --- a/tests/spec/009-threads.js +++ b/tests/spec/009-threads.js @@ -1,14 +1,14 @@ import { Selector as $ } from 'testcafe' import { getNthStatus, getUrl, validateTimeline, scrollToBottomOfTimeline, getFirstVisibleStatus, - goBack, forceOffline, forceOnline, homeNavButton, searchNavButton, searchInput, getNthSearchResult + goBack, forceOffline, forceOnline, searchNavButton, searchInput, getNthSearchResult } from '../utils' import { foobarRole } from '../roles' import { bazThreadRelativeTo2, bazThreadRelativeTo2b, bazThreadRelativeTo2B2, quuxThread } from '../fixtures' fixture`009-threads.js` .page`http://localhost:4002` -/* + test('Shows a thread', async t => { await t.useRole(foobarRole) .click($('a').withText('quux')) @@ -38,7 +38,6 @@ test('Scrolls to proper point in thread', async t => { .expect(Math.round(getNthStatus(16).boundingClientRect.top)) .eql(Math.round($('.container').boundingClientRect.top)) }) -*/ async function navigateToBazAccount(t) { await t.click(searchNavButton)