-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
772eff2
commit 50d017d
Showing
7 changed files
with
102 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('Bancontact Payment'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -33,7 +33,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('Bancontact SEPA Direct Debit set up'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]', buttonText: 'Save' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -45,7 +45,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('EPS'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -57,7 +57,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('FPX'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
|
||
|
@@ -74,7 +74,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('Przelewy24'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -86,7 +86,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('giropay'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -98,7 +98,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('iDEAL payment'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ | ||
email: '[email protected]', | ||
|
@@ -113,7 +113,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('iDEAL SEPA Direct Debit set up'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ | ||
email: '[email protected]', | ||
|
@@ -130,7 +130,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('Sofort'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -142,7 +142,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Bank redirects'); | ||
homeScreen.goTo('Sofort SEPA Direct Debit set up'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]', buttonText: 'Save' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -165,7 +165,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Vouchers'); | ||
homeScreen.goTo('OXXO'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
driver.pause(3000); | ||
|
@@ -180,7 +180,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Wallets'); | ||
homeScreen.goTo('Alipay'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -192,7 +192,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('Wallets'); | ||
homeScreen.goTo('GrabPay'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
BasicPaymentScreen.authorize(); | ||
|
@@ -204,7 +204,7 @@ describe('Example app payments scenarios (android)', () => { | |
homeScreen.goTo('More payment scenarios'); | ||
homeScreen.goTo('Recollect a CVC'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
getTextInputByPlaceholder('E-mail').setValue('[email protected]'); | ||
getTextInputByPlaceholder('CVC').setValue('123'); | ||
|
@@ -215,7 +215,7 @@ describe('Example app payments scenarios (android)', () => { | |
driver.back(); | ||
const alert = getElementByText('Success'); | ||
alert.waitForDisplayed({ | ||
timeout: 15000, | ||
timeout: 30000, | ||
}); | ||
expect(alert.getText()).toEqual('Success'); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ describe('Example app payments scenarios (common)', () => { | |
// homeScreen.goTo('Wallets'); | ||
// homeScreen.goTo('WeChat Pay'); | ||
|
||
// $('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
// $('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
// BasicPaymentScreen.pay({ email: '[email protected]' }); | ||
|
||
|
@@ -65,7 +65,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('Bank Debits'); | ||
homeScreen.goTo('BECS Direct Debit set up'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BECSForm.setName('stripe'); | ||
BECSForm.setEmail('[email protected]'); | ||
|
@@ -89,7 +89,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('Bank Debits'); | ||
homeScreen.goTo('SEPA Direct Debit payment'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ | ||
email: '[email protected]', | ||
|
@@ -103,7 +103,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('Bank Debits'); | ||
homeScreen.goTo('SEPA Direct Debit set up'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
BasicPaymentScreen.pay({ | ||
email: '[email protected]', | ||
|
@@ -118,7 +118,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('Accept a payment'); | ||
homeScreen.goTo('Card element only'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
cardField.setCardNumber('4242424242424242'); | ||
cardField.setExpiryDate('12/22'); | ||
|
@@ -140,7 +140,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('More payment scenarios'); | ||
homeScreen.goTo('Set up future payments'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
getTextInputByPlaceholder('E-mail').setValue('[email protected]'); | ||
|
||
|
@@ -161,7 +161,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('More payment scenarios'); | ||
homeScreen.goTo('Finalize payments on the server'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
cardField.setCardNumber('4242424242424242'); | ||
cardField.setExpiryDate('12/22'); | ||
|
@@ -180,7 +180,7 @@ describe('Example app payments scenarios (common)', () => { | |
homeScreen.goTo('More payment scenarios'); | ||
homeScreen.goTo('Recollect a CVC'); | ||
|
||
$('~payment-screen').waitForDisplayed({ timeout: 15000 }); | ||
$('~payment-screen').waitForDisplayed({ timeout: 30000 }); | ||
|
||
getTextInputByPlaceholder('E-mail').setValue('[email protected]'); | ||
getTextInputByPlaceholder('CVC').setValue('123'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3220,6 +3220,11 @@ | |
"@wdio/types" "7.8.0" | ||
p-iteration "^1.1.8" | ||
|
||
"@xmldom/xmldom@^0.x": | ||
version "0.8.0" | ||
resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.0.tgz#9f83fd9b3506c9603baad67e44eb6e6ee8eee0ce" | ||
integrity sha512-7wVnF+rKrVDEo1xjzkkidTG0grclaVnX0vKa0z9JSXcEdtftUJjvU33jLGg6SHyvs3eeqEsI7jZ6NxYfRypEEg== | ||
|
||
JSONStream@^1.0.4: | ||
version "1.3.5" | ||
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" | ||
|
@@ -3733,6 +3738,18 @@ appium-ios-device@^1.5.0, appium-ios-device@^1.7.0, appium-ios-device@^1.7.1: | |
semver "^7.0.0" | ||
source-map-support "^0.5.5" | ||
|
||
appium-ios-device@^1.8.0: | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/appium-ios-device/-/appium-ios-device-1.8.0.tgz#268801421719ba17c86eab6125e29dd4de553c87" | ||
integrity sha512-l4PVO0RSCsgd9wLiHhpBOlCP2wM0ND3+9+UMKP72c3qaaC2JxEqiKNIoc0r/jW7D5/Aoh/MtTT2yFHvqtZ0r/Q== | ||
dependencies: | ||
"@babel/runtime" "^7.0.0" | ||
appium-support "^2.35.0" | ||
bluebird "^3.1.1" | ||
lodash "^4.17.15" | ||
semver "^7.0.0" | ||
source-map-support "^0.5.5" | ||
|
||
[email protected]: | ||
version "4.8.3" | ||
resolved "https://registry.yarnpkg.com/appium-ios-driver/-/appium-ios-driver-4.8.3.tgz#4b0423188b2e354dd6c24a0b9f7b1f08589df00d" | ||
|
@@ -3967,6 +3984,24 @@ appium-webdriveragent@^3.12.0: | |
source-map-support "^0.5.12" | ||
teen_process "^1.14.1" | ||
|
||
appium-webdriveragent@^3.16.0: | ||
version "3.16.0" | ||
resolved "https://registry.yarnpkg.com/appium-webdriveragent/-/appium-webdriveragent-3.16.0.tgz#cc2deeb258e619b7a63cc5e90b77358a32bd44fe" | ||
integrity sha512-9yL5s48GqiQBqwwgmzgGk8BUAYZqmAvdVFoVwU/UcEeg6VvXA8UxwuFU087UmbzxF6XeJZDgI3Aa96kFEt2UjA== | ||
dependencies: | ||
"@babel/runtime" "^7.0.0" | ||
appium-base-driver "^7.0.0" | ||
appium-ios-simulator "^3.14.0" | ||
appium-support "^2.46.0" | ||
async-lock "^1.0.0" | ||
asyncbox "^2.5.3" | ||
axios "^0.x" | ||
bluebird "^3.5.5" | ||
lodash "^4.17.11" | ||
node-simctl "^6.0.2" | ||
source-map-support "^0.5.12" | ||
teen_process "^1.14.1" | ||
|
||
[email protected]: | ||
version "1.19.0" | ||
resolved "https://registry.yarnpkg.com/appium-windows-driver/-/appium-windows-driver-1.19.0.tgz#ba973c5e0631ce64759a0e1bcf3f659a1fb30961" | ||
|
@@ -3996,7 +4031,7 @@ appium-xcode@^3.0.0, appium-xcode@^3.1.0, appium-xcode@^3.8.0: | |
source-map-support "^0.5.5" | ||
teen_process "^1.3.0" | ||
|
||
appium-xcuitest-driver@^3.17.0, appium-xcuitest-driver@^3.27.4, appium-xcuitest-driver@^3.27.6: | ||
appium-xcuitest-driver@^3.17.0, appium-xcuitest-driver@^3.27.4: | ||
version "3.50.2" | ||
resolved "https://registry.yarnpkg.com/appium-xcuitest-driver/-/appium-xcuitest-driver-3.50.2.tgz#535421ea4f562593a97358269c845ef2a56ed9a4" | ||
integrity sha512-SusAuTj6ESKrCC60tUwhjYpAs9Re2TyMD5RuUKDe7L10Zg+YqxaFicrLXhao3B1eRjhbP1of/bn2Q6ZK8Zvjww== | ||
|
@@ -4026,6 +4061,37 @@ appium-xcuitest-driver@^3.17.0, appium-xcuitest-driver@^3.27.4, appium-xcuitest- | |
ws "^8.0.0" | ||
xmldom "^0.x" | ||
|
||
appium-xcuitest-driver@^3.59.0: | ||
version "3.62.0" | ||
resolved "https://registry.yarnpkg.com/appium-xcuitest-driver/-/appium-xcuitest-driver-3.62.0.tgz#fe0170fca15bf4904561022b812354fcbac6ba18" | ||
integrity sha512-ABF1bIZfLA3ufO84LJlWeNVMHnooBuVh02scGIyEJwEqN5LDDqcJmg33CRlQTTQMu3jbEII6hiwd1VUAdDf+4w== | ||
dependencies: | ||
"@babel/runtime" "^7.0.0" | ||
"@xmldom/xmldom" "^0.x" | ||
appium-base-driver "^7.0.0" | ||
appium-idb "^0.x" | ||
appium-ios-device "^1.8.0" | ||
appium-ios-simulator "^3.28.0" | ||
appium-remote-debugger "^8.13.2" | ||
appium-support "^2.47.1" | ||
appium-webdriveragent "^3.16.0" | ||
appium-xcode "^3.8.0" | ||
async-lock "^1.0.0" | ||
asyncbox "^2.3.1" | ||
bluebird "^3.5.1" | ||
css-selector-parser "^1.4.1" | ||
js2xmlparser2 "^0.x" | ||
lodash "^4.17.10" | ||
lru-cache "^6.0.0" | ||
moment "^2.24.0" | ||
moment-timezone "^0.x" | ||
node-simctl "^6.4.0" | ||
portscanner "2.2.0" | ||
semver "^7.0.0" | ||
source-map-support "^0.x" | ||
teen_process "^1.14.0" | ||
ws "^8.0.0" | ||
|
||
appium-youiengine-driver@^1.2.8: | ||
version "1.2.9" | ||
resolved "https://registry.yarnpkg.com/appium-youiengine-driver/-/appium-youiengine-driver-1.2.9.tgz#cf1e1282ed411d9d449d3c2d94b4958b1ed49cd4" | ||
|
@@ -4047,10 +4113,10 @@ appium-youiengine-driver@^1.2.8: | |
source-map-support "^0.5.19" | ||
teen_process "^1.15.0" | ||
|
||
appium@^1.21.0: | ||
version "1.21.0" | ||
resolved "https://registry.yarnpkg.com/appium/-/appium-1.21.0.tgz#7d0aba93065f2a583e33c510187b28d4fc3f2e0a" | ||
integrity sha512-aSFz8Bu7hzvNPFYeYlJbCFh8mSCu1S4tkDXTs077PdgKIg8mMdPLzZR1nZtsmdhNpLCdobPWJqPBJ+9xXfVYQA== | ||
appium@^1.22.1: | ||
version "1.22.2" | ||
resolved "https://registry.yarnpkg.com/appium/-/appium-1.22.2.tgz#07e1c898689f6e3833e36c9c2523d3cc14c54680" | ||
integrity sha512-ihIfMmLyCB8IWIvtrOcpR4Z8KX4ONcxvyqgrND49bdsYMo6xKP8AFYOb4wfuWOnJvTRdHXWYBGzR6EAoyC6Cxw== | ||
dependencies: | ||
"@babel/runtime" "^7.6.0" | ||
appium-android-driver "^4.20.0" | ||
|
@@ -4067,7 +4133,7 @@ appium@^1.21.0: | |
appium-tizen-driver "^1.1.1-beta.4" | ||
appium-uiautomator2-driver "^1.37.1" | ||
appium-windows-driver "1.x" | ||
appium-xcuitest-driver "^3.27.6" | ||
appium-xcuitest-driver "^3.59.0" | ||
appium-youiengine-driver "^1.2.8" | ||
argparse "^2.0.1" | ||
async-lock "^1.0.0" | ||
|
@@ -9318,7 +9384,7 @@ js-yaml@^3.13.1: | |
argparse "^1.0.7" | ||
esprima "^4.0.0" | ||
|
||
js2xmlparser2@^0.2.0: | ||
js2xmlparser2@^0.2.0, js2xmlparser2@^0.x: | ||
version "0.2.0" | ||
resolved "https://registry.yarnpkg.com/js2xmlparser2/-/js2xmlparser2-0.2.0.tgz#a7ca2089b83d02331d631892dd6743864125033f" | ||
integrity sha1-p8ogibg9AjMdYxiS3WdDhkElAz8= | ||
|