You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2017/10/06 17:54:37 UTC
zeppelin git commit: [ZEPPELIN-2975] Fix e2e CI test profile
Repository: zeppelin
Updated Branches:
refs/heads/master 540dd185d -> 0efb5a678
[ZEPPELIN-2975] Fix e2e CI test profile
### What is this PR for?
e2e CI test profile is failing after merge https://github.com/apache/zeppelin/pull/2569.
There were [css class list change] for paragraph add button element.
That results e2e test unable to locate the button element.
### What type of PR is it?
Bug Fix
### Todos
* [x] - Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2975
### How should this be tested?
CI green
### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no
Author: Lee moon soo <mo...@apache.org>
Closes #2609 from Leemoonsoo/fix/ci_selenium and squashes the following commits:
55ed404 [Lee moon soo] locate add paragraph button correctly after https://github.com/apache/zeppelin/pull/2569
Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/0efb5a67
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/0efb5a67
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/0efb5a67
Branch: refs/heads/master
Commit: 0efb5a678a184fa539b0faffd605dcf212ad8887
Parents: 540dd18
Author: Lee moon soo <mo...@apache.org>
Authored: Thu Oct 5 14:43:27 2017 -0700
Committer: Lee moon soo <mo...@apache.org>
Committed: Fri Oct 6 10:54:32 2017 -0700
----------------------------------------------------------------------
zeppelin-web/e2e/searchBlock.spec.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zeppelin/blob/0efb5a67/zeppelin-web/e2e/searchBlock.spec.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/e2e/searchBlock.spec.js b/zeppelin-web/e2e/searchBlock.spec.js
index 4a0ea48..570673b 100644
--- a/zeppelin-web/e2e/searchBlock.spec.js
+++ b/zeppelin-web/e2e/searchBlock.spec.js
@@ -99,7 +99,7 @@ describe('Search block e2e Test', function() {
waitVisibility(element(by.repeater('currentParagraph in note.paragraphs')))
browser.switchTo().activeElement().sendKeys(testData.textInFirstP)
let addBelow = element(
- by.xpath('//div[@class="new-paragraph" and @ng-click="insertNew(\'below\');"]'))
+ by.xpath('//div[@class="new-paragraph last-paragraph" and @ng-click="insertNew(\'below\');"]'))
clickAndWait(addBelow)
browser.switchTo().activeElement().sendKeys(testData.textInSecondP)
}
@@ -123,7 +123,6 @@ describe('Search block e2e Test', function() {
}
/*Tests*/
-
it('shortcut works', function() {
waitVisibility(element(by.repeater('currentParagraph in note.paragraphs')))
openSearchBoxByShortcut()