Theming vs. behat tests


#1

Hi, i have a question concerning Behat tests - are the Sylius included scenarios supposed to be run while i am making a new theme? It seems that css selectors in test are very tightly coupled with the default theme’s html structure, for example:

//vendor/sylius/sylius/src/Sylius/Behat/Page/Shop/Product/IndexPage.php
public function getLastProductNameFromList()
{
$productsList = $this->getDocument()->find('css', '#products');

    return $productsList->find('css', '.card:last-child .content > a')->getText();
}