Skip to content

Commit

Permalink
Merge pull request #1119 from ember-learn/melsumner/add-polaris-mascots
Browse files Browse the repository at this point in the history
Adds Polaris mascots
  • Loading branch information
MelSumner authored Jul 16, 2024
2 parents 8f11f01 + dc66290 commit e948ba8
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 11 deletions.
9 changes: 9 additions & 0 deletions data/tomster/polaris-tomster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Polaris
date: 2024-06-01T09:01:00Z
url: null
image: polaris-tomster.png
tags:
- all
- tomster
---
9 changes: 9 additions & 0 deletions data/tomster/polaris-zoey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Polaris
date: 2024-06-01T09:01:00Z
url: null
image: polaris-zoey.png
tags:
- all
- zoey
---
Binary file added public/images/tomsters/polaris-tomster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/tomsters/polaris-zoey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/acceptance/mascots-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ module('Acceptance | mascots', function (hooks) {

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

assert.strictEqual(mascots.length, 76, 'The user sees 10 mascots.');
assert.strictEqual(mascots.length, 78, 'The user sees 10 mascots.');

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 @@ -56,11 +56,11 @@ module('Acceptance | mascots', function (hooks) {

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

assert.strictEqual(mascots.length, 66, 'The user sees 7 mascots.');
assert.strictEqual(mascots.length, 67, 'The user sees 7 mascots.');

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 @@ -101,11 +101,11 @@ module('Acceptance | mascots', function (hooks) {

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

assert.strictEqual(mascots.length, 66, 'The user sees 7 mascots.');
assert.strictEqual(mascots.length, 67, 'The user sees 7 mascots.');

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
2 changes: 1 addition & 1 deletion tests/integration/components/mascots/mascot-list-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ module('Integration | Component | mascots/mascot-list', function (hooks) {

assert
.dom('[data-test-mascot]')
.exists({ count: 76 }, 'We see 10 mascots.');
.exists({ count: 78 }, 'We see 10 mascots.');
});
});

0 comments on commit e948ba8

Please sign in to comment.