An error occurred while retrieving approval data for this merge request.
Add Menu test and folder
3 unresolved threads
3 unresolved threads
Closes #3389607
Merge request reports
Activity
- Resolved by André Angelantoni
- Resolved by André Angelantoni
- playwright/e2e/atk_menu/atk_menu.spec.js 0 → 100644
31 test("(ATK-PW-1150) Create a new menu item and validate it @ATK-PW-1150 @menu @smoke @alters-db", async ({ page, context, }) => { 32 const uniqueToken = atkUtilities.createRandomString(6); 33 const testId = "(ATK-PW-1150)"; 34 35 // 36 // Log in with the administrator account. 37 // 38 await atkCommands.logInViaForm(page, context, qaUserAccounts.admin); 39 40 // 41 // Begin registration. 42 // 43 await page.goto(baseUrl + "/admin/structure/menu/manage/main/add"); 44 await page.getByLabel("Menu link title").fill("Test" + uniqueToken); 45 await page.getByLabel("Link", { exact: true }).fill("<front>"); 46 await page.getByText("Link Loading… The location").click(); changed this line in version 5 of the diff
- playwright/e2e/atk_menu/atk_menu.spec.js 0 → 100644
35 // 36 // Log in with the administrator account. 37 // 38 await atkCommands.logInViaForm(page, context, qaUserAccounts.admin); 39 40 // 41 // Begin registration. 42 // 43 await page.goto(baseUrl + "/admin/structure/menu/manage/main/add"); 44 await page.getByLabel("Menu link title").fill("Test" + uniqueToken); 45 await page.getByLabel("Link", { exact: true }).fill("<front>"); 46 await page.getByText("Link Loading… The location").click(); 47 await page.getByRole("button", { name: "Save" }).click(); 48 await page.getByRole("link", { name: "Back to site" }).click(); 49 await page.locator(`text=${"Test" + uniqueToken}`); 50 }); - playwright/e2e/atk_menu/atk_menu.spec.js 0 → 100644
18 19 const baseUrl = playwrightConfig.use.baseURL; 20 21 // Standard accounts that use user accounts created 22 // by QA Accounts. QA Accounts are created when the QA 23 // Accounts module is enabled. 24 import qaUserAccounts from "../data/qaUsers.json"; 25 26 test.describe("Menu tests.", () => { 27 28 // 29 // Validate Menu items are added. 30 // 31 test("(ATK-PW-1150) Create a new menu item and validate it @ATK-PW-1150 @menu @smoke @alters-db", async ({ page, context, }) => { 32 const uniqueToken = atkUtilities.createRandomString(6); 33 const testId = "(ATK-PW-1150)"; changed this line in version 4 of the diff
assigned to @mpelayo
added 2 commits
Made many more changes in !8 (merged).
Please register or sign in to reply