We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 657184a commit 9c8a0f0Copy full SHA for 9c8a0f0
1 file changed
packages/app/tests/e2e/components/FilterComponent.ts
@@ -89,14 +89,19 @@ export class FilterComponent {
89
}
90
91
/**
92
- * Pin a filter value to persist it
+ * Pin a filter value personally (localStorage).
93
+ * Opens the PinShareMenu dropdown and clicks "Pin for me".
94
*/
95
async pinFilter(columnName: string, valueName: string) {
96
const filterCheckbox = this.getFilterCheckbox(columnName, valueName);
97
await this.scrollAndClick(
98
filterCheckbox,
99
`filter-checkbox-${columnName}-${valueName}-pin`,
100
);
101
+ // PinShareMenu opens a dropdown — click "Pin for me"
102
+ await this.page
103
+ .getByRole('menuitem', { name: 'Pin for me' })
104
+ .click({ timeout: 10000 });
105
106
107
0 commit comments