test: rewrite flow editor tests with playwright

This commit is contained in:
Rıdvan Akca
2023-08-14 22:03:45 +03:00
parent a5b31da3cc
commit 9752e2c4d2
4 changed files with 248 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ const base = require('@playwright/test');
const { ApplicationsPage } = require('./applications-page');
const { ConnectionsPage } = require('./connections-page');
const { ExecutionsPage } = require('./executions-page');
const { FlowEditorPage } = require('./flow-editor-page');
exports.test = base.test.extend({
applicationsPage: async ({ page }, use) => {
@@ -13,5 +14,8 @@ exports.test = base.test.extend({
executionsPage: async ({ page }, use) => {
await use(new ExecutionsPage(page));
},
flowEditorPage: async ({ page }, use) => {
await use(new FlowEditorPage(page));
},
});
exports.expect = base.expect;