diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index ce734252301..712ed066afb 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -23,93 +23,93 @@ steps: ################# # Create Prototype Build ################# - - label: ":hammer_and_wrench: Prototype Build" - command: .buildkite/commands/prototype-build.sh - plugins: [$CI_TOOLKIT] - if: build.pull_request.id != null - notify: - - github_commit_status: - context: Prototype Build + # - label: ":hammer_and_wrench: Prototype Build" + # command: .buildkite/commands/prototype-build.sh + # plugins: [$CI_TOOLKIT] + # if: build.pull_request.id != null + # notify: + # - github_commit_status: + # context: Prototype Build ################# # Run Unit Tests ################# - - label: ":microscope: Unit Tests" - command: .buildkite/commands/run-unit-tests.sh - depends_on: build - plugins: [$CI_TOOLKIT] - artifact_paths: - - fastlane/test_output/* - notify: - - github_commit_status: - context: Unit Tests + # - label: ":microscope: Unit Tests" + # command: .buildkite/commands/run-unit-tests.sh + # depends_on: build + # plugins: [$CI_TOOLKIT] + # artifact_paths: + # - fastlane/test_output/* + # notify: + # - github_commit_status: + # context: Unit Tests - - label: ":microscope: Standalone WordPressAuthenticator Unit Tests" - command: | - echo "--- :rubygems: Setting up Gems" - install_gems + # - label: ":microscope: Standalone WordPressAuthenticator Unit Tests" + # command: | + # echo "--- :rubygems: Setting up Gems" + # install_gems - echo "--- :cocoapods: Setting up Pods" - install_cocoapods + # echo "--- :cocoapods: Setting up Pods" + # install_cocoapods - echo "--- :swift: Setting up Swift Packages" - install_swiftpm_dependencies + # echo "--- :swift: Setting up Swift Packages" + # install_swiftpm_dependencies - echo "--- 🧪 Testing" - bundle exec fastlane run scan \ - scheme:WordPressAuthenticator \ - prelaunch_simulator:true \ - device:'iPhone 16' - plugins: [$CI_TOOLKIT] - artifact_paths: - - fastlane/test_output/* - notify: - - github_commit_status: - context: WordPressAuthenticator Unit Tests + # echo "--- 🧪 Testing" + # bundle exec fastlane run scan \ + # scheme:WordPressAuthenticator \ + # prelaunch_simulator:true \ + # device:'iPhone 16' + # plugins: [$CI_TOOLKIT] + # artifact_paths: + # - fastlane/test_output/* + # notify: + # - github_commit_status: + # context: WordPressAuthenticator Unit Tests ################# # Linters ################# - - group: Linters - steps: - - label: ":radioactive_sign: Danger - PR Check" - command: danger - key: danger - if: build.pull_request.id != null - retry: - manual: - permit_on_passed: true - agents: - queue: linter - notify: - - github_commit_status: - context: Danger - PR Check + # - group: Linters + # steps: + # - label: ":radioactive_sign: Danger - PR Check" + # command: danger + # key: danger + # if: build.pull_request.id != null + # retry: + # manual: + # permit_on_passed: true + # agents: + # queue: linter + # notify: + # - github_commit_status: + # context: Danger - PR Check - - label: ":swift: SwiftLint" - command: swiftlint - notify: - - github_commit_status: - context: SwiftLint - agents: - queue: linter + # - label: ":swift: SwiftLint" + # command: swiftlint + # notify: + # - github_commit_status: + # context: SwiftLint + # agents: + # queue: linter - - label: 🧹 Lint Translations - command: gplint /workdir/WooCommerce/Resources/AppStoreStrings.pot - plugins: - - docker#v3.8.0: - image: public.ecr.aws/automattic/glotpress-validator:1.0.0 - agents: - queue: default - notify: - - github_commit_status: - context: Lint Translations + # - label: 🧹 Lint Translations + # command: gplint /workdir/WooCommerce/Resources/AppStoreStrings.pot + # plugins: + # - docker#v3.8.0: + # image: public.ecr.aws/automattic/glotpress-validator:1.0.0 + # agents: + # queue: default + # notify: + # - github_commit_status: + # context: Lint Translations - - label: ":sleuth_or_spy: Lint Localized Strings Format" - command: .buildkite/commands/lint-localized-strings-format.sh - plugins: [$CI_TOOLKIT] - notify: - - github_commit_status: - context: Lint Localized Strings Format + # - label: ":sleuth_or_spy: Lint Localized Strings Format" + # command: .buildkite/commands/lint-localized-strings-format.sh + # plugins: [$CI_TOOLKIT] + # notify: + # - github_commit_status: + # context: Lint Localized Strings Format ################# # UI Tests @@ -118,7 +118,7 @@ steps: command: .buildkite/commands/run-ui-tests.sh UITests 'iPhone 16' depends_on: build # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736 - if: build.branch == 'trunk' || build.branch =~ /^release\// + # if: build.branch == 'trunk' || build.branch =~ /^release\// plugins: [$CI_TOOLKIT] artifact_paths: - fastlane/test_output/* @@ -130,7 +130,7 @@ steps: command: .buildkite/commands/run-ui-tests.sh UITests "iPad (10th generation)" depends_on: build # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736 - if: build.branch == 'trunk' || build.branch =~ /^release\// + # if: build.branch == 'trunk' || build.branch =~ /^release\// plugins: [$CI_TOOLKIT] artifact_paths: - fastlane/test_output/* diff --git a/WooCommerce/UITestsFoundation/Screens/Payments/CardReaderManualsScreen.swift b/WooCommerce/UITestsFoundation/Screens/Payments/CardReaderManualsScreen.swift index 12329a1c5d1..43be322dadc 100644 --- a/WooCommerce/UITestsFoundation/Screens/Payments/CardReaderManualsScreen.swift +++ b/WooCommerce/UITestsFoundation/Screens/Payments/CardReaderManualsScreen.swift @@ -34,10 +34,13 @@ public final class CardReaderManualsScreen: ScreenObject { @discardableResult public func verifyChipperManualLoadedInWebView() throws -> Self { - let chipperManualPredicate = NSPredicate(format: "label CONTAINS[c] %@", "ChipperTM 2X BT") +// let chipperManualPredicate = NSPredicate(format: "label CONTAINS[c] %@", "ChipperTM 2X BT") + let chipperManualPredicate = NSPredicate(format: "label CONTAINS[c] %@", "TO FAIL TEST") let chipperManualText = app.webViews.textViews.containing(chipperManualPredicate).element - XCTAssert(chipperManualText.waitForExistence(timeout: 30), "Chipper manual not displayed on WebView!") +// XCTAssert(chipperManualText.waitForExistence(timeout: 30), "Chipper manual not displayed on WebView!") + XCTAssert(chipperManualText.waitForExistence(timeout: 5), "Chipper manual not displayed on WebView!") + return self } }