Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ export class DagRunsTabPage extends BasePage {
const stateOption = this.page.getByTestId(`mark-run-as-${state}`);

await expect(stateOption).toBeVisible({ timeout: 5000 });

if (await stateOption.isDisabled()) {
await this.page.keyboard.press("Escape");

return;
}

await stateOption.click();

const confirmButton = this.page.getByRole("button", { name: "Confirm" });
Expand Down
Loading