oper_combo = self.widget.cond_list.cellWidget(row, 1)
simulate.combobox_activate_item(oper_combo, filter, delay=0)
value_inputs = self.widget.cond_list.cellWidget(row, 2).children()
value_inputs = [w for w in value_inputs if isinstance(w, QLineEdit)]
QTest.mouseClick(value_inputs[0], Qt.LeftButton)
QTest.keyClicks(value_inputs[0], value, delay=0)
QTest.keyClick(value_inputs[0], Qt.Key_Enter)
After Change
value_inputs = self._get_value_line_edits(row)
for i, value in enumerate([value, value2]):
if value is None:
continue
QTest.mouseClick(value_inputs[i], Qt.LeftButton)
QTest.keyClicks(value_inputs[i], value, delay=0)
QTest.keyClick(value_inputs[i], Qt.Key_Enter)