From ae004d8b2b4af441f7b7a0e38a4d01a9fa7fa9a2 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 23 May 2018 19:57:12 +0200 Subject: [PATCH] attempts of making composer actions test more resilient --- test/javascripts/acceptance/composer-actions-test.js.es6 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/javascripts/acceptance/composer-actions-test.js.es6 b/test/javascripts/acceptance/composer-actions-test.js.es6 index 690696cf0c3..cf9ad80e0e4 100644 --- a/test/javascripts/acceptance/composer-actions-test.js.es6 +++ b/test/javascripts/acceptance/composer-actions-test.js.es6 @@ -1,10 +1,14 @@ import { acceptance } from 'helpers/qunit-helpers'; +import { _clearSnapshots } from 'select-kit/components/composer-actions'; acceptance('Composer Actions', { loggedIn: true, settings: { enable_whispers: true - } + }, + beforeEach() { + _clearSnapshots(); + }, }); QUnit.test('replying to post', async assert => {