Skip to content

Commit

Permalink
try wait a little bit more for visual testing
Browse files Browse the repository at this point in the history
  • Loading branch information
romgere committed Oct 24, 2023
1 parent e2cfc0e commit e83548c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/acceptance/visual-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import percySnapshot from '@percy/ember';
import TextMakerSettings from 'text2stl/models/text-maker-settings';
import mockFontManager from 'text2stl/tests/helpers/mock-font-manager';
import waitCalciteReady from 'text2stl/tests/helpers/wait-calcite-ready';
import wait from 'text2stl/tests/helpers/wait';

module('Acceptance | visual', function (hooks) {
setupApplicationTest(hooks);
Expand All @@ -23,6 +24,7 @@ module('Acceptance | visual', function (hooks) {
await visit(`/en-us/generator?modelSettings=${settingsQP}`);
await waitCalciteReady();
await waitFor('[data-test-export-stl]:not([loading])');
await wait(250);
await percySnapshot(`visual test #${testIdx + 1}`);
assert.true(true);
});
Expand Down

0 comments on commit e83548c

Please sign in to comment.