File tree Expand file tree Collapse file tree 2 files changed +26
-16
lines changed
app/code/Magento/Variable/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 21
21
<fillField selector =" {{CustomVariableSection.variablePlain}}" userInput =" {{customVariable.plain}}" stepKey =" fillVariablePlain" />
22
22
<click selector =" {{CustomVariableSection.saveCustomVariable}}" stepKey =" clickSaveVariable" />
23
23
</actionGroup >
24
-
25
- <actionGroup name =" DeleteCustomVariableActionGroup" >
26
- <annotations >
27
- <description >Goes to the Custom Variable grid page. Deletes the Custom Variable. PLEASE NOTE: The Custom Variable that is deleted is Hardcoded using 'customVariable'.</description >
28
- </annotations >
29
-
30
- <amOnPage url =" admin/admin/system_variable/" stepKey =" goToVarialeGrid" />
31
- <waitForPageLoad stepKey =" waitForPageLoad1" />
32
- <click selector =" {{CustomVariableSection.GridCustomVariableCode(customVariable.code)}}" stepKey =" goToCustomVariableEditPage" />
33
- <waitForPageLoad stepKey =" waitForPageLoad2" />
34
- <waitForElementVisible selector =" {{CustomVariableSection.delete}}" stepKey =" waitForDeleteBtn" />
35
- <click selector =" {{CustomVariableSection.delete}}" stepKey =" deleteCustomVariable" />
36
- <waitForText userInput =" Are you sure you want to do this?" stepKey =" waitForText" />
37
- <click selector =" {{CustomVariableSection.confirmDelete}}" stepKey =" confirmDelete" />
38
- <waitForPageLoad stepKey =" waitForPageLoad3" />
39
- </actionGroup >
40
24
</actionGroups >
Original file line number Diff line number Diff line change
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" DeleteCustomVariableActionGroup" >
12
+ <annotations >
13
+ <description >Goes to the Custom Variable grid page. Deletes the Custom Variable. PLEASE NOTE: The Custom Variable that is deleted is Hardcoded using 'customVariable'.</description >
14
+ </annotations >
15
+
16
+ <amOnPage url =" admin/admin/system_variable/" stepKey =" goToVarialeGrid" />
17
+ <waitForPageLoad stepKey =" waitForPageLoad1" />
18
+ <click selector =" {{CustomVariableSection.GridCustomVariableCode(customVariable.code)}}" stepKey =" goToCustomVariableEditPage" />
19
+ <waitForPageLoad stepKey =" waitForPageLoad2" />
20
+ <waitForElementVisible selector =" {{CustomVariableSection.delete}}" stepKey =" waitForDeleteBtn" />
21
+ <click selector =" {{CustomVariableSection.delete}}" stepKey =" deleteCustomVariable" />
22
+ <waitForText userInput =" Are you sure you want to do this?" stepKey =" waitForText" />
23
+ <click selector =" {{CustomVariableSection.confirmDelete}}" stepKey =" confirmDelete" />
24
+ <waitForPageLoad stepKey =" waitForPageLoad3" />
25
+ </actionGroup >
26
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments