mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:45:07 +00:00
feat(testing): Stability
This commit is contained in:
@@ -87,6 +87,7 @@ export class WebhookFormPage extends BasePage {
|
||||
const modal = await this.get().locator(`.menu-filter-dropdown`).last();
|
||||
await modal.locator(`button:has-text("Add Filter")`).click();
|
||||
|
||||
// todo: Integrate this with Filter page object or atleast wait for the api response(this part is flaky but barely)
|
||||
await modal.locator(".nc-filter-field-select").click();
|
||||
const modalField = await this.dashboard.rootPage.locator(
|
||||
".nc-dropdown-toolbar-field-list:visible"
|
||||
|
||||
@@ -64,6 +64,7 @@ test.describe("Shared base", () => {
|
||||
let url = await dashboard.settings.teams.getSharedBaseUrl();
|
||||
await dashboard.settings.teams.closeInvite();
|
||||
|
||||
await dashboard.rootPage.waitForTimeout(2000);
|
||||
// access shared base link
|
||||
await dashboard.signOut();
|
||||
// todo: Move this to a page object
|
||||
@@ -85,6 +86,7 @@ test.describe("Shared base", () => {
|
||||
url = await dashboard.settings.teams.getSharedBaseUrl();
|
||||
await dashboard.settings.teams.closeInvite();
|
||||
|
||||
await dashboard.rootPage.waitForTimeout(2000);
|
||||
// access shared base link
|
||||
await dashboard.signOut();
|
||||
// todo: Move this to a page object
|
||||
|
||||
@@ -4,6 +4,7 @@ import { SettingTab } from "../pages/Dashboard/Settings";
|
||||
import setup from "../setup";
|
||||
import { FormPage } from "../pages/Dashboard/Form";
|
||||
|
||||
// todo: Move most of the ui actions to page object and await on the api response
|
||||
test.describe("Form view", () => {
|
||||
let dashboard: DashboardPage;
|
||||
let form: FormPage;
|
||||
|
||||
Reference in New Issue
Block a user