From 0b2ab0be1c6f9548dfc95ea87405f82ad57ef7dc Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Mon, 23 Jan 2023 14:55:01 +0400 Subject: [PATCH] updated snapfile --- example/pubspec.lock | 2 +- zxscanner/ios/Gemfile.lock | 74 +++++++++---------- zxscanner/ios/fastlane/Snapfile | 2 +- zxscanner/ios/fastlane/SnapshotHelper.swift | 4 +- .../zxscannerUITests/zxscannerUITests.swift | 4 + zxscanner/pubspec.lock | 2 +- zxscanner/pubspec.yaml | 2 +- 7 files changed, 47 insertions(+), 43 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 2500a6c..5b14b19 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -148,7 +148,7 @@ packages: path: ".." relative: true source: path - version: "1.0.0-beta.8" + version: "1.0.0-beta.9" font_awesome_flutter: dependency: "direct main" description: diff --git a/zxscanner/ios/Gemfile.lock b/zxscanner/ios/Gemfile.lock index ce460b7..975e240 100644 --- a/zxscanner/ios/Gemfile.lock +++ b/zxscanner/ios/Gemfile.lock @@ -3,25 +3,25 @@ GEM specs: CFPropertyList (3.0.5) rexml - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.600.0) - aws-sdk-core (3.131.1) + aws-partitions (1.697.0) + aws-sdk-core (3.169.0) aws-eventstream (~> 1, >= 1.0.2) - aws-partitions (~> 1, >= 1.525.0) - aws-sigv4 (~> 1.1) + aws-partitions (~> 1, >= 1.651.0) + aws-sigv4 (~> 1.5) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.57.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-kms (1.62.0) + aws-sdk-core (~> 3, >= 3.165.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.114.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-s3 (1.118.0) + aws-sdk-core (~> 3, >= 3.165.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.4) - aws-sigv4 (1.5.0) + aws-sigv4 (1.5.2) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) claide (1.1.0) @@ -34,10 +34,10 @@ GEM rake (>= 12.0.0, < 14.0.0) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) - dotenv (2.7.6) + dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.92.3) - faraday (1.10.0) + excon (0.97.2) + faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -66,7 +66,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.2.6) - fastlane (2.206.2) + fastlane (2.211.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -106,9 +106,9 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.22.0) - google-apis-core (>= 0.5, < 2.a) - google-apis-core (0.6.0) + google-apis-androidpublisher_v3 (0.32.0) + google-apis-core (>= 0.9.1, < 2.a) + google-apis-core (0.9.5) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -117,27 +117,27 @@ GEM retriable (>= 2.0, < 4.a) rexml webrick - google-apis-iamcredentials_v1 (0.11.0) - google-apis-core (>= 0.5, < 2.a) - google-apis-playcustomapp_v1 (0.8.0) - google-apis-core (>= 0.5, < 2.a) - google-apis-storage_v1 (0.15.0) - google-apis-core (>= 0.5, < 2.a) + google-apis-iamcredentials_v1 (0.16.0) + google-apis-core (>= 0.9.1, < 2.a) + google-apis-playcustomapp_v1 (0.12.0) + google-apis-core (>= 0.9.1, < 2.a) + google-apis-storage_v1 (0.19.0) + google-apis-core (>= 0.9.0, < 2.a) google-cloud-core (1.6.0) google-cloud-env (~> 1.0) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.2.0) - google-cloud-storage (1.36.2) + google-cloud-errors (1.3.0) + google-cloud-storage (1.44.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.19.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (1.1.3) + googleauth (1.3.0) faraday (>= 0.17.3, < 3.a) jwt (>= 1.4, < 3.0) memoist (~> 0.16) @@ -148,11 +148,11 @@ GEM http-cookie (1.0.5) domain_name (~> 0.5) httpclient (2.8.3) - jmespath (1.6.1) - json (2.6.2) - jwt (2.4.1) + jmespath (1.6.2) + json (2.6.3) + jwt (2.6.0) memoist (0.16.2) - mini_magick (4.11.0) + mini_magick (4.12.0) mini_mime (1.1.2) multi_json (1.15.0) multipart-post (2.0.0) @@ -161,7 +161,7 @@ GEM optparse (0.1.1) os (1.1.4) plist (3.6.0) - public_suffix (4.0.7) + public_suffix (5.0.1) rake (13.0.6) representable (3.2.0) declarative (< 0.1.0) @@ -173,9 +173,9 @@ GEM ruby2_keywords (0.0.5) rubyzip (2.3.2) security (0.1.3) - signet (0.16.1) + signet (0.17.0) addressable (~> 2.8) - faraday (>= 0.17.5, < 3.0) + faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) simctl (1.6.8) @@ -196,7 +196,7 @@ GEM unicode-display_width (1.8.0) webrick (1.7.0) word_wrap (1.0.0) - xcodeproj (1.21.0) + xcodeproj (1.22.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) @@ -215,4 +215,4 @@ DEPENDENCIES fastlane BUNDLED WITH - 2.3.15 + 2.4.5 diff --git a/zxscanner/ios/fastlane/Snapfile b/zxscanner/ios/fastlane/Snapfile index 1d4d24b..1fb9196 100644 --- a/zxscanner/ios/fastlane/Snapfile +++ b/zxscanner/ios/fastlane/Snapfile @@ -4,7 +4,7 @@ devices([ "iPhone 8 Plus", "iPhone 13 Pro Max", - "iPad Pro (12.9-inch) (5th generation)" + "iPad Pro (12.9-inch) (6th generation)" ]) # languages([ diff --git a/zxscanner/ios/fastlane/SnapshotHelper.swift b/zxscanner/ios/fastlane/SnapshotHelper.swift index 0046aaa..da063ba 100644 --- a/zxscanner/ios/fastlane/SnapshotHelper.swift +++ b/zxscanner/ios/fastlane/SnapshotHelper.swift @@ -181,7 +181,7 @@ open class Snapshot: NSObject { let path = screenshotsDir.appendingPathComponent("\(simulator)-\(name).png") #if swift(<5.0) - UIImagePNGRepresentation(image)?.write(to: path, options: .atomic) + try UIImagePNGRepresentation(image)?.write(to: path, options: .atomic) #else try image.pngData()?.write(to: path, options: .atomic) #endif @@ -306,4 +306,4 @@ private extension CGFloat { // Please don't remove the lines below // They are used to detect outdated configuration files -// SnapshotHelperVersion [1.28] +// SnapshotHelperVersion [1.29] diff --git a/zxscanner/ios/zxscannerUITests/zxscannerUITests.swift b/zxscanner/ios/zxscannerUITests/zxscannerUITests.swift index 96e0408..fe89221 100644 --- a/zxscanner/ios/zxscannerUITests/zxscannerUITests.swift +++ b/zxscanner/ios/zxscannerUITests/zxscannerUITests.swift @@ -45,6 +45,10 @@ class zxscannerUITests: XCTestCase { element.children(matching: .button).element.tap() sleep(3) + app.buttons["Create"].tap() + sleep(1) + app.buttons["Create"].tap() + sleep(3) snapshot("02_creator_screen") app.buttons["Back"].tap() diff --git a/zxscanner/pubspec.lock b/zxscanner/pubspec.lock index fd64a70..bf61a6a 100644 --- a/zxscanner/pubspec.lock +++ b/zxscanner/pubspec.lock @@ -321,7 +321,7 @@ packages: name: flutter_zxing url: "https://pub.dartlang.org" source: hosted - version: "0.10.0" + version: "1.0.0-beta.9" font_awesome_flutter: dependency: "direct main" description: diff --git a/zxscanner/pubspec.yaml b/zxscanner/pubspec.yaml index fab1dbb..c270547 100644 --- a/zxscanner/pubspec.yaml +++ b/zxscanner/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: sdk: flutter flutter_markdown: ^0.6.13 flutter_mobx: ^2.0.6 - flutter_zxing: #1.0.0-beta.6 + flutter_zxing: 1.0.0-beta.9 font_awesome_flutter: ^10.3.0 hive: ^2.2.3 hive_flutter: ^1.1.0