<?xml version="1.0" encoding="UTF-8"?>

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
    <actionGroup name="DeleteCustomAttributeMapping">
        <scrollTo selector="{{AdminDotdigitalDataMappingSection.customAttributes}}" stepKey="scrollToForm"/>
        <click selector="{{AdminDotdigitalDataMappingSection.deleteAttributeMapping}}" stepKey="deleteAttributeMapping"/>
        <click selector="{{AdminDotdigitalDataMappingSection.save}}" stepKey="savePage" />
        <waitForPageLoad stepKey="waitForPageLoad"/>
        <see userInput="You saved the configuration." selector="div[data-ui-id='messages-message-success']" stepKey="seeSuccessMessage"/>
    </actionGroup>
</actionGroups>
