We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c2ffb commit dff0bacCopy full SHA for dff0bac
1 file changed
playwright/support/fixtures/editor-api.ts
@@ -25,7 +25,7 @@ export interface EditorApiFixture {
25
*/
26
export const test = base.extend<EditorApiFixture>({
27
createEditor: async ({ page }, use) => {
28
- const createComponent = async (
+ const createEditor = async (
29
options: {
30
type: 'editor' | 'table',
31
content?: string,
@@ -60,17 +60,6 @@ export const test = base.extend<EditorApiFixture>({
60
)
61
}
62
63
- const createEditor = async (
64
- options: {
65
- type: 'editor' | 'table',
66
- content?: string,
67
- fileId?: number,
68
- readOnly?: boolean,
69
- },
70
- ) => {
71
- await createComponent(options)
72
- }
73
-
74
await use(createEditor)
75
},
76
containerId,
0 commit comments