-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
153 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.98 KB
(110%)
...deproj/project.xcworkspace/xcuserdata/shamanec.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,4 @@ | |
import Foundation | ||
|
||
class Utils { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// FirstPage.swift | ||
// xcuitest-sample-projUITests | ||
// | ||
// Created by Nikola Shabanov on 23.07.23. | ||
// | ||
|
||
import XCTest | ||
|
||
class FirstPage: BasePage { | ||
var carousel: XCUIElement { app.scrollViews.matching(identifier: "carousel-view").firstMatch } | ||
var carouselItems: XCUIElementQuery { carousel.staticTexts } | ||
var disappearingButton: XCUIElement { app.buttons["disappearing-button"] } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// SecondPage.swift | ||
// xcuitest-sample-projUITests | ||
// | ||
// Created by Nikola Shabanov on 23.07.23. | ||
// | ||
|
||
import XCTest | ||
|
||
class SecondPage: BasePage { | ||
var loadingElements: XCUIElementQuery { app.staticTexts.matching(identifier: "loaded-el") } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// TabBar.swift | ||
// xcuitest-sample-projUITests | ||
// | ||
// Created by Nikola Shabanov on 23.07.23. | ||
// | ||
|
||
import XCTest | ||
|
||
class TabBar: BasePage { | ||
private var defaultTabBar: XCUIElement { app } | ||
private var firstPageButton: XCUIElement { defaultTabBar.buttons["Carousel"] } | ||
private var secondPageButton: XCUIElement { defaultTabBar.buttons["Loading"] } | ||
|
||
func openFirstPage() { | ||
firstPageButton.tap() | ||
} | ||
|
||
func openSecondPage() { | ||
secondPageButton.tap() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters