This step definition is used to verify that the element must contain a particular CSS style.
Then the "item" element should 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 contain "color:white;"
Example (2):
Then the "Username" element should contain "padding: 12px 20px;"