Skip to content

Commit bc0011a

Browse files
committed
Read Bolus Field action
Added Action to get the bolus field value. Needed for verifying if the value is reset when the current glucose field is edited.
1 parent d175d15 commit bc0011a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/LoopUITestingKit/Screens/BolusScreen.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public final class BolusScreen: BaseScreen {
3939
public func tapBolusEntryTextField() { bolusEntryTextField.safeTap() }
4040
public func tapBolusActionButton() { bolusActionButton.safeForceTap() }
4141
public func tapSaveAndDeliverButton() {saveAndDeliverButton.safeForceTap()}
42+
public func getBolusFieldValue() -> String { bolusEntryTextField.getValueSafe() }
43+
4244

4345
public func clearCurrentGlucoseEntryTextField() {
4446
let currentTextLength = currentGlucoseEntryTextField.getValueSafe().count

0 commit comments

Comments
 (0)