Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaileshParmar11 committed Aug 30, 2024
1 parent 3d1b2cc commit 0c52ed3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const userData2 = {
name: user2.email.split('@')[0],
};
const userData3 = {
displayName: `${user2.firstName}${user2.lastName}`,
name: user2.email.split('@')[0],
displayName: `${user3.firstName}${user3.lastName}`,
name: user3.email.split('@')[0],
};
const userIds: string[] = [];

Expand Down Expand Up @@ -315,13 +315,12 @@ describe('Incident Manager', { tags: 'Observability' }, () => {
userData3.displayName
);
verifyResponseStatusCode('@searchOwner', 200);
cy.get(`.ant-popover [title="${userData3.displayName}"]`).click();
interceptURL(
'POST',
'/api/v1/dataQuality/testCases/testCaseIncidentStatus',
'updateTestCaseIncidentStatus'
);
cy.get('[data-testid="selectable-list-update-btn"]').click();
cy.get(`.ant-popover [title="${userData3.displayName}"]`).click();
verifyResponseStatusCode('@updateTestCaseIncidentStatus', 200);
cy.get('[data-testid="assignee"] [data-testid="owner-link"]').should(
'contain',
Expand Down

0 comments on commit 0c52ed3

Please sign in to comment.