Skip to content

Commit

Permalink
update fe test to be simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-pulley committed Jun 26, 2023
1 parent 2341be1 commit 8f8ebb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ yarn-error.log*

# vercel
.vercel
shakesearch
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('ShakeSearch', () => {
assert.isEmpty(results, 'Search results should be empty');
});

it('should return search results for "wherefore art thou romeo"', async () => {
const query = 'wherefore art thou romeo';
it('should return search results for "romeo, wherefore art thou"', async () => {
const query = 'romeo, wherefore art thou';
await page.type('#query', query);
await page.click('button[type="submit"]');
await page.waitForSelector('#table-body tr');
Expand Down

0 comments on commit 8f8ebb6

Please sign in to comment.