Skip to content

Commit 7aaf83b

Browse files
Mohit.k.SharmaMohit.k.Sharma
authored andcommitted
Fix verification checks ans static checks error
1 parent 9970faf commit 7aaf83b

33 files changed

+129
-19
lines changed

dev/tests/verification/Resources/ActionGroupContainsStepKeyInArgText.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ class ActionGroupContainsStepKeyInArgTextCest
2828
*/
2929
public function _before(AcceptanceTester $I)
3030
{
31+
$I->comment('[START BEFORE HOOK]');
3132
$I->comment("Entering Action Group [actionGroup] actionGroupContainsStepKeyInArgValue");
3233
$I->see("arg1", ".selector"); // stepKey: arg1ActionGroup
3334
$I->comment("Exiting Action Group [actionGroup] actionGroupContainsStepKeyInArgValue");
35+
$I->comment('[END BEFORE HOOK]');
3436
}
3537

3638
/**

dev/tests/verification/Resources/ActionGroupReturningValueTest.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ActionGroupReturningValueTestCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ActionGroupReturningValueTestCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/ActionGroupUsingCreateData.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ class ActionGroupUsingCreateDataCest
2828
*/
2929
public function _before(AcceptanceTester $I)
3030
{
31+
$I->comment('[START BEFORE HOOK]');
3132
$I->comment("Entering Action Group [Key1] actionGroupWithCreateData");
3233
$I->createEntity("createCategoryKey1", "hook", "ApiCategory", [], []); // stepKey: createCategoryKey1
3334
$I->createEntity("createConfigProductKey1", "hook", "ApiConfigurableProduct", ["createCategoryKey1"], []); // stepKey: createConfigProductKey1
3435
$I->comment("Exiting Action Group [Key1] actionGroupWithCreateData");
36+
$I->comment('[END BEFORE HOOK]');
3537
}
3638

3739
/**

dev/tests/verification/Resources/ActionGroupWithDataOverrideTest.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ActionGroupWithDataOverrideTestCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ActionGroupWithDataOverrideTestCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/ActionGroupWithDataTest.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ActionGroupWithDataTestCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ActionGroupWithDataTestCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/ActionGroupWithNoDefaultTest.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ActionGroupWithNoDefaultTestCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ActionGroupWithNoDefaultTestCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/ActionGroupWithPersistedData.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ActionGroupWithPersistedDataCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ActionGroupWithPersistedDataCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/ActionGroupWithTopLevelPersistedData.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ActionGroupWithTopLevelPersistedDataCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ActionGroupWithTopLevelPersistedDataCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/ArgumentWithSameNameAsElement.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class ArgumentWithSameNameAsElementCest
2929
*/
3030
public function _before(AcceptanceTester $I)
3131
{
32+
$I->comment('[START BEFORE HOOK]');
3233
$I->createEntity("createPersonParam", "hook", "ReplacementPerson", [], []); // stepKey: createPersonParam
3334
$I->comment("Entering Action Group [beforeGroup] FunctionalActionGroup");
3435
$I->fillField("#foo", "myData1"); // stepKey: fillField1BeforeGroup
3536
$I->fillField("#bar", "myData2"); // stepKey: fillField2BeforeGroup
3637
$I->comment("Exiting Action Group [beforeGroup] FunctionalActionGroup");
38+
$I->comment('[END BEFORE HOOK]');
3739
}
3840

3941
/**
@@ -42,10 +44,12 @@ class ArgumentWithSameNameAsElementCest
4244
*/
4345
public function _after(AcceptanceTester $I)
4446
{
47+
$I->comment('[START AFTER HOOK]');
4548
$I->comment("Entering Action Group [afterGroup] FunctionalActionGroup");
4649
$I->fillField("#foo", "myData1"); // stepKey: fillField1AfterGroup
4750
$I->fillField("#bar", "myData2"); // stepKey: fillField2AfterGroup
4851
$I->comment("Exiting Action Group [afterGroup] FunctionalActionGroup");
52+
$I->comment('[END AFTER HOOK]');
4953
if ($this->isSuccess) {
5054
unlink(__FILE__);
5155
}

dev/tests/verification/Resources/AssertTest.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ class AssertTestCest
2828
*/
2929
public function _before(AcceptanceTester $I)
3030
{
31+
$I->comment('[START BEFORE HOOK]');
3132
$I->createEntity("createData1", "hook", "ReplacementPerson", [], []); // stepKey: createData1
33+
$I->comment('[END BEFORE HOOK]');
3234
}
3335

3436
/**

0 commit comments

Comments
 (0)