import * as __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__ from "@tachybase/test/e2e";
(0, __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('tabs', async (param)=>{
    let { page, mockPage } = param;
    await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.twoTabsPage).goto();
    let tab1Box = await page.getByText('tab 1').boundingBox();
    let tab2Box = await page.getByText('tab 2').boundingBox();
    (0, __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(tab1Box.x).toBeLessThan(tab2Box.x);
    await page.getByText('tab 1').hover();
    await page.getByRole('button', {
        name: 'designer-drag-handler-Page-tab'
    }).dragTo(page.getByText('tab 2'));
    await (0, __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByText('tab 1')).toBeVisible();
    tab1Box = await page.getByText('tab 1').boundingBox();
    tab2Box = await page.getByText('tab 2').boundingBox();
    (0, __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(tab2Box.x).toBeLessThan(tab1Box.x);
});
