2022-07-12 18:37:33 +02:00
|
|
|
//@ts-check
|
|
|
|
|
import { beforeMount, afterMount } from '@playwright/experimental-ct-vue/hooks';
|
2022-07-11 22:54:05 +02:00
|
|
|
|
2022-07-12 18:37:33 +02:00
|
|
|
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}`);
|
2022-07-11 22:54:05 +02:00
|
|
|
});
|