python playwright expect pytest class

38 Views Asked by At

How to check expectation if a class contains a word and want to check if a tenant has that word in the class

example of a class: "x-grid-row x-grid-data-row x-grid-row-selected x-grid-row-focused".

the point is to make this expect check if the class contains "x-grid-row-selected"

Regards Paulina S.

How the assertion check should look like with expect

0

There are 0 best solutions below