怎么这个信用卡论坛也变成马浓黑产了
1 个赞
Citi rewards+啊
Citi rewards+,刷$0.01, 返10 TYP ,10倍收益 ![]()
1 个赞
艹,关掉 Apple Pay 生物验证之后实测可睡,用 Bilt 自动充了 ¥2
func testSuica() throws {
let expectedCard = "Bilt World Elite";
let passcode = "666666\r";
let wallet = XCUIApplication(bundleIdentifier: "com.apple.Passbook")
let applePayUI = XCUIApplication(bundleIdentifier: "com.apple.PassbookUIService")
let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
wallet.launch()
// Add a breakpoint here and try:
// - po wallet.debugDescription
// - po wallet.otherElements
// - ... etc.
print(wallet.debugDescription)
if !wallet.buttons["Done"].exists {
wallet.otherElements["Suica"].tap()
}
wallet.buttons["Add Money"].tap()
wallet.keys["¥2"].tap()
wallet.buttons["Add"].tap()
let cardLabel = applePayUI.buttons["Wallet.BankConnectAccountCredentialsView.AccountNumber"].label
XCTAssert(cardLabel.starts(with: expectedCard))
let passcodeButton = applePayUI.buttons["Pay with Passcode"]
if !passcodeButton.exists {
print("Disable Touch ID or Face ID for Apple Pay")
return;
}
passcodeButton.tap()
let passcodeField = springboard.secureTextFields["Passcode field"]
XCTAssert(passcodeField.waitForExistence(timeout: 5))
passcodeField.tap()
passcodeField.typeText(passcode)
// Try: po applePayUI.debugDescription
print("自由发挥")
}
4 个赞
飞机哥真勤奋
感恩飞机哥
我也来试试
我在设置 faceID &passcode里关了 wallet&apple pay
还是assistivetouch那一块过不去= =
好像IOS端deploy XCUITest的app需要developer account?
门槛就是99刀/yr 哈哈哈
1 个赞
应该不至于 我记得现在只有testflight分发和正式上架需要付费
但是mac和一个iPhone是必须的
1 个赞
飞机哥我突发奇想
apple watch里的wallet不知道能不能成 ![]()
hmm 好像是 如果build locally的话 可能就不需要
安卓好像直接下个app就行了 ![]()
现在坐实了路老师确实是搞accessibility的。
我们都是accessibility苦逼人。
我还没有all in呢,你展开讲讲苦逼之处?
哦,我只是做不出来 ![]()
HCI吗
有人叫我嗎?我錯過了什麼?![]()
![]()
3 个赞
你错过了楼主
1 个赞
passcode可以自动输入? n部手机等于n线程,?
1 个赞
可以,我这成功了,楼上有代码。改改可以实现两张卡交替撸之类的操作
感觉得矜持一点,不然这车要翻了 ![]()
1 个赞
这两步实在是难以置信(
不过很多人应该懒得下载xcode懒得写UItest那一块(
