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

Function closeAnalyticsDialog

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

Source from the content-addressed store, hash-verified

737}
738
739async function closeAnalyticsDialog(page) {
740 await clickFirst(
741 page,
742 ['#analyticsDialogBtnGo', '.oc-dialog-buttonrow > .primary', 'button:has-text("OK")'],
743 'analytics dialog primary button'
744 );
745}
746
747async function chooseLocalFile(page, fileName) {
748 await page.locator('.dialog__name, .oc-dialog-title').filter({ hasText: 'Select file' }).first()

Calls 1

clickFirstFunction · 0.85

Tested by

no test coverage detected