|
|
|
@ -126,6 +126,7 @@ const tests = { |
|
|
|
|
.click('*[data-id="load-more-commits"]') |
|
|
|
|
.waitForElementVisible('*[data-id="loader-indicator"]') |
|
|
|
|
.waitForElementNotPresent('*[data-id="loader-indicator"]') |
|
|
|
|
.pause(2000) |
|
|
|
|
.elements('xpath', '//*[@data-id="commits-current-branch-master"]//*[@data-type="commit-summary"]', function (result) { |
|
|
|
|
console.log('Number of commit-summary elements:', (result.value as any).length); |
|
|
|
|
browser.assert.ok((result.value as any).length > commitCount) |
|
|
|
@ -157,6 +158,7 @@ const tests = { |
|
|
|
|
.click('*[data-id="remote-sync-origin"]') |
|
|
|
|
.waitForElementVisible('*[data-id="loader-indicator"]') |
|
|
|
|
.waitForElementNotPresent('*[data-id="loader-indicator"]') |
|
|
|
|
.pause(2000) |
|
|
|
|
.elements('xpath', '//*[@data-id="branches-panel-content-remote-branches"]//*[@data-type="branches-branch"]', function (result) { |
|
|
|
|
console.log('Number of branches elements:', (result.value as any).length); |
|
|
|
|
browser.assert.ok((result.value as any).length > branchCount) |
|
|
|
|