mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 07:16:27 +00:00
Merge pull request #12434 from nocodb/test/vertical-fill
fix: fill handle
This commit is contained in:
@@ -3,6 +3,7 @@ import setup, { NcContext, unsetup } from '../../../setup';
|
|||||||
import { DashboardPage } from '../../../pages/Dashboard';
|
import { DashboardPage } from '../../../pages/Dashboard';
|
||||||
import { Api } from 'nocodb-sdk';
|
import { Api } from 'nocodb-sdk';
|
||||||
import { createDemoTable } from '../../../setup/demoTable';
|
import { createDemoTable } from '../../../setup/demoTable';
|
||||||
|
import { isMysql } from '../../../setup/db';
|
||||||
|
|
||||||
interface paramsType {
|
interface paramsType {
|
||||||
dashboard: DashboardPage;
|
dashboard: DashboardPage;
|
||||||
@@ -102,6 +103,10 @@ test.describe('Fill Handle', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('Number based', async () => {
|
test('Number based', async () => {
|
||||||
|
if (isMysql(p.context)) {
|
||||||
|
test.skip();
|
||||||
|
}
|
||||||
|
|
||||||
const fields = [
|
const fields = [
|
||||||
{ title: 'Number', value: 33, type: 'text' },
|
{ title: 'Number', value: 33, type: 'text' },
|
||||||
{ title: 'Decimal', value: 33.3, type: 'text' },
|
{ title: 'Decimal', value: 33.3, type: 'text' },
|
||||||
@@ -114,7 +119,7 @@ test.describe('Fill Handle', () => {
|
|||||||
];
|
];
|
||||||
|
|
||||||
// kludge: insert time from browser until mysql issue with timezone is fixed
|
// kludge: insert time from browser until mysql issue with timezone is fixed
|
||||||
await p.dashboard.grid.cell.time.set({ index: 0, columnHeader: 'Time', value: '02:02' });
|
// await p.dashboard.grid.cell.time.set({ index: 0, columnHeader: 'Time', value: '02:02' });
|
||||||
|
|
||||||
// set rating for first record
|
// set rating for first record
|
||||||
await p.dashboard.grid.cell.rating.select({ index: 0, columnHeader: 'Rating', rating: 3 });
|
await p.dashboard.grid.cell.rating.select({ index: 0, columnHeader: 'Rating', rating: 3 });
|
||||||
|
|||||||
Reference in New Issue
Block a user