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

Function closeAnalyticsDialog

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

Source from the content-addressed store, hash-verified

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

Calls 1

clickFirstFunction · 0.85

Tested by

no test coverage detected