mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-28 14:32:26 +00:00
24 lines
789 B
TypeScript
24 lines
789 B
TypeScript
import { Page } from "@playwright/test"
|
|
import { BaserowPage } from "../baserowPage"
|
|
import { Automation } from "../../fixtures/automation/automation"
|
|
import { AutomationWorkflow } from "../../fixtures/automation/automationWorkflow"
|
|
import { Workspace } from "../../fixtures/workspace"
|
|
|
|
|
|
export class AutomationWorkflowPage extends BaserowPage {
|
|
automationWorkflow: AutomationWorkflow
|
|
automation: Automation
|
|
readonly workspace: Workspace
|
|
|
|
constructor(page: Page, automation: Automation, automationWorkflow: AutomationWorkflow) {
|
|
super(page)
|
|
this.automation = automation
|
|
this.automationWorkflow = automationWorkflow
|
|
}
|
|
|
|
async removeAll() {}
|
|
|
|
getFullUrl() {
|
|
return `${this.baseUrl}/automation/${this.automation.id}/workflow/${this.automationWorkflow.id}`;
|
|
}
|
|
}
|