Skip to content
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

Feature/ci fix #113

Merged
merged 39 commits into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
122d771
Updated calabash.xcframework.
IlyaBausovAkvelon May 13, 2022
fdc8c0d
bundle upgrade
May 25, 2022
e8df6d8
bundle version fix
Jun 1, 2022
ed2d936
specify a bundler version
Jun 1, 2022
207175d
add another bundle version
Jun 1, 2022
aea5b67
bundle experiments
Jun 1, 2022
de6e166
Updated dependencies in Xcode project.
IlyaBausovAkvelon Jun 14, 2022
980ce97
Fixed deprecations.
IlyaBausovAkvelon Jun 14, 2022
82a707d
Updated project settings.
IlyaBausovAkvelon Jun 14, 2022
35184b4
Removed CI step for installer bundler 2.2.7.
IlyaBausovAkvelon Jun 14, 2022
96bc49d
Updated Bundler version.
IlyaBausovAkvelon Jun 14, 2022
ba20a8c
Updated Bundler version in CalSmokeApp.
IlyaBausovAkvelon Jun 14, 2022
a294d45
Merge branch 'feature/update-calabash' into feature/ci_fix
Jun 15, 2022
4fba00f
switch to the fixed keychain branch
Jun 15, 2022
1199104
checkout fixed
Jun 15, 2022
0f91288
fix some deprecations
Jun 27, 2022
5624964
bundle upgraded
Jun 27, 2022
8eef140
bundler version upgraded
Jun 27, 2022
cd8e6e2
attempt to fix a problem with a keychain
Jun 27, 2022
d2f38d5
fix deprecations
Jun 27, 2022
71aa534
Added some things to README
Jun 29, 2022
813d181
Added swipe gesture for TableView in the app and some comments
Jul 1, 2022
685ffbb
attempt to fix appcenter job of the CI
Jul 1, 2022
8392e6c
Fixed a dependency for ipa
Jul 1, 2022
7fdddde
try to make calabash tests launch
Jul 1, 2022
30b5d53
return some options back
Jul 1, 2022
4af29e0
return other changes
Jul 1, 2022
52ebbda
Fix an iPad error with sheet appearing
Jul 4, 2022
29a7f94
Return dylib changes, return Versioning target changes
Jul 5, 2022
a04a68d
revert some previous linking changes
Jul 5, 2022
1c5b609
additional reverts
Jul 5, 2022
c7b4e06
return one script back
Jul 5, 2022
c9d9643
Revert linking changes for CalSmoke
Jul 5, 2022
64be0fd
Continue to revert linking changes
Jul 5, 2022
f1122f0
Continue to revert linking changes
Jul 5, 2022
bfd3f37
install bundler
Jul 5, 2022
a20a5b3
try to test it it on the iphone12 simulator
Jul 5, 2022
9e06b45
Merge branch 'master' into feature/ci_fix
Jul 7, 2022
d76645e
move Cucumber tests step before appcenter tests
Jul 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CalSmokeApp/CalSmokeApp/CalAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ - (NSString *)simulatorPreferencesPath:(NSString *) aIgnore {

// 4. and unescape spaces, if necessary (i.e. in the simulator)
NSString *unsanitizedPlistPath = [plistRootPath stringByAppendingPathComponent:relativePlistPath];
path = [[unsanitizedPlistPath stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding] copy];
path = [[unsanitizedPlistPath stringByRemovingPercentEncoding] copy];
});
NSLog(@"sim pref path = %@", path);
return path;
Expand Down
70 changes: 35 additions & 35 deletions CalSmokeApp/CalSmokeApp/CalDragDropController.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ - (IBAction)buttonTouchedShowAlert:(id)sender {
@"The title of the default button on the Smoke Test alert.");
NSString *lcancel = NSLocalizedString(@"Cancel",
@"The title of the cancel button on the Smoke Test alert.");

UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:lat
message:lam
delegate:self
cancelButtonTitle:lcancel
otherButtonTitles:lok, nil];
alert.accessibilityIdentifier = @"alert";
[alert show];
UIAlertController *alert = [UIAlertController alertControllerWithTitle:lat message:lam preferredStyle:UIAlertControllerStyleAlert];
[alert addAction:[UIAlertAction actionWithTitle:lcancel
style:UIAlertActionStyleCancel
handler:^(UIAlertAction *action) {}]];
[alert addAction:[UIAlertAction actionWithTitle:lok
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) {}]];
alert.view.accessibilityIdentifier = @"alert";
[self presentViewController:alert animated:YES completion:nil];
}

- (IBAction)buttonToucheShowSheet:(id)sender {
Expand All @@ -217,26 +217,37 @@ - (IBAction)buttonToucheShowSheet:(id)sender {
@"The title of the cancel button on the Smoke Test sheet.");
NSString *locDelete = NSLocalizedString(@"Delete",
@"The title of the delete button on the Smoke Test sheet.");
UIAlertController *sheet = [UIAlertController alertControllerWithTitle:locTitle
message:nil
preferredStyle:UIAlertControllerStyleActionSheet];

UIActionSheet *sheet = nil;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
sheet = [[UIActionSheet alloc]
initWithTitle:locTitle
delegate:self
cancelButtonTitle:nil
destructiveButtonTitle:locDelete
otherButtonTitles:locCancel, nil];
[sheet addAction:[UIAlertAction actionWithTitle:locDelete
style:UIAlertActionStyleDestructive
handler:^(UIAlertAction *action) {}]];
[sheet addAction:[UIAlertAction actionWithTitle:locCancel
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) {}]];

[sheet setModalPresentationStyle:UIModalPresentationPopover];

UIButton *button = sender;
UIPopoverPresentationController *popPresenter = [sheet
popoverPresentationController];
popPresenter.sourceView = button;
popPresenter.sourceRect = button.bounds;

} else {
sheet = [[UIActionSheet alloc]
initWithTitle:locTitle
delegate:self
cancelButtonTitle:locCancel
destructiveButtonTitle:locDelete
otherButtonTitles:nil];
[sheet addAction:[UIAlertAction actionWithTitle:locDelete
style:UIAlertActionStyleDestructive
handler:^(UIAlertAction *action) {}]];
[sheet addAction:[UIAlertAction actionWithTitle:locCancel
style:UIAlertActionStyleCancel
handler:^(UIAlertAction *action) {}]];
}

sheet.accessibilityIdentifier = @"sheet";
[sheet showFromTabBar:self.tabBarController.tabBar];
sheet.view.accessibilityIdentifier = @"sheet";
[self.tabBarController presentViewController:sheet animated:YES completion:nil];
}

- (IBAction) buttonTouchedShowOpenGL:(id) sender {
Expand All @@ -251,17 +262,6 @@ - (IBAction) buttonTouchedShowOpenGL:(id) sender {
}];
}

#pragma mark - Alert View Delegate

- (void) alertView:(UIAlertView *) aAlertView clickedButtonAtIndex:(NSInteger) aIndex {
}

#pragma mark - Action Sheet Delegate

- (void) actionSheet:(UIActionSheet *) aActionSheet clickedButtonAtIndex:(NSInteger) aButtonIndex {

}

#pragma mark - Animations

- (void) animateOrangeViewForSeconds:(NSTimeInterval)seconds {
Expand Down
6 changes: 6 additions & 0 deletions CalSmokeApp/CalSmokeApp/Fingertips/MBFingerTipWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ - (void)sendEvent:(UIEvent *)event
[self removeFingerTipWithHash:touch.hash animated:YES];
break;
}
case UITouchPhaseRegionEntered:
case UITouchPhaseRegionMoved:
case UITouchPhaseRegionExited:
default: {
break;
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,13 @@ - (void)viewWillAppear:(BOOL)animated {
self.navigationItem.hidesBackButton = YES;
self.navigationItem.backBarButtonItem = nil;
self.navigationItem.leftBarButtonItem = backButton;


//added for iOS >= 13.
//Since iOS 13 swipe back gesture should start out of a screen border, so tests stopped working
UISwipeGestureRecognizer* swipeLeftToRight = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(buttonTouchedBack:)];
swipeLeftToRight.direction = UISwipeGestureRecognizerDirectionRight;
[self.view addGestureRecognizer:swipeLeftToRight];

UINavigationController *navcon = self.navigationController;
if ([navcon respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
navcon.interactivePopGestureRecognizer.enabled = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ - (void)viewWillAppear:(BOOL)animated {
self.navigationItem.backBarButtonItem = nil;
self.navigationItem.leftBarButtonItem = backButton;

//added for iOS >= 13.
//Since iOS 13 swipe back gesture should start out of a screen border, so tests stopped working
UISwipeGestureRecognizer* swipeLeftToRight = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(buttonTouchedBack:)];
swipeLeftToRight.direction = UISwipeGestureRecognizerDirectionRight;
[self.view addGestureRecognizer:swipeLeftToRight];

UINavigationController *navcon = self.navigationController;
if ([navcon respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
navcon.interactivePopGestureRecognizer.enabled = YES;
Expand Down
8 changes: 3 additions & 5 deletions CalSmokeApp/CalSmokeApp/en.lproj/CalTableViewContoller.xib
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13770" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13770"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
Expand Down
2 changes: 1 addition & 1 deletion CalSmokeApp/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem "json", "2.6.1"
# workflow and build tools
gem 'retriable', "2.0.2"
gem 'rake', "13.0.6"
gem 'bundler', "2.3.13"
gem 'bundler', "2.3.16"
gem 'xcpretty', "0.3.0"
gem "xamarin-test-cloud", "2.3.0"
gem 'rspec', "3.11.0"
Expand Down
19 changes: 0 additions & 19 deletions CalSmokeApp/RevealServer.framework/Headers/RevealServer.h

This file was deleted.

Binary file removed CalSmokeApp/RevealServer.framework/Info.plist
Binary file not shown.
6 changes: 0 additions & 6 deletions CalSmokeApp/RevealServer.framework/Modules/module.modulemap

This file was deleted.

Binary file removed CalSmokeApp/RevealServer.framework/RevealServer
Binary file not shown.

This file was deleted.

Loading