test: add step name to update step request

This commit is contained in:
Jakub P.
2025-02-01 12:01:05 +01:00
parent 400a45051f
commit 8042caea42
3 changed files with 5 additions and 2 deletions

View File

@@ -13,8 +13,9 @@ export class ExecutionDetailsPage extends AuthenticatedPage {
async verifyExecutionData(flowId) {
await expect(this.executionCreatedAt).toContainText(/\d+ seconds? ago/);
const executionIdFromUrl = this.page.url().split('/').pop();
await expect(this.executionId).toHaveText(
/Execution ID: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i
`Execution ID: ${executionIdFromUrl}`
);
await expect(this.executionName).toHaveText(flowId);
}