Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ashboard into fix/duplication-test-in-standup
  • Loading branch information
sahsisunny committed Jul 23, 2023
2 parents e7cfba3 + b899a72 commit ba08502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/standup/standup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ describe('Standup Page', () => {
const updatedUrl = page.url();
expect(updatedUrl).toContain('q=user:sunny');
});

it('should update the URL with the query parameter when the user writes multiple names', async () => {
const userInput = await page.$('#user-search-input');
const searchButton = await page.$('#search-button');
Expand All @@ -102,6 +103,7 @@ describe('Standup Page', () => {
const updatedUrl = page.url();
expect(updatedUrl).toContain('q=user:sunny+user:pratiyush');
});

it('should update the URL with the query parameter when the user writes duplicate names', async () => {
const userInput = await page.$('#user-search-input');
const searchButton = await page.$('#search-button');
Expand Down

0 comments on commit ba08502

Please sign in to comment.