Skip to content

Commit 7a24440

Browse files
committed
fix(e2e): skip bulk import tests due to UI bug (RHDHBUGS-2958)
The Save button in the Bulk Import preview dialog is rendered outside the viewport, making it impossible to complete the import flow. This is a product UI bug affecting both Helm and Operator deployments. Skip affected tests with test.fixme() until the product bug is fixed. Assisted-by: OpenCode
1 parent 6416963 commit 7a24440

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

e2e-tests/playwright/e2e/plugins/bulk-import.spec.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ spec:
116116
`);
117117
});
118118

119-
test("Add a Repository and Confirm its Preview", async () => {
119+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
120+
test.fixme("Add a Repository and Confirm its Preview", async () => {
120121
await uiHelper.openSidebar("Bulk import");
121122

122123
// Wait to ensure the repo will appear in the Bulk Import UI
@@ -148,7 +149,8 @@ spec:
148149
await expect(await uiHelper.clickButton("Import")).toBeDisabled();
149150
});
150151

151-
test("Add a Repository, generate a PR, and confirm its preview", async () => {
152+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
153+
test.fixme("Add a Repository, generate a PR, and confirm its preview", async () => {
152154
// Wait to ensure the repo will appear in the Bulk Import UI
153155
await expect(async () => {
154156
await page.reload();
@@ -176,7 +178,8 @@ spec:
176178
});
177179
});
178180

179-
test('Verify that the two selected repositories are listed: one with the status "Already imported" and another with the status "WAIT_PR_APPROVAL."', async () => {
181+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
182+
test.fixme('Verify that the two selected repositories are listed: one with the status "Already imported" and another with the status "WAIT_PR_APPROVAL."', async () => {
180183
await common.waitForLoad();
181184
await bulkimport.filterAddedRepo(catalogRepoDetails.name);
182185
await uiHelper.verifyRowInTableByUniqueText(catalogRepoDetails.name, [
@@ -189,7 +192,8 @@ spec:
189192
]);
190193
});
191194

192-
test("Verify the Content of catalog-info.yaml in the PR is Correct", async () => {
195+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
196+
test.fixme("Verify the Content of catalog-info.yaml in the PR is Correct", async () => {
193197
const prCatalogInfoYaml = await APIHelper.getfileContentFromPR(
194198
newRepoDetails.owner,
195199
newRepoDetails.repoName,
@@ -204,7 +208,8 @@ spec:
204208
expect(prCatalogInfoYaml).toEqual(expectedCatalogInfoYaml);
205209
});
206210

207-
test("Verify Selected repositories shows catalog-info.yaml status as 'Already imported' and 'WAIT_PR_APPROVAL'", async () => {
211+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
212+
test.fixme("Verify Selected repositories shows catalog-info.yaml status as 'Already imported' and 'WAIT_PR_APPROVAL'", async () => {
208213
await uiHelper.openSidebar("Bulk import");
209214
await uiHelper.searchInputPlaceholder(catalogRepoDetails.name);
210215
await uiHelper.verifyRowInTableByUniqueText(catalogRepoDetails.name, [
@@ -216,7 +221,8 @@ spec:
216221
]);
217222
});
218223

219-
test("Merge the PR on GitHub and Confirm the Status Updates to 'Already imported'", async () => {
224+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
225+
test.fixme("Merge the PR on GitHub and Confirm the Status Updates to 'Already imported'", async () => {
220226
await uiHelper.openSidebar("Bulk import");
221227
// Merge PR is generated for the repository without the catalog.yaml file.
222228
await APIHelper.mergeGitHubPR(
@@ -248,7 +254,8 @@ spec:
248254
});
249255
});
250256

251-
test("Verify Added Repositories Appear in the Catalog as Expected", async () => {
257+
// TODO: https://redhat.atlassian.net/browse/RHDHBUGS-2958
258+
test.fixme("Verify Added Repositories Appear in the Catalog as Expected", async () => {
252259
await uiHelper.openSidebar("Catalog");
253260
await uiHelper.selectMuiBox("Kind", "Component");
254261
await uiHelper.searchInputPlaceholder(catalogRepoDetails.name);

0 commit comments

Comments
 (0)