Skip to content

Commit b94b5a0

Browse files
committed
Ensure "Ansible Engine for RHEL 8" checkbox is selected in CI
In our CI environment, no repositories other than "Ansible Engine for RHEL 8" are available. This repository is not included by default and requires manual selection by checking the corresponding checkbox. Without this selection, progression to the next step is blocked.
1 parent c52e6a1 commit b94b5a0

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

_playwright-tests/UI/Templates.spec.ts

+7-9
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@ test.describe('Templates', () => {
1010
await closePopupsIfExist(page);
1111
await page.getByRole('button', { name: 'Add content template' }).click();
1212
await page.getByRole('button', { name: 'Select architecture' }).click();
13-
await page.getByRole('option', { name: 'x86_64' }).click();
13+
await page.getByRole('option', { name: 'aarch64' }).click();
1414
await page.getByRole('button', { name: 'Select version' }).click();
15-
await page.getByRole('option', { name: 'el8' }).click();
15+
await page.getByRole('option', { name: 'el9' }).click();
1616
await page.getByRole('button', { name: 'Next' }).click();
1717
// Add the step to select 'Red hat repos Checkbox'
18+
// Locate the checkbox in the table row
19+
await page.locator('table tr:first-child input[type="checkbox"]').click();
1820
await page.getByRole('button', { name: 'Next' }).click();
19-
// Add the step to select 'checkbox for cutom repo'
21+
page.getByRole('radio', { name: 'Use latest content' }); // try this
2022
await page.getByRole('button', { name: 'Next' }).click();
21-
await page.locator('input[name="use-latest-snapshot"]').click();
22-
await page.getByRole('button', { name: 'Next' }).click();
23-
const nameInput = page.getByPlaceholder('Enter name');
24-
// const descriptionInput = page.getByPlaceholder('Enter Description');
25-
await nameInput.fill('demo_template');
26-
// await descriptionInput.fill('test');
23+
await page.getByPlaceholder('Enter name').fill('demo_template');
24+
// await page.getByPlaceholder('Enter Description').fill('test');
2725
await page.getByRole('button', { name: 'Next' }).click();
2826
// Add steps to create teamplate with system if you want to
2927
await page.locator('button.pf-v5-c-menu-toggle__button').click();

0 commit comments

Comments
 (0)