Skip to content

Commit 9842d5e

Browse files
Mohit.k.SharmaMohit.k.Sharma
authored andcommitted
MQE-2953 | Verification Test Added
1 parent 9c60f95 commit 9842d5e

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

dev/tests/verification/Resources/ActionGroupWithStepKeyReferences.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class ActionGroupWithStepKeyReferencesCest
6767
$action14ActionGroup = $I->grabMultiple($action14ActionGroup); // stepKey: action14ActionGroup
6868
$action15ActionGroup = $I->grabTextFrom($action15ActionGroup); // stepKey: action15ActionGroup
6969
$action16ActionGroup = $I->grabValueFrom($action16ActionGroup); // stepKey: action16ActionGroup
70+
$action17ActionGroup = $I->grabCookieAttributes($action17ActionGroup, ['domain' => 'www.google.com']); // stepKey: action17ActionGroup
7071
$I->comment("Exiting Action Group [actionGroup] FunctionActionGroupWithStepKeyReferences");
7172
}
7273

dev/tests/verification/Resources/BasicFunctionalTest.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ class BasicFunctionalTestCest
127127
$getOtpWithInput = $I->getOTP("someInput"); // stepKey: getOtpWithInput
128128
$grabAttributeFromKey1 = $I->grabAttributeFrom(".functionalTestSelector", "someInput"); // stepKey: grabAttributeFromKey1
129129
$grabCookieKey1 = $I->grabCookie("grabCookieInput", ['domain' => 'www.google.com']); // stepKey: grabCookieKey1
130+
$grabCookieAttributesKey1 = $I->grabCookieAttributes("grabCookieAttributesInput", ['domain' => 'www.google.com']); // stepKey: grabCookieAttributesKey1
130131
$grabFromCurrentUrlKey1 = $I->grabFromCurrentUrl("/grabCurrentUrl"); // stepKey: grabFromCurrentUrlKey1
131132
$grabMultipleKey1 = $I->grabMultiple(".functionalTestSelector"); // stepKey: grabMultipleKey1
132133
$grabTextFromKey1 = $I->grabTextFrom(".functionalTestSelector"); // stepKey: grabTextFromKey1

dev/tests/verification/TestModule/ActionGroup/FunctionalActionGroup/FunctionActionGroupWithStepKeyReferencesActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
<grabMultiple selector="{$action14}" stepKey="action14"/>
2929
<grabTextFrom selector="{$action15}" stepKey="action15"/>
3030
<grabValueFrom selector="{$action16}" stepKey="action16"/>
31+
<grabCookieAttributes userInput="{$action17}" parameterArray="['domain' => 'www.google.com']" stepKey="$action17"/>
3132
</actionGroup>
3233
</actionGroups>

dev/tests/verification/TestModule/ActionGroup/XmlDuplicateActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
<grabAttributeFrom selector="1" stepKey="grabattribute12"/>
9191
<grabCookie stepKey="grabcookie1"/>
9292
<grabCookie stepKey="grabcookie12"/>
93+
<grabCookieAttributes stepKey="grabcookieattributes1"/>
94+
<grabCookieAttributes stepKey="grabcookieattributes12"/>
9395
<grabFromCurrentUrl stepKey="grabfromcurl1"/>
9496
<grabFromCurrentUrl stepKey="grabfromcurl12"/>
9597
<grabMultiple selector="1" stepKey="grabmulti1"/>

dev/tests/verification/TestModule/Test/BasicFunctionalTest/BasicFunctionalTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<getOTP stepKey="getOtpWithInput" userInput="someInput"/>
7373
<grabAttributeFrom selector=".functionalTestSelector" userInput="someInput" stepKey="grabAttributeFromKey1" />
7474
<grabCookie userInput="grabCookieInput" parameterArray="['domain' => 'www.google.com']" stepKey="grabCookieKey1" />
75+
<grabCookieAttributes userInput="grabCookieAttributesInput" parameterArray="['domain' => 'www.google.com']" stepKey="grabCookieAttributesKey1" />
7576
<grabFromCurrentUrl regex="/grabCurrentUrl" stepKey="grabFromCurrentUrlKey1" />
7677
<grabMultiple selector=".functionalTestSelector" stepKey="grabMultipleKey1" />
7778
<grabTextFrom selector=".functionalTestSelector" stepKey="grabTextFromKey1" />

dev/tests/verification/TestModule/Test/XmlDuplicateTest/XmlDuplicateTest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
<grabAttributeFrom selector="1" stepKey="grabattribute12"/>
9494
<grabCookie stepKey="grabcookie1"/>
9595
<grabCookie stepKey="grabcookie12"/>
96+
<grabCookieAttributes stepKey="grabcookieattributes1"/>
97+
<grabCookieAttributes stepKey="grabcookieattributes12"/>
9698
<grabFromCurrentUrl stepKey="grabfromcurl1"/>
9799
<grabFromCurrentUrl stepKey="grabfromcurl12"/>
98100
<grabMultiple selector="1" stepKey="grabmulti1"/>
@@ -305,6 +307,8 @@
305307
<grabAttributeFrom selector="1" stepKey="grabattribute12"/>
306308
<grabCookie stepKey="grabcookie1"/>
307309
<grabCookie stepKey="grabcookie12"/>
310+
<grabCookieAttributes stepKey="grabcookieattributes1"/>
311+
<grabCookieAttributes stepKey="grabcookieattributes12"/>
308312
<grabFromCurrentUrl stepKey="grabfromcurl1"/>
309313
<grabFromCurrentUrl stepKey="grabfromcurl12"/>
310314
<grabMultiple selector="1" stepKey="grabmulti1"/>
@@ -516,6 +520,8 @@
516520
<grabAttributeFrom selector="1" stepKey="grabattribute12"/>
517521
<grabCookie stepKey="grabcookie1"/>
518522
<grabCookie stepKey="grabcookie12"/>
523+
<grabCookieAttributes stepKey="grabcookieattributes1"/>
524+
<grabCookieAttributes stepKey="grabcookieattributes12"/>
519525
<grabFromCurrentUrl stepKey="grabfromcurl1"/>
520526
<grabFromCurrentUrl stepKey="grabfromcurl12"/>
521527
<grabMultiple selector="1" stepKey="grabmulti1"/>

0 commit comments

Comments
 (0)