ci: Test container enhancements (#17008)

This commit is contained in:
shortstacked
2025-07-10 11:50:03 +01:00
committed by GitHub
parent 2294c3d71b
commit be3e75dbee
23 changed files with 408 additions and 154 deletions

View File

@@ -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();
}