-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue199 UI test #224
Merged
Merged
Issue199 UI test #224
Changes from 9 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
734a48d
List ordered by amount of contributions and profile name
am2089 62fc15d
Changes made topbxproj, and moved code from the contributorslistview …
am2089 454aa44
changes requested
am2089 14ce041
Changes
am2089 6a7d376
Committed changes to Basic-Car-Maintenance.xcodeproj/project.pbxproj
am2089 f55c04c
UITest for adding a vehicle in settings
am2089 8d27e3b
Updated Basic-Car-Maintenance-UITests
am2089 d43143e
Resolved merge conflicts in project.pbxproj
am2089 75edc40
Fix BasicCarMaintenanceUITests
am2089 fdba73a
Fix pbxproj and ui test file
mikaelacaron ae845cd
Remove reference to old file
mikaelacaron 9576a40
Remove WidgetExtension.xcscheme
mikaelacaron 5749135
Remove comments
mikaelacaron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,6 +8,7 @@ | |
|
||
/* Begin PBXBuildFile section */ | ||
023057F22ACFAD79006C5A73 /* EditEventDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 023057F12ACFAD79006C5A73 /* EditEventDetailView.swift */; }; | ||
8288B89B2AE5C5C900AA21F9 /* AddVehicleViewUITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8288B89A2AE5C5C900AA21F9 /* AddVehicleViewUITest.swift */; }; | ||
154984AA2AD9CAEE0015594C /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 154984A92AD9CAEE0015594C /* Constants.swift */; }; | ||
57CDD99E2ADC3173002EFED0 /* OdometerViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57CDD99D2ADC3173002EFED0 /* OdometerViewModel.swift */; }; | ||
57CDD9A02ADC31A8002EFED0 /* AddOdometerReadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57CDD99F2ADC31A8002EFED0 /* AddOdometerReadingView.swift */; }; | ||
|
@@ -99,13 +100,17 @@ | |
|
||
/* Begin PBXFileReference section */ | ||
023057F12ACFAD79006C5A73 /* EditEventDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EditEventDetailView.swift; sourceTree = "<group>"; }; | ||
<<<<<<< HEAD | ||
8288B89A2AE5C5C900AA21F9 /* AddVehicleViewUITest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddVehicleViewUITest.swift; sourceTree = "<group>"; }; | ||
======= | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is what a merge conflict looks like, this is something you have to fix, and not commit |
||
154984A92AD9CAEE0015594C /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = "<group>"; }; | ||
57CDD99D2ADC3173002EFED0 /* OdometerViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OdometerViewModel.swift; sourceTree = "<group>"; }; | ||
57CDD99F2ADC31A8002EFED0 /* AddOdometerReadingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddOdometerReadingView.swift; sourceTree = "<group>"; }; | ||
57CDD9A32ADC320F002EFED0 /* OdometerReading.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OdometerReading.swift; sourceTree = "<group>"; }; | ||
8014A4CE2AD75928005B51F6 /* AppIcon.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppIcon.swift; sourceTree = "<group>"; }; | ||
8014A4D02AD76034005B51F6 /* ChooseAppIconView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChooseAppIconView.swift; sourceTree = "<group>"; }; | ||
8014A4D22AD77C92005B51F6 /* ChooseAppIconViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChooseAppIconViewModel.swift; sourceTree = "<group>"; }; | ||
>>>>>>> upstream/dev | ||
898009782AD1899700604E7C /* ContributorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContributorTests.swift; sourceTree = "<group>"; }; | ||
8A3D74852AD6D9A10000FEEB /* AlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlertView.swift; sourceTree = "<group>"; }; | ||
8AEE816E2ACF37F800FC0C2A /* Action.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Action.swift; sourceTree = "<group>"; }; | ||
|
@@ -267,8 +272,8 @@ | |
FF5D139A2A86C2D500BC9BD6 = { | ||
isa = PBXGroup; | ||
children = ( | ||
FFBE79BA2AD0A48C0005524E /* Configurations */, | ||
FF098EFA2AB3424E003EC0FE /* Basic-Car-Maintenance.xcconfig */, | ||
FFBE79BA2AD0A48C0005524E /* Configurations */, | ||
FF5D13A52A86C2D600BC9BD6 /* Basic-Car-Maintenance */, | ||
FFDADF822ACD35A100DDEF79 /* Basic-Car-Maintenance-Widget */, | ||
FF5D13B72A86C2D800BC9BD6 /* Basic-Car-Maintenance-Tests */, | ||
|
@@ -321,6 +326,7 @@ | |
isa = PBXGroup; | ||
children = ( | ||
FF5D13C22A86C2D800BC9BD6 /* BasicCarMaintenanceUITests.swift */, | ||
8288B89A2AE5C5C900AA21F9 /* AddVehicleViewUITest.swift */, | ||
); | ||
path = "Basic-Car-Maintenance-UITests"; | ||
sourceTree = "<group>"; | ||
|
@@ -698,6 +704,7 @@ | |
buildActionMask = 2147483647; | ||
files = ( | ||
FF5D13C32A86C2D800BC9BD6 /* BasicCarMaintenanceUITests.swift in Sources */, | ||
8288B89B2AE5C5C900AA21F9 /* AddVehicleViewUITest.swift in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
|
@@ -738,6 +745,7 @@ | |
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; | ||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; | ||
CLANG_ANALYZER_NONNULL = YES; | ||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; | ||
|
@@ -767,6 +775,7 @@ | |
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
COPY_PHASE_STRIP = NO; | ||
DEAD_CODE_STRIPPING = YES; | ||
DEBUG_INFORMATION_FORMAT = dwarf; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_TESTABILITY = YES; | ||
|
@@ -800,6 +809,7 @@ | |
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; | ||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; | ||
CLANG_ANALYZER_NONNULL = YES; | ||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; | ||
|
@@ -829,6 +839,7 @@ | |
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
COPY_PHASE_STRIP = NO; | ||
DEAD_CODE_STRIPPING = YES; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
ENABLE_NS_ASSERTIONS = NO; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
|
@@ -850,6 +861,7 @@ | |
}; | ||
FF5D13C92A86C2D800BC9BD6 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
baseConfigurationReference = FF098EFA2AB3424E003EC0FE /* Basic-Car-Maintenance.xcconfig */; | ||
buildSettings = { | ||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; | ||
ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES = ""; | ||
|
@@ -858,6 +870,7 @@ | |
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; | ||
CODE_SIGN_ENTITLEMENTS = "Basic-Car-Maintenance/Basic_Car_Maintenance.entitlements"; | ||
CODE_SIGN_STYLE = Automatic; | ||
DEAD_CODE_STRIPPING = YES; | ||
DEVELOPMENT_ASSET_PATHS = "\"Basic-Car-Maintenance/Preview Content\""; | ||
ENABLE_HARDENED_RUNTIME = YES; | ||
ENABLE_PREVIEWS = YES; | ||
|
@@ -898,6 +911,7 @@ | |
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; | ||
CODE_SIGN_ENTITLEMENTS = "Basic-Car-Maintenance/Basic_Car_Maintenance.entitlements"; | ||
CODE_SIGN_STYLE = Automatic; | ||
DEAD_CODE_STRIPPING = YES; | ||
DEVELOPMENT_ASSET_PATHS = "\"Basic-Car-Maintenance/Preview Content\""; | ||
ENABLE_HARDENED_RUNTIME = YES; | ||
ENABLE_PREVIEWS = YES; | ||
|
@@ -919,6 +933,8 @@ | |
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; | ||
MACOSX_DEPLOYMENT_TARGET = 13.4; | ||
OTHER_LDFLAGS = "-ObjC"; | ||
"PRODUCT_BUNDLE_IDENTIFIER[sdk=iphoneos*]" = "com.andrewmuniz.Basic-Car-Maintenance"; | ||
"PRODUCT_BUNDLE_IDENTIFIER[sdk=macosx*]" = "com.andrewmuniz.Basic-Car-Maintenance"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SDKROOT = auto; | ||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; | ||
|
@@ -935,6 +951,7 @@ | |
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; | ||
BUNDLE_LOADER = "$(TEST_HOST)"; | ||
CODE_SIGN_STYLE = Automatic; | ||
DEAD_CODE_STRIPPING = YES; | ||
GENERATE_INFOPLIST_FILE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 17.0; | ||
MACOSX_DEPLOYMENT_TARGET = 13.4; | ||
|
@@ -955,6 +972,7 @@ | |
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; | ||
BUNDLE_LOADER = "$(TEST_HOST)"; | ||
CODE_SIGN_STYLE = Automatic; | ||
DEAD_CODE_STRIPPING = YES; | ||
GENERATE_INFOPLIST_FILE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 17.0; | ||
MACOSX_DEPLOYMENT_TARGET = 13.4; | ||
|
@@ -974,6 +992,7 @@ | |
buildSettings = { | ||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; | ||
CODE_SIGN_STYLE = Automatic; | ||
DEAD_CODE_STRIPPING = YES; | ||
GENERATE_INFOPLIST_FILE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 17.0; | ||
MACOSX_DEPLOYMENT_TARGET = 13.4; | ||
|
@@ -993,6 +1012,7 @@ | |
buildSettings = { | ||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; | ||
CODE_SIGN_STYLE = Automatic; | ||
DEAD_CODE_STRIPPING = YES; | ||
GENERATE_INFOPLIST_FILE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 17.0; | ||
MACOSX_DEPLOYMENT_TARGET = 13.4; | ||
|
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
3 changes: 3 additions & 0 deletions
3
Basic-Car-Maintenance.xcodeproj/xcshareddata/xcschemes/WidgetExtension.xcscheme
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,3 @@ | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this
/*@START_MENU_TOKEN@*/
stuff shouldn't be here. This is because you had Xcode auto fill something, but you never accepted it, look how it's "highlighted" you need to either double click on it, or click on it once and press enter to accept that as the codeThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also note you defined an
app
property in the class, yet here you're redefining using a new variable for XCUIApplicationThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test only works when there's one vehicle and that the
Add Vehicle
button is in the view immediately and you don't need to scroll to tap on it