Skip to content

Commit 9cab6d6

Browse files
committed
fix paginatable plugin UI tests
1 parent c6f5276 commit 9cab6d6

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Example/ReactiveDataDisplayManager/Collection.storyboard

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22138.1" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
33
<device id="retina6_1" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22113"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="System colors in document resources" minToolsVersion="11.0"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -678,8 +678,8 @@
678678
<rect key="frame" x="0.0" y="92" width="414" height="721"/>
679679
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
680680
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="cvv-hB-uev">
681-
<size key="itemSize" width="200" height="44"/>
682-
<size key="estimatedItemSize" width="200" height="44"/>
681+
<size key="itemSize" width="300" height="44"/>
682+
<size key="estimatedItemSize" width="300" height="44"/>
683683
<size key="headerReferenceSize" width="0.0" height="0.0"/>
684684
<size key="footerReferenceSize" width="0.0" height="0.0"/>
685685
<inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>

Example/ReactiveDataDisplayManagerExampleUITests/Plugins/TwoDirectionPaginatableExampleUITest.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@ final class TwoDirectionPaginatableExampleUITest: BaseUITestCase {
5555

5656
retryButton.tap()
5757

58-
while firstCell.label.hasSuffix("page 1") || firstCell.label.hasSuffix("page 0") {
58+
while firstCell.label.hasSuffix("page 0") {
5959
collection.swipeUp(velocity: .fast)
6060
}
6161

62-
XCTAssertTrue(firstCell.label.hasSuffix("page 0"))
6362
}
6463

6564
func testTable_whenSwipeDown_thenPaginatorErrorAppear_thenHittableActivityIndicator() {

0 commit comments

Comments
 (0)