Skip to content

Commit

Permalink
more mascot test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MelSumner committed Jul 15, 2024
1 parent 184be2d commit dc66290
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/acceptance/mascots-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module('Acceptance | mascots', function (hooks) {

assert
.dom('[data-test-field="Name"]', mascots[0])
.hasText('Europe Tomster', 'The user sees the correct first mascot.');
.hasText('Polaris', 'The user sees the correct first mascot.');

assert
.dom('[data-test-field="Name"]', mascots[mascots.length - 1])
Expand All @@ -60,7 +60,7 @@ module('Acceptance | mascots', function (hooks) {

assert
.dom('[data-test-field="Name"]', mascots[0])
.hasText('Europe Tomster', 'The user sees the correct first mascot.');
.hasText('Polaris', 'The user sees the correct first mascot.');

assert
.dom('[data-test-field="Name"]', mascots[mascots.length - 1])
Expand All @@ -77,11 +77,11 @@ module('Acceptance | mascots', function (hooks) {

mascots = findAll('[data-test-mascot]');

assert.strictEqual(mascots.length, 17, 'The user sees 6 mascots.');
assert.strictEqual(mascots.length, 18, 'The user sees 6 mascots.');

assert
.dom('[data-test-field="Name"]', mascots[0])
.hasText('Pride', 'The user sees the correct first mascot.');
.hasText('Polaris', 'The user sees the correct first mascot.');

assert
.dom('[data-test-field="Name"]', mascots[mascots.length - 1])
Expand All @@ -105,7 +105,7 @@ module('Acceptance | mascots', function (hooks) {

assert
.dom('[data-test-field="Name"]', mascots[0])
.hasText('Europe Tomster', 'The user sees the correct first mascot.');
.hasText('Polaris', 'The user sees the correct first mascot.');

assert
.dom('[data-test-field="Name"]', mascots[mascots.length - 1])
Expand All @@ -125,11 +125,11 @@ module('Acceptance | mascots', function (hooks) {

mascots = findAll('[data-test-mascot]');

assert.strictEqual(mascots.length, 17, 'The user sees 6 mascots.');
assert.strictEqual(mascots.length, 18, 'The user sees 6 mascots.');

assert
.dom('[data-test-field="Name"]', mascots[0])
.hasText('Pride', 'The user sees the correct first mascot.');
.hasText('Polaris', 'The user sees the correct first mascot.');

assert
.dom('[data-test-field="Name"]', mascots[mascots.length - 1])
Expand Down

0 comments on commit dc66290

Please sign in to comment.