test: Credential test migration part 1 (#19420)

This commit is contained in:
Declan Carroll
2025-09-12 12:32:04 +01:00
committed by GitHub
parent 752436d1e4
commit 1a1c07d6eb
18 changed files with 740 additions and 499 deletions

View File

@@ -4,12 +4,14 @@ import { nanoid } from 'nanoid';
import { BasePage } from './BasePage';
import { ROUTES } from '../config/constants';
import { resolveFromRoot } from '../utils/path-helper';
import { CredentialModal } from './components/CredentialModal';
import { LogsPanel } from './components/LogsPanel';
import { StickyComponent } from './components/StickyComponent';
export class CanvasPage extends BasePage {
readonly sticky = new StickyComponent(this.page);
readonly logsPanel = new LogsPanel(this.page.getByTestId('logs-panel'));
readonly credentialModal = new CredentialModal(this.page.getByTestId('editCredential-modal'));
saveWorkflowButton(): Locator {
return this.page.getByRole('button', { name: 'Save' });