<?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="AdminGridAssertTotalPageCountActionGroup">
        <annotations>
            <description>
                Assert total page count on admin grid
            </description>
        </annotations>
        <arguments>
            <argument name="expectedTotalPageCount" defaultValue="1" type="string"/>
        </arguments>

        <waitForElementVisible selector="{{AdminDataGridPaginationSection.totalPagesCount('expectedTotalPageCount')}}" stepKey="waitForTotalPagesCountToBeVisible"/>
    </actionGroup>
</actionGroups>
