Skip to content

set output_remove_retry_attempts to false #15255

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

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
148 changes: 74 additions & 74 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/*
Expand All @@ -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/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}