How to use the wix-ui-test-utils/base-driver.baseUniDriverFactory function in wix-ui-test-utils

To help you get started, we’ve selected a few wix-ui-test-utils 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 wix / wix-ui-tpa / src / components / Calendar / Grid / Weekly / Item / DefaultWeeklyItem.driver.ts View on Github external
export const itemDriverFactory = (base: UniDriver): itemDriver => {
  return {
    ...baseUniDriverFactory(base),
    // rowSpan: async () => {
    //   return Number(await base.attr(GridDataKeys.rowSpan));
    // },
    // columnSpan: async () => {
    //   return Number(await base.attr(GridDataKeys.columnSpan));
    // },
  };
};