Skip to content

Commit

Permalink
Update description, title, comments and const names
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrk39 committed Dec 16, 2024
1 parent fe919b3 commit 0e11b6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ test.beforeEach(async ({ page }) => {
});

test(
qase(
43,
'[Trigger] Event list should show at least 1 trigger, medium or low warning event',
),
qase(43, '[Trigger] Amount of events should equal the aggregate number'),
async ({ page }) => {
const aggregates = new AggregatesComponent(page);
const dashboard = new DashboardPage(page);
Expand All @@ -53,13 +50,13 @@ test(
firstName: TriggerDataSet.firstName,
lastName: TriggerDataSet.lastName,
});
await chat.allChatButtonsArePresent();
await chat.allDefaultButtonsArePresent();

// get the number of warning events and aggregated events
const warningCount = await chat.chatPredictionButtonsAreActive();
const aggregatesNumber = await aggregates.getNumberOfPredictedEvents();
const chatEventCount = await chat.predictionButtonsAreActive();
const aggregatesEventCount = await aggregates.getNumberOfPredictedEvents();

// check if the number of warning events is equal to the number of aggregated events
expect(warningCount).toEqual(aggregatesNumber);
expect(chatEventCount).toEqual(aggregatesEventCount);
},
);
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ test.beforeEach(async ({ page }) => {
NoTriggerDataSet.UserPassword,
);
});

// Test is skipped because it was flaky and more invastigation is needed to fix it
// Logged in PBI: https://dev.azure.com/redcrossnl/IBF/_workitems/edit/32127/
test.skip(
qase(10, 'All Disaster Types can be selected in no-trigger mode'),
async ({ page }) => {
Expand Down

0 comments on commit 0e11b6f

Please sign in to comment.