azure-dev
azure-dev copied to clipboard
Fix Playwright test fail in todo-nodejs-mongo
Fixes issue https://github.com/Azure/azure-dev/issues/246
Change files: templates/todo/common/tests/todo.spec.ts Add setTimeOut is used to wait for the page data to full load.
@rajeshkamal5050 for notification.
I think it's better to pass { waitUntil: 'networkidle' } to the initial page.goto call as an option. So the code has now been fixed according to this idea.
pipeline is currently broken after this PR: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1814636&view=logs&j=9392ca66-1ee4-52af-022d-b22076a99114&t=6db148d5-c790-543c-3e98-57830bb8eafe&l=162
Change:


@hongli750210 , any ideas?
@vhvb1989
- Does this bug only exist in branch
issue #246, because this bug was not found in the merged branchmain. - Replace
:with:to fix the exception of parameterwaitUntil. Can I still upload a new version after the code has been merged?
@hongli750210 additional syntax fix was made by @ellismg. Should be good now.
- https://github.com/Azure/azure-dev/pull/546