Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tests/e2e/common-actions/workbench-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ export class WorkbenchActions {
await t.click(workbenchPage.selectViewType)
.click(workbenchPage.viewTypeOptionClientList);
await t.switchToIframe(workbenchPage.iframe);
await t.expect(Selector('tbody tr').count).eql(numberOfRowsInTextView);
const paginationSelector = Selector('a[data-test-subj=pagination-button-next]');
const tableRow = Selector('tbody tr');
let rowCount = await tableRow.count;
if(await paginationSelector.visible) {
await t.click(paginationSelector);
rowCount += await tableRow.count;
}
await t.expect(rowCount).eql(numberOfRowsInTextView);
}
/**
Verify error message after `client list` command if there is no permission to run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ test
memoryLimitMeasurementUnit: 'mb',
free: 'true'
};
console.log('!!!!');
console.log(generateLink(connectUrlParams));

await t.navigateTo(generateLink(connectUrlParams));
await t.wait(10_000);
await t.expect(workbenchPage.submitCommandButton.exists).ok('Redirection to Workbench is not correct');
Expand Down