Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
  • Loading branch information
OlegIvaniv committed May 29, 2024
1 parent ad96e1b commit 0039745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('NodesListPanel', () => {
await fireEvent.click(container.querySelector('.backButton')!);
await nextTick();

expect(screen.queryAllByTestId('item-iterator-item')).toHaveLength(7);
expect(screen.queryAllByTestId('item-iterator-item')).toHaveLength(8);
});

it('should render regular nodes', async () => {
Expand Down Expand Up @@ -136,7 +136,7 @@ describe('NodesListPanel', () => {

await nextTick();
expect(screen.getByText('What happens next?')).toBeInTheDocument();
expect(screen.queryAllByTestId('item-iterator-item')).toHaveLength(6);
expect(screen.queryAllByTestId('item-iterator-item')).toHaveLength(5);

screen.getByText('Action in an app').click();
await nextTick();
Expand Down
1 change: 0 additions & 1 deletion packages/editor-ui/src/views/NodeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,6 @@ export default defineComponent({
? this.$locale.baseText('nodeView.addOrEnableTriggerNode')
: this.$locale.baseText('nodeView.addATriggerNodeFirst');
const notice = this.showMessage({
type: 'info',
title: this.$locale.baseText('nodeView.cantExecuteNoTrigger'),
Expand Down

0 comments on commit 0039745

Please sign in to comment.