Skip to content

Commit b63db44

Browse files
committed
Fix Unit Tests after replacing IP address NSText Field with a NSComboBox
1 parent 662e288 commit b63db44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Base.lproj/MainMenu.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,7 @@ CA
15201520
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
15211521
</textFieldCell>
15221522
</textField>
1523-
<comboBox verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Sgp-Di-Z4I">
1523+
<comboBox identifier="ipaddrfield" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Sgp-Di-Z4I">
15241524
<rect key="frame" x="171" y="651" width="332" height="25"/>
15251525
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
15261526
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" numberOfVisibleItems="10" id="Xfl-Op-pqt">

SubnetCalcUITests/SubnetCalcUITest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class SubnetCalcUITest: XCTestCase {
3030
// Use XCTAssert and related functions to verify your tests produce the correct results.
3131

3232
let subnetcalcWindow = XCUIApplication().windows["SubnetCalc"]
33-
let ipaddrfieldTextField = subnetcalcWindow.textFields["ipaddrfield"]
33+
let ipaddrfieldTextField = subnetcalcWindow.comboBoxes["ipaddrfield"]
3434

3535
subnetcalcWindow.tabs["IPv4"].click()
3636
ipaddrfieldTextField.click()

0 commit comments

Comments
 (0)