diff --git a/docs/changelog.md b/docs/changelog.md index a62bbd3..5ba3a83 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,13 @@ All notable changes to this project will be documented in this file. -## [1.1.24] - Current +## [1.1.25] - Current + +### Fixed + +- **APIHelper.createGitHubRepoWithFile**: Ensure file creation happens after repository creation. + +## [1.1.24] ### Added diff --git a/package.json b/package.json index d3c97c7..94b19c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "1.1.24", + "version": "1.1.25", "description": "Test utilities for RHDH E2E tests", "license": "Apache-2.0", "repository": { diff --git a/src/playwright/helpers/api-helper.ts b/src/playwright/helpers/api-helper.ts index 66dba80..f0044ca 100644 --- a/src/playwright/helpers/api-helper.ts +++ b/src/playwright/helpers/api-helper.ts @@ -80,6 +80,8 @@ export class APIHelper { // Create the repository await APIHelper.createGitHubRepo(owner, repoName); + await new Promise((resolve) => setTimeout(resolve, 2000)); + // Add the specified file await APIHelper.createFileInRepo( owner,