Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Polaris mascots #1119

Merged
merged 4 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.');
});
});
Loading