0👍
✅
In the end it turned out that it hasn’t been an issue with Vue at all. We solved the problem by rewriting the test to utilize expect
like this:
await expect(page.getByLabel('Status')).toHaveValue("Modified");
The key is expect automaticly retests until the assertion matches while inputValue does not.
0👍
Separate the delayed and target element:
In most of these kind of scenarios , try waiting for the delayed selector(the one which signifies the state after complete re-loading) and then clicking the target element:
await this.page.waitForSelector('delayed element');
await this.page.click('target element'); //any operation on target element
Source:stackexchange.com