-
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
12 changed files
with
238 additions
and
43 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 added
BIN
+881 KB
iosApp/Survey/Resources/Assets/Assets.xcassets/CloseButton.imageset/Close Icon.pdf
Binary file not shown.
15 changes: 15 additions & 0 deletions
15
iosApp/Survey/Resources/Assets/Assets.xcassets/CloseButton.imageset/Contents.json
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,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Close Icon.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true | ||
} | ||
} |
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
18 changes: 18 additions & 0 deletions
18
iosApp/Survey/Sources/Presentation/ViewId/ViewId+SurveyQuestion.swift
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,18 @@ | ||
// | ||
// ViewId+SurveyQuestion.swift | ||
// Survey | ||
// | ||
// Created by Bliss on 11/1/23. | ||
// Copyright © 2023 Nimble. All rights reserved. | ||
// | ||
|
||
extension ViewId { | ||
|
||
enum SurveyQuestion: String { | ||
|
||
case nextButton = "survey.question.next.button" | ||
case titleText = "survey.question.title.text" | ||
case detailText = "survey.question.detail.text" | ||
case closeButton = "survey.question.close.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
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
18 changes: 18 additions & 0 deletions
18
iosApp/SurveyKIFUITests/Sources/Screens/SurveyQuestionScreen.swift
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,18 @@ | ||
// | ||
// SurveyQuestionScreen.swift | ||
// Survey | ||
// | ||
// Created by Bliss on 11/1/23. | ||
// Copyright © 2023 Nimble. All rights reserved. | ||
// | ||
|
||
final class SurveyQuestionScreen: GenericScreen { | ||
|
||
func waitForAppearance() { | ||
tester.waitForView(withAccessibilityIdentifier: ViewId.surveyQuestion(.titleText)()) | ||
} | ||
|
||
func tapCloseButton() { | ||
tester.tapView(withAccessibilityIdentifier: ViewId.surveyQuestion(.closeButton)()) | ||
} | ||
} |
Oops, something went wrong.