Skip to content

Commit

Permalink
Update helper to open rows per page button
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Nov 8, 2024
1 parent 8590650 commit cf50614
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/functional/services/inspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ export class InspectorService extends FtrService {
* @param size rows count
*/
public async setTablePageSize(size: number): Promise<void> {
const panel = await this.testSubjects.find('inspectorPanel');
await this.find.clickByButtonText('Rows per page: 20', panel);
await this.testSubjects.click('tablePaginationPopoverButton');
// The buttons for setting table page size are in a popover element. This popover
// element appears as if it's part of the inspectorPanel but it's really attached
// to the body element by a portal.
Expand Down

0 comments on commit cf50614

Please sign in to comment.