|
20 | 20 | */ |
21 | 21 | class MagentoActionProxies extends CodeceptionModule |
22 | 22 | { |
23 | | - /** |
24 | | - * Create an entity |
25 | | - * TODO: un-comment this function after MQE-1904 |
26 | | - * |
27 | | - * @param string $key StepKey of the createData action. |
28 | | - * @param string $scope |
29 | | - * @param string $entity Name of xml entity to create. |
30 | | - * @param array $dependentObjectKeys StepKeys of other createData actions that are required. |
31 | | - * @param array $overrideFields Array of FieldName => Value of override fields. |
32 | | - * @param string $storeCode |
33 | | - * @return void |
34 | | - */ |
35 | | - /* |
36 | | - public function createEntity( |
37 | | - $key, |
38 | | - $scope, |
39 | | - $entity, |
40 | | - $dependentObjectKeys = [], |
41 | | - $overrideFields = [], |
42 | | - $storeCode = '' |
43 | | - ) { |
44 | | - PersistedObjectHandler::getInstance()->createEntity( |
45 | | - $key, |
46 | | - $scope, |
47 | | - $entity, |
48 | | - $dependentObjectKeys, |
49 | | - $overrideFields, |
50 | | - $storeCode |
51 | | - ); |
52 | | - } |
53 | | - */ |
54 | | - /** |
55 | | - * Retrieves and updates a previously created entity |
56 | | - * TODO: un-comment this function after MQE-1904 |
57 | | - * |
58 | | - * @param string $key StepKey of the createData action. |
59 | | - * @param string $scope |
60 | | - * @param string $updateEntity Name of the static XML data to update the entity with. |
61 | | - * @param array $dependentObjectKeys StepKeys of other createData actions that are required. |
62 | | - * @return void |
63 | | - */ |
64 | | - /* |
65 | | - public function updateEntity($key, $scope, $updateEntity, $dependentObjectKeys = []) |
66 | | - { |
67 | | - PersistedObjectHandler::getInstance()->updateEntity( |
68 | | - $key, |
69 | | - $scope, |
70 | | - $updateEntity, |
71 | | - $dependentObjectKeys |
72 | | - ); |
73 | | - } |
74 | | - */ |
75 | | - /** |
76 | | - * Performs GET on given entity and stores entity for use |
77 | | - * TODO: un-comment this function after MQE-1904 |
78 | | - * |
79 | | - * @param string $key StepKey of getData action. |
80 | | - * @param string $scope |
81 | | - * @param string $entity Name of XML static data to use. |
82 | | - * @param array $dependentObjectKeys StepKeys of other createData actions that are required. |
83 | | - * @param string $storeCode |
84 | | - * @param integer $index |
85 | | - * @return void |
86 | | - */ |
87 | | - /* |
88 | | - public function getEntity($key, $scope, $entity, $dependentObjectKeys = [], $storeCode = '', $index = null) |
89 | | - { |
90 | | - PersistedObjectHandler::getInstance()->getEntity( |
91 | | - $key, |
92 | | - $scope, |
93 | | - $entity, |
94 | | - $dependentObjectKeys, |
95 | | - $storeCode, |
96 | | - $index |
97 | | - ); |
98 | | - } |
99 | | - */ |
100 | | - /** |
101 | | - * Retrieves and deletes a previously created entity |
102 | | - * TODO: un-comment this function after MQE-1904 |
103 | | - * |
104 | | - * @param string $key StepKey of the createData action. |
105 | | - * @param string $scope |
106 | | - * @return void |
107 | | - */ |
108 | | - /* |
109 | | - public function deleteEntity($key, $scope) |
110 | | - { |
111 | | - PersistedObjectHandler::getInstance()->deleteEntity($key, $scope); |
112 | | - } |
113 | | - */ |
114 | | - /** |
115 | | - * Retrieves a field from an entity, according to key and scope given |
116 | | - * TODO: un-comment this function after MQE-1904 |
117 | | - * |
118 | | - * @param string $stepKey |
119 | | - * @param string $field |
120 | | - * @param string $scope |
121 | | - * @return string |
122 | | - */ |
123 | | - /* |
124 | | - public function retrieveEntityField($stepKey, $field, $scope) |
125 | | - { |
126 | | - return PersistedObjectHandler::getInstance()->retrieveEntityField($stepKey, $field, $scope); |
127 | | - } |
128 | | - */ |
129 | | - /** |
130 | | - * Get encrypted value by key |
131 | | - * TODO: un-comment this function after MQE-1904 |
132 | | - * |
133 | | - * @param string $key |
134 | | - * @return string|null |
135 | | - * @throws TestFrameworkException |
136 | | - */ |
137 | | - /* |
138 | | - public function getSecret($key) |
139 | | - { |
140 | | - return CredentialStore::getInstance()->getSecret($key); |
141 | | - } |
142 | | - */ |
| 23 | + // TODO: placeholder for proxy functions currently in MagentoWebDriver (MQE-1904) |
143 | 24 | } |
0 commit comments