Skip to content

Commit 6a9cf51

Browse files
Synced intercept-api-command test assertions with api method names
1 parent 3d0e61c commit 6a9cf51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/ui/validate-intercept-api-command.cy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('Validate intercept command', () => {
2020
}).then(() => {
2121
// verifies that the alias is set and the request is intercepted & awaited
2222
cy.getInterceptedApiAliases().then((interceptedAliasesObject) => {
23-
expect(interceptedAliasesObject).to.have.property('treeSelectApi');
23+
expect(interceptedAliasesObject).to.have.property('post-treeSelectApi');
2424
});
2525
});
2626
});
@@ -41,8 +41,8 @@ describe('Validate intercept command', () => {
4141
// verifies that both the aliases are set and the request is intercepted & awaited
4242
cy.getInterceptedApiAliases().then((interceptedAliasesObject) => {
4343
expect(interceptedAliasesObject).to.include.all.keys(
44-
'accordionSelectApi',
45-
'treeSelectApi'
44+
'post-accordionSelectApi',
45+
'post-treeSelectApi'
4646
);
4747
});
4848
});

0 commit comments

Comments
 (0)