(section: ReturnType<Page['locator']>)
| 7539 | } |
| 7540 | |
| 7541 | async function expandSettingsSection(section: ReturnType<Page['locator']>): Promise<void> { |
| 7542 | await section.scrollIntoViewIfNeeded(); |
| 7543 | const isCollapsed = await section.evaluate((el) => |
| 7544 | el.classList.contains('tasknotes-settings__collapsible-section--collapsed') |
| 7545 | ); |
| 7546 | if (isCollapsed) { |
| 7547 | await section.locator('.tasknotes-settings__collapsible-section-header').first().click(); |
| 7548 | await expect(section).not.toHaveClass(/tasknotes-settings__collapsible-section--collapsed/); |
| 7549 | } |
| 7550 | } |
| 7551 | |
| 7552 | test.describe('Issue #1419: Custom statuses not saving', () => { |
| 7553 | test('should persist new custom status values after closing and reopening settings', async () => { |
no test coverage detected