Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update events editor #56

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions end2end/tests/adminPanelWorkflowEditor-eventsEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,14 @@ test('Remove Event ', async ({ page }, testInfo) => {
await page.goto('https://host.docker.internal/Test_Request_Portal/admin/?a=workflow&workflowID=1');

//Open Edit Events
await page.getByRole('button', { name: 'Edit Events' }).isVisible();
await page.getByRole('button', { name: 'Edit Events' }).click();

//Locate Event

await expect(page.getByRole('heading', { name: 'List of Events' })).toBeVisible();


const table = page.locator("#events");
const rows = table.locator("tbody tr");
const cols = rows.first().locator("td");
Expand All @@ -259,6 +263,8 @@ await page.getByRole('button', { name: 'Edit Events' }).click();


// Verify removed from Event List
await expect(page.getByRole('heading', { name: 'List of Events' })).toBeVisible();

const table1 = page.locator("#events");
const rows1 = table.locator("tbody tr");
const cols1 = rows.first().locator("td");
Expand Down