azure-dev: playwright test fail in todo-nodejs-mongo

Describe the issue: playwright test fail when delete a item.

Repro steps:

  1. Run command azd up
  2. Run command cd tests
  3. Run command npm i && npx playwright install
  4. Run command npx playwright test

image

Environment: OS : Linux(Ubuntu 20.04), DevContainer, Codespace Template: https://github.com/Azure-Samples/todo-nodejs-mongo https://github.com/azure-samples/todo-csharp-cosmos-sql https://github.com/azure-samples/todo-nodejs-mongo https://github.com/azure-samples/todo-nodejs-mongo-aca https://github.com/azure-samples/todo-python-mongo https://github.com/azure-samples/todo-python-mongo-aca

Expected behavior: playwright test can success.

@jongio for notification.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

@hemarina We re-run the test, this issue can’t be reproduced on Linux(Ubuntu 20.04),Codespace and DevContainer.

@v-yilinhu Could you re-run the test to see if we still have this problem? I’m not able to reproduce this error. All tests passed on Linux(Ubuntu 20.04).

Can you please see about updating the playwright test to account for this?