How to use the testcafe.t.hover function in testcafe

To help you get started, we’ve selected a few testcafe examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GravityPDF / gravity-pdf / tests / e2e / page-model / helpers / pdf.js View on Github external
async navigateDeletePdfEntries (text, formName) {
    await t
      .useRole(admin)
      .navigateTo(`${baseURL}/wp-admin/admin.php?page=${text}`)
      .hover(formList(formName))
      .click(formEntries(formName))
      .hover(this.settingsMenu)
      .click(link('.gf_submenu', 'PDF'))
    let tempalte = await this.template.count
    if (tempalte > 0) {
      for (let i = 0; i < tempalte; i++) {
        await t
          .hover(this.template)
          .click(this.deletePDF)
          .click(this.confirmDelete)
          .wait(2000)
      }
    }
  }
}
github gridgain / gridgain / modules / web-console / e2e / testcafe / components / Table.js View on Github external
async performAction(label) {
        await t.hover(this.actionsButton).click(Selector('.dropdown-menu a').withText(label));
    }
github gridgain / gridgain / modules / web-console / e2e / testcafe / components / userMenu.js View on Github external
async clickOption(label) {
        return t
            .hover(this.button)
            .click(_selector.find(`[role="menuitem"]`).withText(label));
    }
};
github gridgain / gridgain / modules / web-console / e2e / testcafe / page-models / PageConfigurationBasic.js View on Github external
pickVersion(label) {
        return t
            .hover(this._selector)
            .click(this._selector.find('[role="menuitem"]').withText(label));
    }
}
github gentics / mesh-ui / testcafe / page-object / admin / permissions / permission-row.ts View on Github external
async applyRecursively() {
        await t.hover(this.elem);
        await t.click(Selector('gtx-button').withText('APPLY RECURSIVELY'));
    }
github frappe / video / lib / desk.js View on Github external
async hover_element(el, text, time = 1) {
		const element = await this.select_element(el, text);
		await t.hover(element);
		await this.pause(time);
	},