woocommerce-ios
woocommerce-ios copied to clipboard
Prevent crash in waitFor tests helper
Forced unwrap in https://github.com/woocommerce/woocommerce-ios/blob/9d2b95a0aecaf8948eec8fa3e3c74c8c345e5205/TestKit/Sources/TestKit/XCTestCase%2BWait.swift#L94 breaks workflow when running unit tests. It should be handled gracefully to allow single test to fail while continuing execution.
Possible options:
- Return optional value.
- Add
XCTUnwrap
call andthrows
declaration.
Discussion ref: p1656489779319029-slack-C6H8C3G23
Fails | |
---|---|
:no_entry_sign: | Please add a type label to this issue. e.g. 'type: enhancement' |
:no_entry_sign: | Please add a feature label to this issue. e.g. 'feature: stats' |
Generated by :no_entry_sign: dangerJS
Fails | |
---|---|
:no_entry_sign: | Please add a type label to this issue. e.g. 'type: enhancement' |
:no_entry_sign: | Please add a feature label to this issue. e.g. 'feature: stats' |
Generated by :no_entry_sign: dangerJS