Skip to content

Commit 56a565d

Browse files
committed
Fixed frontend acceptance test for new sort option
1 parent 61b8a8f commit 56a565d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/acceptance/search-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test('searching for "rust"', async function(assert) {
2929
assert.dom('[data-test-heading]')
3030
.hasText('Search Results for \'rust\'');
3131
assert.dom('[data-test-search-nav]').hasText('Displaying 1-8 of 8 total results');
32-
assert.dom('[data-test-search-sort]').hasText('Sort by Relevance Relevance All-Time Downloads Recent Downloads');
32+
assert.dom('[data-test-search-sort]').hasText('Sort by Relevance Relevance All-Time Downloads Recent Downloads Recent Updates');
3333
assert.dom('[data-test-crate-row="0"] [data-test-crate-link]').hasText('kinetic-rust');
3434
assert.dom('[data-test-crate-row="0"] [data-test-version-badge]').hasAttribute('alt', '0.0.16');
3535

0 commit comments

Comments
 (0)