mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
test: Migrate cypress tests batch 1 to playwright (#19569)
This commit is contained in:
@@ -166,6 +166,14 @@ export class NodeDetailsViewPage extends BasePage {
|
||||
.getByTestId('assignment-collection-drop-area');
|
||||
}
|
||||
|
||||
getAssignmentCollectionDropArea() {
|
||||
return this.page.getByTestId('assignment-collection-drop-area');
|
||||
}
|
||||
|
||||
async clickAssignmentCollectionDropArea() {
|
||||
await this.getAssignmentCollectionDropArea().click();
|
||||
}
|
||||
|
||||
getAssignmentValue(paramName: string) {
|
||||
return this.page
|
||||
.getByTestId(`assignment-collection-${paramName}`)
|
||||
@@ -723,6 +731,18 @@ export class NodeDetailsViewPage extends BasePage {
|
||||
return this.page.getByTestId('node-run-info');
|
||||
}
|
||||
|
||||
getStaleNodeIndicator() {
|
||||
return this.page.getByTestId('node-run-info-stale');
|
||||
}
|
||||
|
||||
getExecuteStepButton() {
|
||||
return this.page.getByRole('button').filter({ hasText: 'Execute step' });
|
||||
}
|
||||
|
||||
async clickExecuteStep() {
|
||||
await this.getExecuteStepButton().click();
|
||||
}
|
||||
|
||||
async openSettings() {
|
||||
await this.page.getByTestId('tab-settings').click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user