mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 07:16:27 +00:00
test(pw): remove unwanted console from pw test
This commit is contained in:
@@ -39,9 +39,6 @@ export class KanbanPage extends BasePage {
|
|||||||
const fromCard = srcStack.locator(`.nc-kanban-item`).nth(from.card);
|
const fromCard = srcStack.locator(`.nc-kanban-item`).nth(from.card);
|
||||||
const toCard = dstStack.locator(`.nc-kanban-item`).nth(to.card);
|
const toCard = dstStack.locator(`.nc-kanban-item`).nth(to.card);
|
||||||
|
|
||||||
console.log(await fromCard.allTextContents());
|
|
||||||
console.log(await toCard.allTextContents());
|
|
||||||
|
|
||||||
await fromCard.dragTo(toCard, {
|
await fromCard.dragTo(toCard, {
|
||||||
force: true,
|
force: true,
|
||||||
sourcePosition: { x: 10, y: 10 },
|
sourcePosition: { x: 10, y: 10 },
|
||||||
|
|||||||
@@ -177,8 +177,6 @@ export class WorkspacePage extends BasePage {
|
|||||||
await this.rootPage.waitForTimeout(1000);
|
await this.rootPage.waitForTimeout(1000);
|
||||||
|
|
||||||
if (role === 'creator' || role === 'owner') {
|
if (role === 'creator' || role === 'owner') {
|
||||||
console.log(await this.container.get().count());
|
|
||||||
console.log(await this.container.collaborators.count());
|
|
||||||
expect(await collaborators.isVisible()).toBeTruthy();
|
expect(await collaborators.isVisible()).toBeTruthy();
|
||||||
} else {
|
} else {
|
||||||
expect(await collaborators.isVisible()).toBeFalsy();
|
expect(await collaborators.isVisible()).toBeFalsy();
|
||||||
|
|||||||
@@ -38,11 +38,10 @@ test.describe.skip('User roles', () => {
|
|||||||
|
|
||||||
for (let i = 0; i < roleDb.length; i++) {
|
for (let i = 0; i < roleDb.length; i++) {
|
||||||
await dashboard.baseView.btn_share.click();
|
await dashboard.baseView.btn_share.click();
|
||||||
roleDb[i].url = await settings.teams.invite({
|
roleDb[i].url = await dashboard.settings.teams.invite({
|
||||||
email: roleDb[i].email,
|
email: roleDb[i].email,
|
||||||
role: roleDb[i].role,
|
role: roleDb[i].role,
|
||||||
});
|
});
|
||||||
console.log(roleDb[i].url);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Role test
|
// Role test
|
||||||
|
|||||||
@@ -332,7 +332,6 @@ test.describe('Form view with LTAR', () => {
|
|||||||
|
|
||||||
await dashboard.viewSidebar.createFormView({ title: 'NewForm' });
|
await dashboard.viewSidebar.createFormView({ title: 'NewForm' });
|
||||||
const formUrl = await dashboard.form.topbar.getSharedViewUrl();
|
const formUrl = await dashboard.form.topbar.getSharedViewUrl();
|
||||||
console.log(formUrl);
|
|
||||||
|
|
||||||
// sign-out
|
// sign-out
|
||||||
await dashboard.signOut();
|
await dashboard.signOut();
|
||||||
|
|||||||
Reference in New Issue
Block a user