<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
    <actionGroup name="ValidateAdvancedConfigurationWithAlignmentActionGroup" extends="ValidateAdvancedConfigurationAllOptionsActionGroup">
        <annotations>
            <description value="Validates styles from Advanced configuration in without border and css classes"/>
        </annotations>
        <executeJS function="return window.getComputedStyle(document.evaluate('{{page.advancedConfigurationPath(index)}}', document.body).iterateNext()).color" stepKey="grabColorValue" after="grabBorderColorValue"/>
        <remove keyForRemoval="assertBorderColor"/>
        <assertEquals stepKey="assertNoBorderColor" after="grabColorValue">
            <expectedResult type="variable">grabBorderColorValue</expectedResult>
            <actualResult type="variable">grabColorValue</actualResult>
        </assertEquals>
        <remove keyForRemoval="waitForCSSClassesVisible"/>
        <waitForElementVisible selector="{{page.noCssClasses(index)}}" stepKey="waitForNoCSSClassesVisible" after="grabBorderRadiusValue"/>
    </actionGroup>
</actionGroups>
