Skip to content

Commit

Permalink
Deleted file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish.Kumar18 authored and Ashish.Kumar18 committed Feb 6, 2023
1 parent a92fa33 commit ae7989b
Showing 1 changed file with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="StorefrontMagentoApiSwaggerActionsExistTest">
<annotations>
<features value="Swagger"/>
<stories value="Swagger via the Storefront"/>
<title value="Authorize and logout on Swagger page"/>
<description value="Authorize and logout on Swagger page use API Key"/>
<severity value="CRITICAL"/>
<group value="pr_exclude"/>
<group value="developer_mode_only"/>
</annotations>
<before>
<getOTP stepKey="getOtpCode"/>
<createData entity="adminApiToken" stepKey="createAdminToken">
<field key="otp">{$getOtpCode}</field>
</createData>
</before>
<after></after>
<actionGroup ref="StorefrontGoToSwaggerPageActionGroup" stepKey="goToSwaggerPage"/>
<actionGroup ref="StorefrontApplyAdminTokenOnSwaggerPageActionGroup" stepKey="applyAdminToken">
<argument name="token" value="$createAdminToken.return$"/>
</actionGroup>
<seeElement selector="{{SwaggerApiListSection.swaggerActionTitle('storeStoreRepositoryV1')}}" stepKey="assertTitleOfFirstAction"/>
<seeElement selector="{{SwaggerApiListSection.swaggerActionTitle('quoteCartRepositoryV1')}}" stepKey="assertTitleOfSecondAction"/>
<seeElement selector="{{SwaggerApiListSection.swaggerActionTitle('catalogProductRepositoryV1')}}" stepKey="assertTitleOfThirdAction"/>
<actionGroup ref="StorefrontSwaggerLogoutActionGroup" stepKey="swaggerLogout"/>
</test>
</tests>

0 comments on commit ae7989b

Please sign in to comment.