MCPcopy Create free account
hub / github.com/Rello/analytics / closeAnalyticsDialog

Function closeAnalyticsDialog

tests/playwright/common.js:758–764  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

756}
757
758async function closeAnalyticsDialog(page) {
759 await clickFirst(
760 page,
761 ['#analyticsDialogBtnGo', '.oc-dialog-buttonrow > .primary', 'button:has-text("OK")'],
762 'analytics dialog primary button'
763 );
764}
765
766async function chooseLocalFile(page, fileName) {
767 await page.locator('.dialog__name, .oc-dialog-title').filter({ hasText: 'Select file' }).first()

Calls 1

clickFirstFunction · 0.85

Tested by

no test coverage detected