mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
ci: Test container enhancements (#17008)
This commit is contained in:
@@ -11,17 +11,17 @@ export class ExecutionsPage extends BasePage {
|
||||
await this.clickButtonByName('Copy to editor');
|
||||
}
|
||||
|
||||
async getExecutionItems(): Promise<Locator> {
|
||||
getExecutionItems(): Locator {
|
||||
return this.page.locator('div.execution-card');
|
||||
}
|
||||
|
||||
async getLastExecutionItem(): Promise<Locator> {
|
||||
const executionItems = await this.getExecutionItems();
|
||||
getLastExecutionItem(): Locator {
|
||||
const executionItems = this.getExecutionItems();
|
||||
return executionItems.nth(0);
|
||||
}
|
||||
|
||||
async clickLastExecutionItem(): Promise<void> {
|
||||
const executionItem = await this.getLastExecutionItem();
|
||||
const executionItem = this.getLastExecutionItem();
|
||||
await executionItem.click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user