|
@@ -140,7 +140,9 @@ describe('Application life cycle test SSO', function () {
|
|
|
}).then(function () {
|
|
|
return browser.findElement(by.name('subject')).sendKeys(USER_STORY_SUBJECT);
|
|
|
}).then(function () {
|
|
|
- return browser.findElement(by.xpath('//button[@title="Create"]')).sendKeys(Keys.ENTER);
|
|
|
+ return waitForElement(by.xpath('/html/body/div[2]/div/div/div[1]/form/div[2]/button'));
|
|
|
+ }).then(function () {
|
|
|
+ return browser.findElement(by.xpath('/html/body/div[2]/div/div/div[1]/form/div[2]/button')).sendKeys(Keys.ENTER);
|
|
|
}).then(function () {
|
|
|
return waitForElement(by.xpath('//span[text()[contains(., "' + USER_STORY_SUBJECT + '")]]'));
|
|
|
}).then(function () {
|