2022-07-12 09:37:33 -07:00

12 lines
313 B
JavaScript

//@ts-check
import { beforeMount, afterMount } from '@playwright/experimental-ct-vue2/hooks';
beforeMount(async ({ hooksConfig }) => {
console.log(`Before mount: ${JSON.stringify(hooksConfig)}`);
});
afterMount(async ({ instance }) => {
console.log(`After mount el: ${instance.$el.constructor.name}`);
});