<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
    <cest name="EnsureConfigurationExistsCest">
        <annotations>
            <features value="Vertex Configuration displays in admin"/>
            <stories value="Vertex Configuration displays in admin"/>
            <env value="chrome"/>
            <env value="firefox"/>
        </annotations>
        <test name="AdminhtmlSeeVertexConfiguration">
            <annotations>
                <title value="Vertex configuration appears in admin"/>
                <description value="Vertex configuration appears in admin"/>
                <severity value="BLOCKER"/>
            </annotations>
            <loginAsAdmin stepKey="loginAsAdmin"/>
            <amOnPage stepKey="navigateToSettings" url="{{AdminConfigPage.url}}"/>
            <waitForPageLoad stepKey="waitForPageLoad" time="30"/>
            <seeElementInDOM stepKey="seeVertexEnableLabel" selector="{{VertexSettingsSection.EnableSettingLabel}}"/>
        </test>
    </cest>
</config>
