<?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="AssertAuthorizationPopUpPasswordAutoCompleteOffActionGroup">
        <annotations>
            <description>Validates that the Storefront Customer Sign-In popup form does NOT contain the 'autocomplete=off' attribute.</description>
        </annotations>
        
        <waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.password}}" stepKey="waitPasswordFieldVisible"/>
        <assertElementContainsAttribute stepKey="assertAuthorizationPopupPasswordAutocompleteOff">
			<expectedResult selector="{{StorefrontCustomerSignInPopupFormSection.password}}" attribute="autocomplete" type="string">off</expectedResult>
        </assertElementContainsAttribute>
    </actionGroup>
</actionGroups>
