Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fixed tests for tags case changes
Browse files Browse the repository at this point in the history
refs. 5dcf5b9
  • Loading branch information
peterzimon committed Mar 25, 2019
1 parent 9d8745c commit 5ace095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/acceptance/settings/tags-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe('Acceptance: Settings - Tags', function () {

// it displays the new tag form
expect(find('.tag-settings-pane h4').textContent, 'settings pane title')
.to.equal('New Tag');
.to.equal('New tag');

// all fields start blank
findAll('.tag-settings-pane input, .tag-settings-pane textarea').forEach(function (elem) {
Expand All @@ -204,7 +204,7 @@ describe('Acceptance: Settings - Tags', function () {
});

// save new tag
await fillIn('.tag-settings-pane input[name="name"]', 'New Tag');
await fillIn('.tag-settings-pane input[name="name"]', 'New tag');
await blur('.tag-settings-pane input[name="name"]');

// extra timeout needed for FF on Linux - sometimes it doesn't update
Expand All @@ -224,7 +224,7 @@ describe('Acceptance: Settings - Tags', function () {
// new tag will be second in the list due to alphabetical sorting
expect(findAll('.settings-tags .settings-tag')[1].querySelector('.tag-title').textContent.trim(), 'new tag list item title');
expect(tag.querySelector('.tag-title').textContent, 'new tag list item title')
.to.equal('New Tag');
.to.equal('New tag');
expect(find('a[href="/ghost/settings/tags/new-tag"]'), 'highlights new tag')
.to.have.class('active');

Expand Down

0 comments on commit 5ace095

Please sign in to comment.