Skip to content

Commit 90df65a

Browse files
committed
Removing UI tests for the new test app AuthFlowTester
We are planning to build robust UI tests that will leverage AuthFlowTester to test various login flows etc
1 parent 485997a commit 90df65a

File tree

6 files changed

+4
-635
lines changed

6 files changed

+4
-635
lines changed

.github/DangerFiles/TestOrchestrator.rb

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,13 @@
77
fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if github.branch_for_base != "dev"
88

99
# List of supported xcode schemes for testing
10-
SCHEMES = ['SalesforceSDKCommon', 'SalesforceAnalytics', 'SalesforceSDKCore', 'SmartStore', 'MobileSync', 'AuthFlowTester']
10+
SCHEMES = ['SalesforceSDKCommon', 'SalesforceAnalytics', 'SalesforceSDKCore', 'SmartStore', 'MobileSync']
1111

1212
modifed_libs = Set[]
1313

1414
for file in (git.modified_files + git.added_files);
15-
scheme = nil
16-
17-
# Check if SDK libs are modified
18-
if file.include?("libs/")
19-
scheme = file.split("libs/").last.split("/").first
20-
# Check if sample apps are modified
21-
elsif file.include?("native/SampleApps/")
22-
scheme = file.split("native/SampleApps/").last.split("/").first
23-
end
24-
25-
if scheme && SCHEMES.include?(scheme)
15+
scheme = file.split("libs/").last.split("/").first
16+
if SCHEMES.include?(scheme)
2617
modifed_libs.add(scheme)
2718
end
2819
end

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
lib: [SalesforceSDKCommon, SalesforceAnalytics, SalesforceSDKCore, SmartStore, MobileSync, AuthFlowTester]
14+
lib: [SalesforceSDKCommon, SalesforceAnalytics, SalesforceSDKCore, SmartStore, MobileSync]
1515
ios: [^26, ^18, ^17]
1616
include:
1717
- ios: ^26

native/SampleApps/AuthFlowTester/AuthFlowTester.xcodeproj/project.pbxproj

Lines changed: 0 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
4F1A8CCA2EAB16450037DC89 /* bootconfig.plist in Resources */ = {isa = PBXBuildFile; fileRef = AUTH010 /* bootconfig.plist */; };
11-
4F1A8CCB2EAB16490037DC89 /* bootconfig2.plist in Resources */ = {isa = PBXBuildFile; fileRef = AUTH036 /* bootconfig2.plist */; };
1210
4F1A8CCD2EAFEA7C0037DC89 /* BootConfigEditor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F1A8CCC2EAFEA7C0037DC89 /* BootConfigEditor.swift */; };
13-
4F95A89B2EAAD00000000001 /* test_credentials.json in Resources */ = {isa = PBXBuildFile; fileRef = 4F95A89A2EAAD00000000001 /* test_credentials.json */; };
1411
4F95A89C2EA806E700C98D18 /* SalesforceAnalytics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F95A8962EA801DC00C98D18 /* SalesforceAnalytics.framework */; };
1512
4F95A89D2EA806E700C98D18 /* SalesforceAnalytics.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4F95A8962EA801DC00C98D18 /* SalesforceAnalytics.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1613
4F95A89F2EA806E900C98D18 /* SalesforceSDKCommon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F95A8982EA801DC00C98D18 /* SalesforceSDKCommon.framework */; };
@@ -34,16 +31,6 @@
3431
AUTH053 /* FlowTypesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AUTH054 /* FlowTypesView.swift */; };
3532
/* End PBXBuildFile section */
3633

37-
/* Begin PBXContainerItemProxy section */
38-
4FEBAF342EAAC98E00D4880A /* PBXContainerItemProxy */ = {
39-
isa = PBXContainerItemProxy;
40-
containerPortal = AUTH027 /* Project object */;
41-
proxyType = 1;
42-
remoteGlobalIDString = AUTH023;
43-
remoteInfo = AuthFlowTester;
44-
};
45-
/* End PBXContainerItemProxy section */
46-
4734
/* Begin PBXCopyFilesBuildPhase section */
4835
4F95A89E2EA806E700C98D18 /* Embed Frameworks */ = {
4936
isa = PBXCopyFilesBuildPhase;
@@ -63,9 +50,7 @@
6350
4F95A8962EA801DC00C98D18 /* SalesforceAnalytics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SalesforceAnalytics.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6451
4F95A8982EA801DC00C98D18 /* SalesforceSDKCommon.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SalesforceSDKCommon.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6552
4F95A89A2EA801DC00C98D18 /* SalesforceSDKCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SalesforceSDKCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
66-
4F95A89A2EAAD00000000001 /* test_credentials.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = test_credentials.json; path = ../../../../shared/test/test_credentials.json; sourceTree = "<group>"; };
6753
4FEBAF282EA9B91500D4880A /* RevokeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RevokeView.swift; sourceTree = "<group>"; };
68-
4FEBAF2E2EAAC98E00D4880A /* AuthFlowTesterUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AuthFlowTesterUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
6954
AUTH002 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7055
AUTH004 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
7156
AUTH006 /* ConfigPickerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigPickerViewController.swift; sourceTree = "<group>"; };
@@ -85,20 +70,7 @@
8570
AUTH054 /* FlowTypesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlowTypesView.swift; sourceTree = "<group>"; };
8671
/* End PBXFileReference section */
8772

88-
/* Begin PBXFileSystemSynchronizedRootGroup section */
89-
4FEBAF2F2EAAC98E00D4880A /* AuthFlowTesterUITests */ = {
90-
isa = PBXFileSystemSynchronizedRootGroup;
91-
path = AuthFlowTesterUITests;
92-
sourceTree = "<group>";
93-
};
94-
/* End PBXFileSystemSynchronizedRootGroup section */
95-
9673
/* Begin PBXFrameworksBuildPhase section */
97-
4FEBAF2B2EAAC98E00D4880A /* Frameworks */ = {
98-
isa = PBXFrameworksBuildPhase;
99-
files = (
100-
);
101-
};
10274
AUTH018 /* Frameworks */ = {
10375
isa = PBXFrameworksBuildPhase;
10476
files = (
@@ -120,15 +92,6 @@
12092
name = Frameworks;
12193
sourceTree = "<group>";
12294
};
123-
4FEBAF2F2EAAD00000000002 /* Supporting Files */ = {
124-
isa = PBXGroup;
125-
children = (
126-
4F95A89A2EAAD00000000001 /* test_credentials.json */,
127-
);
128-
name = "Supporting Files";
129-
path = AuthFlowTesterUITests;
130-
sourceTree = "<group>";
131-
};
13295
4FF0EF9E2EA8568C005E4474 /* Supporting Files */ = {
13396
isa = PBXGroup;
13497
children = (
@@ -145,8 +108,6 @@
145108
isa = PBXGroup;
146109
children = (
147110
AUTH020 /* AuthFlowTester */,
148-
4FEBAF2F2EAAC98E00D4880A /* AuthFlowTesterUITests */,
149-
4FEBAF2F2EAAD00000000002 /* Supporting Files */,
150111
4F95A8952EA801DC00C98D18 /* Frameworks */,
151112
AUTH021 /* Products */,
152113
);
@@ -168,7 +129,6 @@
168129
isa = PBXGroup;
169130
children = (
170131
AUTH017 /* AuthFlowTester.app */,
171-
4FEBAF2E2EAAC98E00D4880A /* AuthFlowTesterUITests.xctest */,
172132
);
173133
name = Products;
174134
sourceTree = "<group>";
@@ -217,27 +177,6 @@
217177
/* End PBXGroup section */
218178

219179
/* Begin PBXNativeTarget section */
220-
4FEBAF2D2EAAC98E00D4880A /* AuthFlowTesterUITests */ = {
221-
isa = PBXNativeTarget;
222-
buildConfigurationList = 4FEBAF362EAAC98E00D4880A /* Build configuration list for PBXNativeTarget "AuthFlowTesterUITests" */;
223-
buildPhases = (
224-
4FEBAF2A2EAAC98E00D4880A /* Sources */,
225-
4FEBAF2B2EAAC98E00D4880A /* Frameworks */,
226-
4FEBAF2C2EAAC98E00D4880A /* Resources */,
227-
);
228-
buildRules = (
229-
);
230-
dependencies = (
231-
4FEBAF352EAAC98E00D4880A /* PBXTargetDependency */,
232-
);
233-
fileSystemSynchronizedGroups = (
234-
4FEBAF2F2EAAC98E00D4880A /* AuthFlowTesterUITests */,
235-
);
236-
name = AuthFlowTesterUITests;
237-
productName = AuthFlowTesterUITests;
238-
productReference = 4FEBAF2E2EAAC98E00D4880A /* AuthFlowTesterUITests.xctest */;
239-
productType = "com.apple.product-type.bundle.ui-testing";
240-
};
241180
AUTH023 /* AuthFlowTester */ = {
242181
isa = PBXNativeTarget;
243182
buildConfigurationList = AUTH024 /* Build configuration list for PBXNativeTarget "AuthFlowTester" */;
@@ -264,10 +203,6 @@
264203
LastSwiftUpdateCheck = 2600;
265204
LastUpgradeCheck = 2600;
266205
TargetAttributes = {
267-
4FEBAF2D2EAAC98E00D4880A = {
268-
CreatedOnToolsVersion = 26.0.1;
269-
TestTargetID = AUTH023;
270-
};
271206
AUTH023 = {
272207
CreatedOnToolsVersion = 15.0;
273208
};
@@ -287,20 +222,11 @@
287222
projectRoot = "";
288223
targets = (
289224
AUTH023 /* AuthFlowTester */,
290-
4FEBAF2D2EAAC98E00D4880A /* AuthFlowTesterUITests */,
291225
);
292226
};
293227
/* End PBXProject section */
294228

295229
/* Begin PBXResourcesBuildPhase section */
296-
4FEBAF2C2EAAC98E00D4880A /* Resources */ = {
297-
isa = PBXResourcesBuildPhase;
298-
files = (
299-
4F95A89B2EAAD00000000001 /* test_credentials.json in Resources */,
300-
4F1A8CCA2EAB16450037DC89 /* bootconfig.plist in Resources */,
301-
4F1A8CCB2EAB16490037DC89 /* bootconfig2.plist in Resources */,
302-
);
303-
};
304230
AUTH026 /* Resources */ = {
305231
isa = PBXResourcesBuildPhase;
306232
files = (
@@ -313,11 +239,6 @@
313239
/* End PBXResourcesBuildPhase section */
314240

315241
/* Begin PBXSourcesBuildPhase section */
316-
4FEBAF2A2EAAC98E00D4880A /* Sources */ = {
317-
isa = PBXSourcesBuildPhase;
318-
files = (
319-
);
320-
};
321242
AUTH025 /* Sources */ = {
322243
isa = PBXSourcesBuildPhase;
323244
files = (
@@ -337,57 +258,7 @@
337258
};
338259
/* End PBXSourcesBuildPhase section */
339260

340-
/* Begin PBXTargetDependency section */
341-
4FEBAF352EAAC98E00D4880A /* PBXTargetDependency */ = {
342-
isa = PBXTargetDependency;
343-
target = AUTH023 /* AuthFlowTester */;
344-
targetProxy = 4FEBAF342EAAC98E00D4880A /* PBXContainerItemProxy */;
345-
};
346-
/* End PBXTargetDependency section */
347-
348261
/* Begin XCBuildConfiguration section */
349-
4FEBAF372EAAC98E00D4880A /* Debug configuration for PBXNativeTarget "AuthFlowTesterUITests" */ = {
350-
isa = XCBuildConfiguration;
351-
buildSettings = {
352-
CODE_SIGN_STYLE = Automatic;
353-
CURRENT_PROJECT_VERSION = 1;
354-
DEVELOPMENT_TEAM = XD7TD9S6ZU;
355-
GENERATE_INFOPLIST_FILE = YES;
356-
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
357-
MARKETING_VERSION = 1.0;
358-
PRODUCT_BUNDLE_IDENTIFIER = com.salesforce.salesforce.AuthFlowTesterUITests;
359-
PRODUCT_NAME = "$(TARGET_NAME)";
360-
STRING_CATALOG_GENERATE_SYMBOLS = NO;
361-
SWIFT_APPROACHABLE_CONCURRENCY = YES;
362-
SWIFT_EMIT_LOC_STRINGS = NO;
363-
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
364-
SWIFT_VERSION = 5.0;
365-
TARGETED_DEVICE_FAMILY = "1,2";
366-
TEST_TARGET_NAME = AuthFlowTester;
367-
};
368-
name = Debug;
369-
};
370-
4FEBAF382EAAC98E00D4880A /* Release configuration for PBXNativeTarget "AuthFlowTesterUITests" */ = {
371-
isa = XCBuildConfiguration;
372-
buildSettings = {
373-
CODE_SIGN_STYLE = Automatic;
374-
CURRENT_PROJECT_VERSION = 1;
375-
DEVELOPMENT_TEAM = XD7TD9S6ZU;
376-
GENERATE_INFOPLIST_FILE = YES;
377-
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
378-
MARKETING_VERSION = 1.0;
379-
PRODUCT_BUNDLE_IDENTIFIER = com.salesforce.salesforce.AuthFlowTesterUITests;
380-
PRODUCT_NAME = "$(TARGET_NAME)";
381-
STRING_CATALOG_GENERATE_SYMBOLS = NO;
382-
SWIFT_APPROACHABLE_CONCURRENCY = YES;
383-
SWIFT_EMIT_LOC_STRINGS = NO;
384-
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
385-
SWIFT_VERSION = 5.0;
386-
TARGETED_DEVICE_FAMILY = "1,2";
387-
TEST_TARGET_NAME = AuthFlowTester;
388-
};
389-
name = Release;
390-
};
391262
AUTH029 /* Debug configuration for PBXProject "AuthFlowTester" */ = {
392263
isa = XCBuildConfiguration;
393264
buildSettings = {
@@ -572,14 +443,6 @@
572443
/* End XCBuildConfiguration section */
573444

574445
/* Begin XCConfigurationList section */
575-
4FEBAF362EAAC98E00D4880A /* Build configuration list for PBXNativeTarget "AuthFlowTesterUITests" */ = {
576-
isa = XCConfigurationList;
577-
buildConfigurations = (
578-
4FEBAF372EAAC98E00D4880A /* Debug configuration for PBXNativeTarget "AuthFlowTesterUITests" */,
579-
4FEBAF382EAAC98E00D4880A /* Release configuration for PBXNativeTarget "AuthFlowTesterUITests" */,
580-
);
581-
defaultConfigurationName = Release;
582-
};
583446
AUTH024 /* Build configuration list for PBXNativeTarget "AuthFlowTester" */ = {
584447
isa = XCConfigurationList;
585448
buildConfigurations = (

native/SampleApps/AuthFlowTester/AuthFlowTesterUITests/AuthFlowTesterAuthenticatedUITests.swift

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)