Then the "item" element should not contain "CSS style"

This step definition is used to verify that the element must not contain a particular CSS style.

Then the "item" element should not contain "([^"]*)?"

Define a step to assert that element contains a specific CSS style specified by id|class|name|label|tag.

 

Example (1):

Then the "body" element should not contain "color:white;"

Example (2):

Then the "Username" element should not contain "padding: 12px 20px;"