2022-07-12 18:37:33 +02:00
|
|
|
//@ts-check
|
2022-09-28 10:54:24 +02:00
|
|
|
import '../src/assets/index.css';
|
2022-07-12 18:37:33 +02:00
|
|
|
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}`);
|
|
|
|
|
});
|