Commit f5d7ff8a authored by YuShijiaCode's avatar YuShijiaCode

update case number

parent 704fd2df
const baseStep = require("../../CommonStep/Web/Web_Common_Step");
const webdriver = require('selenium-webdriver');
const {expect} = require("chai");
const By = webdriver.By;
class MerchantMyAccountPage {
menu_My_Account= '//*[@class="ant-menu-title-content" and text()="My Account"]'
company_name = '//*[@id="company-info-form_companyName"]'
physical_address = '//*[@id="company-info-form_address"]'
company_email = '//*[@id="company-info-form_email"]'
company_phone = '//*[@id="company-info-form_phone"]'
save_btn = '//*[text()="Save"]'
first_name = '//*[@id="merchant-user-profile_firstName"]'
last_name = '//*[@id="merchant-user-profile_lastName"]'
Email = '//*[@id="merchant-user-profile_email"]'
mobile = '//*[@id="merchant-user-profile_mobile"]'
Roles = '//*[@title="Roles"]/../following-sibling::div//span'
}
module.exports = new MerchantMyAccountPage();
...@@ -15,7 +15,7 @@ class UserPlanPage { ...@@ -15,7 +15,7 @@ class UserPlanPage {
crypto_currency = '//*[@for="crypto-payment"]' crypto_currency = '//*[@for="crypto-payment"]'
OK_btn = '//*[@class="confirm-btn-wrapper"]//span[text()="OK"]' OK_btn = '//*[@class="confirm-btn-wrapper"]//span[text()="OK"]'
one_time_OK_btn = '//*[@class="modal-content-wrapper"]//span[text()="OK"]' one_time_OK_btn = '//*[@class="modal-content-wrapper"]//span[text()="OK"]'
change_card_btn = '//*[@id="root"]/div/div/div[2]/main/div/div[2]/form/div[1]/div/div/div[2]/div/div/div[1]/div[2]/div[2]/div/div/div[2]/div/div[2]/button/div' change_card_btn = '(//button)[1]'
pay_btn = '//button/div[3]' pay_btn = '//button/div[3]'
card_number = '//*[@id="cardNumber"]' card_number = '//*[@id="cardNumber"]'
card_expiry = '//*[@id="cardExpiry"]' card_expiry = '//*[@id="cardExpiry"]'
......
...@@ -15,7 +15,7 @@ let Driver; ...@@ -15,7 +15,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/01_Login/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/01_Login/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
describe('Login in Merchant Portal=> Success', function() { describe('case01: Login in Merchant Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -87,7 +87,7 @@ describe('Login in Merchant Portal=> Success', function() { ...@@ -87,7 +87,7 @@ describe('Login in Merchant Portal=> Success', function() {
}); });
describe('Login failed with wrong password in Merchant Portal=> Success', function() { describe('case02: Login failed with wrong password in Merchant Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -158,7 +158,7 @@ describe('Login failed with wrong password in Merchant Portal=> Success', functi ...@@ -158,7 +158,7 @@ describe('Login failed with wrong password in Merchant Portal=> Success', functi
}); });
describe('Login failed with wrong email in Merchant Portal=> Success', function() { describe('case03: Login failed with wrong email in Merchant Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -229,7 +229,7 @@ describe('Login failed with wrong email in Merchant Portal=> Success', function( ...@@ -229,7 +229,7 @@ describe('Login failed with wrong email in Merchant Portal=> Success', function(
}); });
describe('Login failed with empty email and password in Merchant Portal=> Success', function() { describe('case04: Login failed with empty email and password in Merchant Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
......
...@@ -476,7 +476,6 @@ describe('case05: create a new plan in Merchant Portal, Allow Trial = True bill ...@@ -476,7 +476,6 @@ describe('case05: create a new plan in Merchant Portal, Allow Trial = True bill
}); });
describe('case06: create a add on in Merchant Portal, => Success', function() { describe('case06: create a add on in Merchant Portal, => Success', function() {
this.timeout(100000); this.timeout(100000);
......
...@@ -16,7 +16,7 @@ let Driver; ...@@ -16,7 +16,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/03_billable_metric/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/03_billable_metric/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
describe('Add billable metric in Merchant Portal, Aggregation Type = count=> Success', function() { describe('case01: Add billable metric in Merchant Portal, Aggregation Type = count=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -96,7 +96,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = count=> Suc ...@@ -96,7 +96,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = count=> Suc
}); });
describe('Add billable metric in Merchant Portal, Aggregation Type = count unique=> Success', function() { describe('case02: Add billable metric in Merchant Portal, Aggregation Type = count unique=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -177,7 +177,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = count uniqu ...@@ -177,7 +177,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = count uniqu
}); });
describe('Add billable metric in Merchant Portal, Aggregation Type = latest=> Success', function() { describe('case03: Add billable metric in Merchant Portal, Aggregation Type = latest=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -258,7 +258,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = latest=> Su ...@@ -258,7 +258,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = latest=> Su
}); });
describe('Add billable metric in Merchant Portal, Aggregation Type = max=> Success', function() { describe('case04: Add billable metric in Merchant Portal, Aggregation Type = max=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -339,7 +339,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = max=> Succe ...@@ -339,7 +339,7 @@ describe('Add billable metric in Merchant Portal, Aggregation Type = max=> Succe
}); });
describe('Add billable metric in Merchant Portal, Aggregation Type = sum=> Success', function() { describe('case05: Add billable metric in Merchant Portal, Aggregation Type = sum=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
......
...@@ -16,7 +16,7 @@ let Driver; ...@@ -16,7 +16,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/04_discount_code/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/04_discount_code/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
describe('Add discount code in Merchant Portal, one time use, percentage=> Success', function() { describe('case01: Add discount code in Merchant Portal, one time use, percentage=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -103,7 +103,7 @@ describe('Add discount code in Merchant Portal, one time use, percentage=> Succe ...@@ -103,7 +103,7 @@ describe('Add discount code in Merchant Portal, one time use, percentage=> Succe
}) })
describe('Add discount code in Merchant Portal, Recurring, percentage=> Success', function() { describe('case02: Add discount code in Merchant Portal, Recurring, percentage=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -191,7 +191,7 @@ describe('Add discount code in Merchant Portal, Recurring, percentage=> Success' ...@@ -191,7 +191,7 @@ describe('Add discount code in Merchant Portal, Recurring, percentage=> Success'
}); });
describe('Add discount code in Merchant Portal, one time use, fixed amount=> Success', function() { describe('case03: Add discount code in Merchant Portal, one time use, fixed amount=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -279,7 +279,7 @@ describe('Add discount code in Merchant Portal, one time use, fixed amount=> Suc ...@@ -279,7 +279,7 @@ describe('Add discount code in Merchant Portal, one time use, fixed amount=> Suc
}) })
describe('Add discount code in Merchant Portal, Recurring, fixed amount=> Success', function() { describe('case04: Add discount code in Merchant Portal, Recurring, fixed amount=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
......
...@@ -25,7 +25,7 @@ let Driver; ...@@ -25,7 +25,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/05_Invoice/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/05_Invoice/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: Invoice with Paid=> Success', function() { describe('case01: Invoice with Paid=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -256,7 +256,7 @@ describe('TS001: Invoice with Paid=> Success', function() { ...@@ -256,7 +256,7 @@ describe('TS001: Invoice with Paid=> Success', function() {
}); });
describe('TS002: Invoice with Processing and paid (wire transfer)=> Success', function() { describe('case02: Invoice with Processing and paid (wire transfer)=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -490,7 +490,7 @@ describe('TS002: Invoice with Processing and paid (wire transfer)=> Success', fu ...@@ -490,7 +490,7 @@ describe('TS002: Invoice with Processing and paid (wire transfer)=> Success', fu
}); });
describe('TS003: Invoice with cancelled=> Success', function() { describe('case03: Invoice with cancelled=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -713,7 +713,7 @@ describe('TS003: Invoice with cancelled=> Success', function() { ...@@ -713,7 +713,7 @@ describe('TS003: Invoice with cancelled=> Success', function() {
}); });
describe('TS004: refund with stripe=> Success', function() { describe('case04: refund with stripe=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -946,7 +946,7 @@ describe('TS004: refund with stripe=> Success', function() { ...@@ -946,7 +946,7 @@ describe('TS004: refund with stripe=> Success', function() {
}); });
describe('TS005: refund with wire transfer=> Success', function() { describe('case05: refund with wire transfer=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -26,7 +26,7 @@ let Driver; ...@@ -26,7 +26,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/06_Transaction/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/06_Transaction/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: Transaction with Succeeded=> Success', function() { describe('case01: Transaction with Succeeded=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -248,7 +248,7 @@ describe('TS001: Transaction with Succeeded=> Success', function() { ...@@ -248,7 +248,7 @@ describe('TS001: Transaction with Succeeded=> Success', function() {
}); });
describe('TS002: Transaction with Pending=> Success', function() { describe('case02: Transaction with Pending=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -465,7 +465,7 @@ describe('TS002: Transaction with Pending=> Success', function() { ...@@ -465,7 +465,7 @@ describe('TS002: Transaction with Pending=> Success', function() {
}); });
describe('TS003: Transaction with Failed=> Success', function() { describe('case03: Transaction with Failed=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -684,7 +684,7 @@ describe('TS003: Transaction with Failed=> Success', function() { ...@@ -684,7 +684,7 @@ describe('TS003: Transaction with Failed=> Success', function() {
}); });
describe('TS004: Transaction with refund => Success', function() { describe('case04: Transaction with refund => Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -27,7 +27,7 @@ let Driver; ...@@ -27,7 +27,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/07_Account_info/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/07_Account_info/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: update account info=> Success', function() { describe('case01: update account info=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -27,7 +27,7 @@ let Driver; ...@@ -27,7 +27,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/08_Subscription/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/08_Subscription/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: cancel subscription in merchant=> Success', function() { describe('case01: cancel subscription in merchant=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -256,7 +256,7 @@ describe('TS001: cancel subscription in merchant=> Success', function() { ...@@ -256,7 +256,7 @@ describe('TS001: cancel subscription in merchant=> Success', function() {
}); });
describe('TS002: change subscription in merchant=> Success', function() { describe('case02: change subscription in merchant=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -490,7 +490,7 @@ describe('TS002: change subscription in merchant=> Success', function() { ...@@ -490,7 +490,7 @@ describe('TS002: change subscription in merchant=> Success', function() {
}); });
describe('TS003: change Due date=> Success', function() { describe('case03: change Due date=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -25,7 +25,7 @@ let Driver; ...@@ -25,7 +25,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/09_user_list/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/09_user_list/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: add user in user list=> Success', function() { describe('case01: add user in user list=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -117,7 +117,7 @@ describe('TS001: add user in user list=> Success', function() { ...@@ -117,7 +117,7 @@ describe('TS001: add user in user list=> Success', function() {
}); });
describe('TS002: Assign subscription in user list=> Success', function() { describe('case02: Assign subscription in user list=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -15,7 +15,7 @@ let Driver; ...@@ -15,7 +15,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/01_Login_user/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/01_Login_user/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
describe('Login in User portal=> Success', function() { describe('case01: Login in User portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -88,7 +88,7 @@ describe('Login in User portal=> Success', function() { ...@@ -88,7 +88,7 @@ describe('Login in User portal=> Success', function() {
}); });
describe('Login failed with wrong password in user Portal=> Success', function() { describe('case02: Login failed with wrong password in user Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -157,7 +157,7 @@ describe('Login failed with wrong password in user Portal=> Success', function() ...@@ -157,7 +157,7 @@ describe('Login failed with wrong password in user Portal=> Success', function()
}); });
describe('Login failed with wrong email in User Portal=> Success', function() { describe('case03: Login failed with wrong email in User Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
...@@ -226,7 +226,7 @@ describe('Login failed with wrong email in User Portal=> Success', function() { ...@@ -226,7 +226,7 @@ describe('Login failed with wrong email in User Portal=> Success', function() {
}); });
describe('Login failed with empty email and password in user Portal=> Success', function() { describe('case04: Login failed with empty email and password in user Portal=> Success', function() {
this.timeout(100000); this.timeout(100000);
beforeEach(function () { beforeEach(function () {
......
...@@ -168,7 +168,7 @@ describe('Cancel the subscription', function() { ...@@ -168,7 +168,7 @@ describe('Cancel the subscription', function() {
}); });
}); });
describe('TS001: Purchase plan with credit card=> Success', function() { describe('case01: Purchase plan with credit card=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -361,7 +361,7 @@ describe('TS001: Purchase plan with credit card=> Success', function() { ...@@ -361,7 +361,7 @@ describe('TS001: Purchase plan with credit card=> Success', function() {
}); });
describe('TS002: Purchase plan with wire transfer and not finish=> Success', function() { describe('case02: Purchase plan with wire transfer and not finish=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -546,7 +546,7 @@ describe('TS002: Purchase plan with wire transfer and not finish=> Success', fun ...@@ -546,7 +546,7 @@ describe('TS002: Purchase plan with wire transfer and not finish=> Success', fun
}); });
describe('TS003: Purchase plan with wire transfer and finished=> Success', function() { describe('case03: Purchase plan with wire transfer and finished=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -26,7 +26,7 @@ let savaPath = __dirname + "/../../Report/Web/ScreenShot/03_one_time_payment/" + ...@@ -26,7 +26,7 @@ let savaPath = __dirname + "/../../Report/Web/ScreenShot/03_one_time_payment/" +
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('Purchase one time addon with credit card=> Success', function() { describe('case01: Purchase one time addon with credit card=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -25,7 +25,7 @@ let Driver; ...@@ -25,7 +25,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/04_user_invoice/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/04_user_invoice/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: Invoice with Paid=> Success', function() { describe('case01: Invoice with Paid=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -231,7 +231,7 @@ describe('TS001: Invoice with Paid=> Success', function() { ...@@ -231,7 +231,7 @@ describe('TS001: Invoice with Paid=> Success', function() {
}); });
describe('TS001: Invoice with Processing=> Success', function() { describe('case02: Invoice with Processing=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -427,7 +427,7 @@ describe('TS001: Invoice with Processing=> Success', function() { ...@@ -427,7 +427,7 @@ describe('TS001: Invoice with Processing=> Success', function() {
}); });
describe('TS001: Invoice with cancelled=> Success', function() { describe('case03: Invoice with cancelled=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -26,7 +26,7 @@ let Driver; ...@@ -26,7 +26,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/05_User_transaction/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/05_User_transaction/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: Transaction with Succeeded=> Success', function() { describe('case01: Transaction with Succeeded=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -226,7 +226,7 @@ describe('TS001: Transaction with Succeeded=> Success', function() { ...@@ -226,7 +226,7 @@ describe('TS001: Transaction with Succeeded=> Success', function() {
}); });
describe('TS002: Transaction with Pending=> Success', function() { describe('case02: Transaction with Pending=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -417,7 +417,7 @@ describe('TS002: Transaction with Pending=> Success', function() { ...@@ -417,7 +417,7 @@ describe('TS002: Transaction with Pending=> Success', function() {
}); });
describe('TS002: Transaction with Failed=> Success', function() { describe('case03: Transaction with Failed=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -27,7 +27,7 @@ let Driver; ...@@ -27,7 +27,7 @@ let Driver;
let savaPath = __dirname + "/../../Report/Web/ScreenShot/06_User_my_account/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss"); let savaPath = __dirname + "/../../Report/Web/ScreenShot/06_User_my_account/" + baseStep.getDateFormat(new Date(),"YYYY-MM-DD_HH:mm:ss");
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: Update account info=> Success', function() { describe('case01: Update account info=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
...@@ -25,7 +25,7 @@ let savaPath = __dirname + "/../../Report/Web/ScreenShot/07_payment_preview/" + ...@@ -25,7 +25,7 @@ let savaPath = __dirname + "/../../Report/Web/ScreenShot/07_payment_preview/" +
let testData = []; let testData = [];
let testUser = "[email protected]"; let testUser = "[email protected]";
describe('TS001: purchase with a vat number=> Success', function() { describe('case01: purchase with a vat number=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -214,7 +214,7 @@ describe('TS001: purchase with a vat number=> Success', function() { ...@@ -214,7 +214,7 @@ describe('TS001: purchase with a vat number=> Success', function() {
}); });
describe('TS002: Check the different taxes under different countries=> Success', function() { describe('case02: Check the different taxes under different countries=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
...@@ -426,7 +426,7 @@ describe('TS002: Check the different taxes under different countries=> Success', ...@@ -426,7 +426,7 @@ describe('TS002: Check the different taxes under different countries=> Success',
}); });
describe('TS001: purchase with a discount code=> Success', function() { describe('case03: purchase with a discount code=> Success', function() {
this.timeout(9000000); this.timeout(9000000);
beforeEach(function () { beforeEach(function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment