mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
11 lines
331 B
JavaScript
11 lines
331 B
JavaScript
//@ts-check
|
|
import { beforeMount, afterMount } from '@playwright/experimental-ct-vue/hooks';
|
|
|
|
beforeMount(async ({ app, hooksConfig }) => {
|
|
console.log(`Before mount: ${JSON.stringify(hooksConfig)}, app: ${!!app}`);
|
|
});
|
|
|
|
afterMount(async ({ instance }) => {
|
|
console.log(`After mount el: ${instance.$el.constructor.name}`);
|
|
});
|