This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Showing
20 changed files
with
182 additions
and
271 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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ echo "\nCreate Artifact project for project $CI_PROJECT_NAME and branch $CI_COMM | |
sshpass -p $PASS_DEPLOY ssh [email protected] -p $PORT_SSH_DOCKER -o StrictHostKeyChecking=no mkdir /deploy/project/artifactory/$CI_JOB_ID | ||
|
||
echo "\nTransfert Artifact project for project $CI_PROJECT_NAME and branch $CI_COMMIT_REF_SLUG" | ||
sshpass -p $PASS_DEPLOY scp -P $PORT_SSH_DOCKER -o StrictHostKeyChecking=no ./dist/*.tgz [email protected]:/deploy/project/artifactory/$CI_JOB_ID | ||
sshpass -p $PASS_DEPLOY scp -P $PORT_SSH_DOCKER -o StrictHostKeyChecking=no ./$CI_COMMIT_REF_SLUG/package/*.tgz [email protected]:/deploy/project/artifactory/$CI_JOB_ID | ||
|
||
echo "\nDeploy project in artifactory" | ||
docker exec $(docker ps | grep common-artifactory| awk '{print $1}') /tmp/jfrog rt u /deploy/project/artifactory/$CI_JOB_ID/*.tgz $CI_PROJECT_NAME/snapshot/ \ | ||
|
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/********************************************************************************************** | ||
* | ||
* VALIDATION TEST METHOD : SEPA DIRECT DEBIT | ||
* | ||
* To launch test, please pass two arguments URL (BASE URL) and TYPE_CC ( CB,VI,MC ) | ||
* | ||
/**********************************************************************************************/ | ||
|
||
var paymentType = "HiPay Enterprise SEPA Direct Debit"; | ||
|
||
casper.test.begin('Test Checkout ' + paymentType, function (test) { | ||
phantom.clearCookies(); | ||
|
||
casper.start(baseURL + "admin/") | ||
.then(function () { | ||
this.logToBackend(); | ||
method.proceed(test, paymentType, "sdd"); | ||
}) | ||
.thenOpen(baseURL, function () { | ||
this.waitUntilVisible('div.footer', function success() { | ||
this.selectItemAndOptions(); | ||
}, function fail() { | ||
test.assertVisible("div.footer", "'Footer' exists"); | ||
}, 10000); | ||
}) | ||
.then(function () { | ||
this.addItemGoCheckout(); | ||
}) | ||
.then(function () { | ||
this.checkoutMethod(); | ||
}) | ||
.then(function () { | ||
this.billingInformation(); | ||
}) | ||
.then(function () { | ||
this.shippingMethod(); | ||
}) | ||
.then(function () { | ||
this.choosingPaymentMethod('method_hipay_sdd'); | ||
}) | ||
.then(function() { | ||
this.echo("Filling payment formular sdd ", "INFO"); | ||
this.fillSelectors('form#co-payment-form', { | ||
'select[name="payment[cc_gender]"]': "M", | ||
'input[name="payment[cc_firstname]"]': "TEST", | ||
'input[name="payment[cc_lastname]"]': "TEST", | ||
'input[name="payment[cc_iban]"]': ibanNumber.gb, | ||
'input[name="payment[cc_code_bic]"]': bicNumber.gb, | ||
'input[name="payment[cc_bank_name]"]': "BANK TEST" | ||
}, false); | ||
this.click("div#payment-buttons-container>button"); | ||
test.info("Done"); | ||
}) | ||
.then(function () { | ||
this.orderReview(paymentType); | ||
}) | ||
.then(function () { | ||
test.info("Done"); | ||
this.orderResult(paymentType); | ||
}) | ||
.run(function () { | ||
test.done(); | ||
}); | ||
}); |
56 changes: 0 additions & 56 deletions
56
bin/tests/004_SEPA/1_frontend/WAIT0400-SEPA_ELEC_SIGN_OFF_FRONTEND.js
This file was deleted.
Oops, something went wrong.
65 changes: 0 additions & 65 deletions
65
bin/tests/004_SEPA/1_frontend/WAIT0401-SEPA_ELEC_SIGN_ON_FRONTEND.js
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.