diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-04-21 15:26:45 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-04-21 15:26:45 +0200 |
| commit | 16224ef7cc3f07a82e682437ec93eb6eef88d1aa (patch) | |
| tree | 44cd536857c433c5cf47d7dfb319f1be01cef0d4 | |
| parent | 2df26cc18a2b378ca555b3fbbc370ccb9d058779 (diff) | |
| parent | 65158882be3da00d6ff538614392aeac836a2c53 (diff) | |
| download | mullvadvpn-16224ef7cc3f07a82e682437ec93eb6eef88d1aa.tar.xz mullvadvpn-16224ef7cc3f07a82e682437ec93eb6eef88d1aa.zip | |
Merge branch 'update-screenshot-script-ios-54'
| -rw-r--r-- | ios/Gemfile | 2 | ||||
| -rw-r--r-- | ios/Gemfile.lock | 32 | ||||
| -rw-r--r-- | ios/MullvadVPNScreenshots/MullvadVPNScreenshots.swift | 12 |
3 files changed, 26 insertions, 20 deletions
diff --git a/ios/Gemfile b/ios/Gemfile index 4f2f71294e..2498e12811 100644 --- a/ios/Gemfile +++ b/ios/Gemfile @@ -1,3 +1,3 @@ source "https://rubygems.org" -gem "fastlane", "~> 2.211.0" +gem "fastlane", "~> 2.212.2" diff --git a/ios/Gemfile.lock b/ios/Gemfile.lock index 38a2ee55ec..5661d8d079 100644 --- a/ios/Gemfile.lock +++ b/ios/Gemfile.lock @@ -3,21 +3,21 @@ GEM specs: CFPropertyList (3.0.6) rexml - addressable (2.8.1) + addressable (2.8.4) public_suffix (>= 2.0.2, < 6.0) artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.710.0) - aws-sdk-core (3.170.0) + aws-partitions (1.750.0) + aws-sdk-core (3.171.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.5) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.62.0) + aws-sdk-kms (1.63.0) aws-sdk-core (~> 3, >= 3.165.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.119.0) + aws-sdk-s3 (1.121.0) aws-sdk-core (~> 3, >= 3.165.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.4) @@ -66,7 +66,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.2.6) - fastlane (2.211.0) + fastlane (2.212.2) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -106,8 +106,8 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.34.0) - google-apis-core (>= 0.9.1, < 2.a) + google-apis-androidpublisher_v3 (0.39.0) + google-apis-core (>= 0.11.0, < 2.a) google-apis-core (0.11.0) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) @@ -117,10 +117,10 @@ GEM retriable (>= 2.0, < 4.a) rexml webrick - 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-iamcredentials_v1 (0.17.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-playcustomapp_v1 (0.13.0) + google-apis-core (>= 0.11.0, < 2.a) google-apis-storage_v1 (0.19.0) google-apis-core (>= 0.9.0, < 2.a) google-cloud-core (1.6.0) @@ -128,7 +128,7 @@ GEM google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.3.0) + google-cloud-errors (1.3.1) google-cloud-storage (1.44.0) addressable (~> 2.8) digest-crc (~> 0.4) @@ -137,7 +137,7 @@ GEM google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (1.3.0) + googleauth (1.5.2) faraday (>= 0.17.3, < 3.a) jwt (>= 1.4, < 3.0) memoist (~> 0.16) @@ -160,7 +160,7 @@ GEM naturally (2.2.1) optparse (0.1.1) os (1.1.4) - plist (3.6.0) + plist (3.7.0) public_suffix (5.0.1) rake (13.0.6) representable (3.2.0) @@ -212,7 +212,7 @@ PLATFORMS ruby DEPENDENCIES - fastlane (~> 2.211.0) + fastlane (~> 2.212.2) BUNDLED WITH 1.17.3 diff --git a/ios/MullvadVPNScreenshots/MullvadVPNScreenshots.swift b/ios/MullvadVPNScreenshots/MullvadVPNScreenshots.swift index 6fe7ead758..4621728c32 100644 --- a/ios/MullvadVPNScreenshots/MullvadVPNScreenshots.swift +++ b/ios/MullvadVPNScreenshots/MullvadVPNScreenshots.swift @@ -38,6 +38,10 @@ class MullvadVPNScreenshots: XCTestCase { _ = app.buttons["AgreeButton"].waitForExistence(timeout: 10) app.buttons["AgreeButton"].tap() + // Dismiss changelog screen + _ = app.buttons["OkButton"].waitForExistence(timeout: 10) + app.buttons["OkButton"].tap() + // Wait for Login screen let textField = app.textFields["LoginTextField"] _ = textField.waitForExistence(timeout: 5) @@ -105,9 +109,11 @@ class MullvadVPNScreenshots: XCTestCase { // Tap back button app.navigationBars.buttons.firstMatch.tap() - // Tap "Account" cell - _ = app.tables.cells["AccountCell"].waitForExistence(timeout: 2) - app.tables.cells["AccountCell"].tap() + // Tap dismiss button + app.navigationBars.buttons.firstMatch.tap() + + // Open Account + app.buttons["AccountButton"].tap() // Wait for StoreKit to fetch subscriptions _ = app.buttons["PurchaseButton"].waitForExistence(timeout: 2) |
