Merge branch 'main' into 'master'
Main
See merge request !6
Showing
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: Invoice with Paid=> Success', function() { | ||
| describe('case01: Invoice with Paid=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(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); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -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); | ||
| beforeEach(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); | ||
| beforeEach(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); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: Transaction with Succeeded=> Success', function() { | ||
| describe('case01: Transaction with Succeeded=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(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); | ||
| beforeEach(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); | ||
| beforeEach(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); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: update account info=> Success', function() { | ||
| describe('case01: update account info=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: cancel subscription in merchant=> Success', function() { | ||
| describe('case01: cancel subscription in merchant=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -178,7 +178,7 @@ describe('TS001: cancel subscription in merchant=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openUserUrl(Driver, "http://unibee:123456@localhost:8086/login/"); | ||
| await loginPage.openUserUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.user_email,20000); | ||
| ... | ... | @@ -220,11 +220,11 @@ describe('TS001: cancel subscription in merchant=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openMerchantUrl(Driver, "http://unibee:123456@localhost/plan/list/"); | ||
| await loginPage.openMerchantUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.email,20000); | ||
| await loginPage.loginMerchant(Driver, "[email protected]", "changeme") | ||
| await loginPage.loginMerchant(Driver) | ||
| await baseStep.wait(Driver, 1000); | ||
| await baseStep.waitUntilElement(Driver, MerchantSubscriptionPage.menu_subscription) | ||
| await baseStep.click(Driver, MerchantSubscriptionPage.menu_subscription); | ||
| ... | ... | @@ -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); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -407,7 +407,7 @@ describe('TS002: change subscription in merchant=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openUserUrl(Driver, "http://unibee:123456@localhost:8086/login/"); | ||
| await loginPage.openUserUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.user_email,20000); | ||
| ... | ... | @@ -449,11 +449,11 @@ describe('TS002: change subscription in merchant=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openMerchantUrl(Driver, "http://unibee:123456@localhost/plan/list/"); | ||
| await loginPage.openMerchantUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.email,20000); | ||
| await loginPage.loginMerchant(Driver, "[email protected]", "changeme") | ||
| await loginPage.loginMerchant(Driver, ) | ||
| await baseStep.wait(Driver, 1000); | ||
| await baseStep.waitUntilElement(Driver, MerchantSubscriptionPage.menu_subscription) | ||
| await baseStep.click(Driver, MerchantSubscriptionPage.menu_subscription); | ||
| ... | ... | @@ -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); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -641,7 +641,7 @@ describe('TS003: change Due date=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openUserUrl(Driver, "http://unibee:123456@localhost:8086/login/"); | ||
| await loginPage.openUserUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.user_email,20000); | ||
| ... | ... | @@ -683,11 +683,11 @@ describe('TS003: change Due date=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openMerchantUrl(Driver, "http://unibee:123456@localhost/plan/list/"); | ||
| await loginPage.openMerchantUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.email,20000); | ||
| await loginPage.loginMerchant(Driver, "[email protected]", "changeme") | ||
| await loginPage.loginMerchant(Driver) | ||
| await baseStep.wait(Driver, 1000); | ||
| await baseStep.waitUntilElement(Driver, MerchantSubscriptionPage.menu_subscription) | ||
| await baseStep.click(Driver, MerchantSubscriptionPage.menu_subscription); | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| 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); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -68,11 +68,11 @@ describe('TS001: add user in user list=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openMerchantUrl(Driver, "http://unibee:123456@localhost/plan/list/"); | ||
| await loginPage.openMerchantUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.email,20000); | ||
| await loginPage.loginMerchant(Driver, "[email protected]", "changeme") | ||
| await loginPage.loginMerchant(Driver) | ||
| await baseStep.wait(Driver, 1000); | ||
| await baseStep.waitUntilElement(Driver, userListPage.menu_user_list); | ||
| await baseStep.click(Driver, userListPage.menu_user_list); | ||
| ... | ... | @@ -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); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -160,11 +160,11 @@ describe('TS002: Assign subscription in user list=> Success', function() { |
| // login | ||
| Driver = driver.getDriver(webdriver, 'chrome'); | ||
| // Check Url | ||
| await loginPage.openMerchantUrl(Driver, "http://unibee:123456@localhost/plan/list/"); | ||
| await loginPage.openMerchantUrl(Driver); | ||
| const currentUrl = await Driver.getCurrentUrl(); | ||
| console.log('当前网址:', currentUrl); | ||
| await baseStep.waitUntilElement(Driver, loginPage.email,20000); | ||
| await loginPage.loginMerchant(Driver, "[email protected]", "changeme") | ||
| await loginPage.loginMerchant(Driver) | ||
| await baseStep.wait(Driver, 1000); | ||
| await baseStep.waitUntilElement(Driver, userListPage.menu_user_list); | ||
| await baseStep.click(Driver, userListPage.menu_user_list); | ||
| ... | ... |
| ... | ... | @@ -26,7 +26,7 @@ let savaPath = __dirname + "/../../Report/Web/ScreenShot/03_one_time_payment/" + |
| let testData = []; | ||
| 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); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: Invoice with Paid=> Success', function() { | ||
| describe('case01: Invoice with Paid=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(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); | ||
| beforeEach(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); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: Transaction with Succeeded=> Success', function() { | ||
| describe('case01: Transaction with Succeeded=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(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); | ||
| beforeEach(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); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -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 testData = []; | ||
| let testUser = "[email protected]"; | ||
| describe('TS001: Update account info=> Success', function() { | ||
| describe('case01: Update account info=> Success', function() { | ||
| this.timeout(9000000); | ||
| beforeEach(function () { | ||
| ... | ... |
| ... | ... | @@ -25,7 +25,7 @@ let savaPath = __dirname + "/../../Report/Web/ScreenShot/07_payment_preview/" + |
| let testData = []; | ||
| 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); | ||
| beforeEach(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); | ||
| beforeEach(function () { | ||
| ... | ... | @@ -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); | ||
| beforeEach(function () { | ||
| ... | ... |
Please
register
or
sign in
to comment