Added QA & Prod variables
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
//profileAndMyProgress_spec.js
|
||||
//profileAndMyProgressWidgets_spec.js
|
||||
|
||||
describe('Profile And My Progress Widget Scripts', function () {
|
||||
//app-journeysmap landing page
|
||||
//login-journeysmap landing page
|
||||
var UserNameTextBox = element(by.css('#txtU'));
|
||||
var PasswordTextBox = element(by.css('#txtP'));
|
||||
|
||||
//Open browser
|
||||
//browser.driver.manage().window().setSize(1600, 800);
|
||||
browser.get('https://app-qa.journeysmap.com/Journey/index.html#/login').then(function() {
|
||||
browser.sleep(1000);
|
||||
});
|
||||
browser.get(browser.params.login);
|
||||
|
||||
it('should have a title', async function () {
|
||||
await expect(browser.getTitle()).toEqual('Login');
|
||||
@@ -26,7 +23,7 @@ describe('Profile And My Progress Widget Scripts', function () {
|
||||
|
||||
expect(await PageGreetingText.getText()).toEqual('Login and start exploring.');
|
||||
browser.sleep(2500);
|
||||
await UserNameTextBox.sendKeys('QA_AutomatedRegression').then(function() {
|
||||
await UserNameTextBox.sendKeys(browser.params.userName).then(function() {
|
||||
browser.sleep(2500);
|
||||
});
|
||||
await PasswordTextBox.sendKeys('3Dm!nAuto').then(function() {
|
||||
|
||||
Reference in New Issue
Block a user