2
0

fix(results): 🐛 Loading rows

This commit is contained in:
Baptiste Arnaud
2022-02-11 15:30:02 +01:00
parent 901e2f39b0
commit 93fed893c0
13 changed files with 85 additions and 90 deletions

View File

@ -1,6 +1,6 @@
import test, { expect, Page } from '@playwright/test'
import { readFileSync } from 'fs'
import { InputStepType } from 'models'
import { defaultTextInputOptions, InputStepType } from 'models'
import { parse } from 'papaparse'
import { generate } from 'short-uuid'
import {
@ -17,7 +17,10 @@ test.describe('Results page', () => {
await createTypebots([
{
id: typebotId,
...parseDefaultBlockWithStep({ type: InputStepType.TEXT }),
...parseDefaultBlockWithStep({
type: InputStepType.TEXT,
options: defaultTextInputOptions,
}),
},
])
await createResults({ typebotId })