Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nk2136 committed Oct 24, 2024
1 parent d94f244 commit 2ee797e
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions end2end/tests/reportBuilder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,19 @@ test('modify search with And logical filter', async ({ page }) => {
await expect(page.getByLabel('Sort by Radio')).toBeVisible();
});

test.only("fill textbox for multi line text", async ({ page }) => {
test("fill textbox for multi line text", async ({ page }) => {
await page.goto("https://host.docker.internal/Test_Request_Portal/?a=reports&v=3&query=N4IgLgpgTgtgziAXAbVASwCZJHSAHASQBEQAaEAez2gEMwKpsBeMkGOgYwAtsoI4KAGwBuELOQDmdCNgCCAORIBfUuiyIQHaRIYBPYqyq16jDS3Lsw3bADMGMAPoBWCDQAMAdlZTIcxSBU1bAwIQQhIcUpqKDoGZlZLa0Q3SWk%2FZQBdcgArCjQAOwQUEAK0MDRYqHkaGBksnAYwJGAVEAlwojoaJGQQABZWL3IAZhB6wTQYMqQARjd58gmpsAB5Gxs4cKQ3JSA%3D%3D&indicators=NobwRAlgdgJhDGBDALgewE4EkAiYBcYyEyANgKZgA0YUiAthQVWAM4bL4AMAvpeNHCRosuAtGIQUGZrQb4wzNug54efSLARSR8xPCKooAIQCuyNFBn1GC6kpVr%2BmoRhzyALFbkEAsiZJEAAQk0GSByGQAHhx27Fy8ToLabgQA7F42AEqIcKiKcaoJGknCKWAAzBnyAMrQAObkwaHhUTGsBTwAukA");
await page.getByRole('textbox', { name: 'Multi line text' }).click();

await page.getByRole('textbox', { name: 'Multi line text' }).fill('test this is a test');
await page.getByRole("cell", { name: "testing" }).click();
await page.getByLabel("Multi line text", { exact: true }).click();
await page.getByLabel('Multi line text', { exact: true }).fill("test this is a test");
await page.getByRole("button", { name: "Save Change" }).click();
await expect(page.getByRole('cell', { name: "test this is a test" })).toBeVisible();

await page.getByRole("cell", { name: "test this is a test" }).click();
await expect(page.locator('#LeafFormGrid517_960_4')).toContainText("test this is a test");
await page.getByLabel("Multi line text", { exact: true }).click();
await page.getByLabel('Multi line text', { exact: true }).fill('testing');
await page.getByRole('button', { name: 'Save Change' }).click();
await expect(page.locator('#LeafFormGrid517_960_4')).toContainText('test this is a test');
await page.getByRole('cell', { name: 'test this is the test' }).click();
await page.getByLabel('Multi line text', { exact: true }).click();
await page.getByLabel('Multi line text', { exact: true }).fill('test');
await page.getByRole('button', { name: 'Save Change' }).click();
});

test("Select multiple filter using AND/OR,", async ({ page }) => {
Expand Down

0 comments on commit 2ee797e

Please sign in to comment.