"use strict";
var __webpack_exports__ = {};
const e2e_namespaceObject = require("@tachybase/test/e2e");
(0, e2e_namespaceObject.test)('fields', async (param)=>{
    let { page, mockPage } = param;
    await mockPage(e2e_namespaceObject.oneFormBlockBasedOnUsers).goto();
    await page.getByLabel('schema-initializer-Grid-form:configureFields-users').hover();
    await page.getByRole('menuitem', {
        name: 'Nickname'
    }).click();
    await page.getByRole('menuitem', {
        name: 'Username'
    }).click();
    await page.getByRole('menuitem', {
        name: 'Email'
    }).click();
    await page.mouse.move(300, 0);
    await page.getByLabel('block-item-CollectionField-users-form-users.nickname').hover();
    await page.getByLabel('block-item-CollectionField-users-form-users.nickname').getByLabel('designer-drag').dragTo(page.getByLabel('block-item-CollectionField-users-form-users.username'));
    await page.getByLabel('block-item-CollectionField-users-form-users.nickname').hover();
    await page.getByLabel('block-item-CollectionField-users-form-users.nickname').getByLabel('designer-drag').dragTo(page.getByLabel('block-item-CollectionField-users-form-users.email'));
    const nickname = await page.getByLabel('block-item-CollectionField-users-form-users.nickname').boundingBox();
    const username = await page.getByLabel('block-item-CollectionField-users-form-users.username').boundingBox();
    const email = await page.getByLabel('block-item-CollectionField-users-form-users.email').boundingBox();
    const max = Math.max(username.y, nickname.y, email.y);
    (0, e2e_namespaceObject.expect)(nickname.y).toBe(max);
});
(0, e2e_namespaceObject.test)('actions', async ()=>{});
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
