mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
* Refactor store registration to use SSR methods across multiple plugins for improved state management * fix database file field drag and drop * fix storybook dependencies warning. * refactor: Replace `useAsyncData` with a direct `watch` and `renderMarkdown` function for markdown content. * fix workspace hydratation warning * replace direct `role.isBillable` access with `roleIsBillable` computed property * fix auth settings form * fix alert slot usage * please linter * please prettier * fix SSR rendering * refactor: simplify relay state URL generation by directly passing the user source object. * refactor: Replace `registerModuleSSR` with `registerModuleNuxtSafe` for Vuex module registration across all plugins. * please linter * fix: add retry logic for Firefox NS_BINDING_ABORTED navigation errors in E2E tests * test: reload page and assert link visibility using getByRole after setting parameters. * refactor: simplify `goto` navigation by removing retry logic and adding a fixed delay. * refactor: trigger initial markdown rendering via immediate watcher option * update snapshots
34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
import { expect, test } from "../baserowTest";
|
|
|
|
test.describe("Builder application test suite", () => {
|
|
test.beforeEach(async ({ workspacePage }) => {
|
|
await workspacePage.goto();
|
|
});
|
|
|
|
test("Can create builder application", async ({ page }) => {
|
|
// Create a builder application
|
|
await page.locator(".sidebar__new").getByText("Add new").click();
|
|
await page.locator(".context__menu").getByText("Application").click();
|
|
await page.locator(".modal__box").getByText("Add application").click();
|
|
|
|
await expect(
|
|
page.locator(".page-editor").getByText("Page settings"),
|
|
"Check we see the default page.",
|
|
).toBeVisible();
|
|
});
|
|
|
|
test("Can create builder application with name", async ({ page }) => {
|
|
// Create a builder application
|
|
await page.locator(".sidebar__new").getByText("Add new").click();
|
|
await page.locator(".context__menu").getByText("Application").click();
|
|
// Change the application name
|
|
await page.locator(".modal__box input").fill("My super application");
|
|
await page.locator(".modal__box").getByText("Add application").click();
|
|
|
|
await expect(
|
|
page.locator(".tree__link").getByText("My super application"),
|
|
"Checks the name of the application is displayed in the sidebar.",
|
|
).toBeVisible();
|
|
});
|
|
});
|