Skip to content

Commit 67ac343

Browse files
committed
MQE-2554: Create automated test for: "User sees Adobe Stock actions from API"
1 parent 0b4465c commit 67ac343

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd">
10+
<entity name="adminApiToken" type="adminToken">
11+
<data key="username">{{_ENV.MAGENTO_ADMIN_USERNAME}}</data>
12+
<data key="password">{{_ENV.MAGENTO_ADMIN_PASSWORD}}</data>
13+
</entity>
14+
</entities>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataOperation.xsd">
10+
<operation name="getAdminToken" dataType="adminToken" type="create" auth="anonymous" url="/V1/tfa/provider/google/authenticate"
11+
method="POST">
12+
<contentType>application/json</contentType>
13+
<field key="username">string</field>
14+
<field key="password">string</field>
15+
<field key="otp">string</field>
16+
</operation>
17+
</operations>

0 commit comments

Comments
 (0)