Skip to content

Commit 482308a

Browse files
authored
Merge pull request #1475 from microting/fix/remove-obsolete-gsheet-assertion
fix(playwright): drop obsolete useGoogleSheetAsDefault toggle in (c)
2 parents 7b018ee + cf76e7c commit 482308a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

eform-client/playwright/e2e/plugins/time-planning-pn/c/dashboard-edit-a.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,9 @@ test.describe('Dashboard edit values', () => {
276276

277277
await page.locator('#firstColumn0').click();
278278

279-
const useGoogleSheetClass = await page.locator('#useGoogleSheetAsDefault > div > div > input').getAttribute('class');
280-
if (useGoogleSheetClass !== 'mdc-checkbox__native-control mdc-checkbox--selected') {
281-
await page.locator('#useGoogleSheetAsDefault').click();
282-
}
279+
// useGoogleSheetAsDefault is seeded true by default (commit e86d3a1b) and
280+
// its toggle is now first-user-only (commit c7732b40), so the prior
281+
// ensure-on block was unreachable for the admin CI user and timed out.
283282

284283
const autoBreakClass = await page.locator('#autoBreakCalculationActive > div > div > input').getAttribute('class');
285284
if (autoBreakClass !== 'mdc-checkbox__native-control mdc-checkbox--selected') {

0 commit comments

Comments
 (0)