Skip to content

Commit 06d81c0

Browse files
committed
Updated test assertions
1 parent 8e09c05 commit 06d81c0

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

tests/acceptance/homepage/en-us-test.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,18 @@ module('Acceptance | Homepage | en-US', function (hooks) {
2828

2929
assert
3030
.dom('#generating-files')
31-
.hasText('§ Generating Files', 'We see the site in English.');
31+
.hasText('Generating Files', 'We see the site in English.');
3232

3333
await fillIn('[data-test-field="Locale"]', 'pt-BR');
3434

3535
assert
3636
.dom('#generating-files')
37-
.hasText(
38-
'§ Geração de arquivos',
39-
'We see the site in Portugese (Brazil).'
40-
);
37+
.hasText('Geração de arquivos', 'We see the site in Portugese (Brazil).');
4138

4239
await fillIn('[data-test-field="Locale"]', 'fr-FR');
4340

4441
assert
4542
.dom('#generating-files')
46-
.hasText('§ Génération de fichiers', 'We see the site in French.');
43+
.hasText('Génération de fichiers', 'We see the site in French.');
4744
});
4845
});

tests/integration/components/guide-section/subsection-test.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module('Integration | Component | guide-section/subsection', function (hooks) {
2222

2323
assert
2424
.dom('[data-test-field="Subsection Title"]')
25-
.hasText('§ Warning: Subsection title not found Edit Translation');
25+
.hasText('Warning: Subsection title not found');
2626

2727
assert
2828
.dom('[data-test-field="Subsection Description"]')
@@ -58,9 +58,7 @@ module('Integration | Component | guide-section/subsection', function (hooks) {
5858

5959
assert
6060
.dom('[data-test-field="Subsection Title"]')
61-
.hasText(
62-
"§ Use an option to generate a component's JavaScript Edit Translation"
63-
);
61+
.hasText("Use an option to generate a component's JavaScript");
6462

6563
assert
6664
.dom('[data-test-field="Subsection Description"]')
@@ -107,7 +105,7 @@ module('Integration | Component | guide-section/subsection', function (hooks) {
107105

108106
assert
109107
.dom('[data-test-field="Subsection Title"]')
110-
.hasText('§ Data Down, Actions Up Edit Translation');
108+
.hasText('Data Down, Actions Up');
111109

112110
assert
113111
.dom('[data-test-field="Subsection Description"]')
@@ -141,9 +139,7 @@ module('Integration | Component | guide-section/subsection', function (hooks) {
141139
/>
142140
`);
143141

144-
assert
145-
.dom('[data-test-field="Subsection Title"]')
146-
.hasText('§ Mixins Edit Translation');
142+
assert.dom('[data-test-field="Subsection Title"]').hasText('Mixins');
147143

148144
assert
149145
.dom('[data-test-field="Subsection Description"]')

0 commit comments

Comments
 (0)