• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: What’s wrong on my file uploading? (Playwright)

Resolved: What’s wrong on my file uploading? (Playwright)

0
By Isaac Tonny on 16/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I’m facing with an issue that my files are not being uploaded to website, here is a code:
I’m using “@playwright/test”: “^1.19.2”, why it is not working, what’s wrong?
Here is a DOM:
https://i.stack.imgur.com/73Q48.png
UPD:
is a simple page.click(), just used from PageObject

Answer:

You are having a race condition. I recommend using the waitForEvent function instead:

If you have better answer, please add a comment about this, thank you!

automated-tests playwright
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Why when i change manualy the url on my react page it ignores the .css file?

24/03/2023

Resolved: navigate and redirect not redirecting to path in react router

24/03/2023

Resolved: Time Complexity: Find the number of people who know a secret leetcode 2327

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.