Suggestions for failing tests #4
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Thomas Tran (thomastran) Giovanni Romero-Ruiz (gioromeroruiz) Nicholas Hess (hessnt30) Tim Vadney (vtim)
We got the errors below when running the tests:
Duck Duck Go search using basic Puppeteer
1) should be the correct url
✔ should have the correct page title
2) should have the page open
1 passing (7s)
2 failing
Duck Duck Go search using basic Puppeteer
should be the correct url:
AssertionError: expected 'https://duckduckgo.com/' to deeply equal 'https://google.com/'
-https://duckduckgo.com/
+https://google.com/
at Context. (test/search.js:23:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Duck Duck Go search using basic Puppeteer
should have the page open:
AssertionError: expected false to deeply equal true
-false
+true
at Context. (test/search.js:31:42)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
For 1, the failing test can probably be fixed by changing the assertion to https://duckduckgo.com/ instead of google.
For 2, the test should be expecting that the page opens (which is the purpose of the automation), rather than it not being open.