Michał
Michał
Hi @PhamHinh2004 As you can read in the documentation: https://jsonplaceholder.typicode.com/guide/ `Important: resource will not be really updated on the server but it will be faked as if.` If you want...
Hi @eins78 👋 I believe that [this rule](https://github.com/playwright-community/eslint-plugin-playwright/blob/main/src/rules/prefer-web-first-assertions.ts) is what you might be looking for! It bundles many flaky assertions and suggest web first assertions. Do you think that the...
I will add it 👍
Done here: https://github.com/playwright-community/eslint-plugin-playwright/pull/382. As a future improvement should we make the fixer suggest the `useInnerText` option with the `expect(locator).toHaveText()` when replacing both `allInnerTexts()` and `innerText()` as per suggestions [in the...
@mskelton Yeah there are couple of quirks there. [This](https://github.com/playwright-community/eslint-plugin-playwright/pull/382/commits/8761304c61713ca52d735949ddde4229ae29ead6) is what I came up with. Adds a little bit of complexity but does not look that bad. WDYT?
@mskelton I see your point here. My thought process was connected with the fact that `toHaveText()` is designed to handle multiple elements and multiple text values well. That being said...
I can give it a try, but taking into account how much logic there is in the rule already, I am not sure if it won't complicate things too much....
@mskelton I spent some time thinking about this. I think that this rule is in a good place. Adjusting it further will bloat the function for relatively little added value....
Hi @mskelton ! I am back after a little break. Did you have a chance to think about my previous question? Or would you rather me to apply changes?
Hi @seanlafferty-ibm , In my view, this functionality should be a separate rule. Putting a flag inside `valid-test-tags` would obfuscate the purpose. Good point about inheriting tags from the `describe()`...