From d537cd81363f89c27d0091daee6b0a62c65640e5 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Wed, 12 Jun 2024 08:32:13 +0200 Subject: [PATCH] chore: Updated test assertions --- .../tests/acceptance/album/visual-regression-test.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs-app/tests/acceptance/album/visual-regression-test.ts b/docs-app/tests/acceptance/album/visual-regression-test.ts index 648182fc..7ea9b035 100644 --- a/docs-app/tests/acceptance/album/visual-regression-test.ts +++ b/docs-app/tests/acceptance/album/visual-regression-test.ts @@ -50,8 +50,13 @@ module('Acceptance | album', function (hooks) { test('@w3 @h1 Visual snapshot', async function (assert) { assert - .dom('[data-test-table="Tracks"]') - .exists('We see the album tracks in a table.'); + .dom('[data-test-list="Tracks"]') + .exists('We see the album tracks in a list.') + .hasAttribute( + 'data-css-grid', + '4 x 3', + 'We see 11 tracks in a 4 x 3 grid.', + ); assert .dom('[data-test-table="Tracks"] [data-test-row]')