mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix: increase timeout for executionslist tets
This commit is contained in:
parent
2cbf49e8d7
commit
ba4c3f3a35
|
@ -128,7 +128,9 @@ describe('ExecutionsList.vue', () => {
|
||||||
expect(getByTestId('execution-list-empty')).toBeInTheDocument();
|
expect(getByTestId('execution-list-empty')).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should handle selection flow when loading more items', async () => {
|
it(
|
||||||
|
'should handle selection flow when loading more items',
|
||||||
|
async () => {
|
||||||
const storeSpy = vi
|
const storeSpy = vi
|
||||||
.spyOn(workflowsStore, 'getPastExecutions')
|
.spyOn(workflowsStore, 'getPastExecutions')
|
||||||
.mockResolvedValueOnce(executionsData[0])
|
.mockResolvedValueOnce(executionsData[0])
|
||||||
|
@ -184,7 +186,9 @@ describe('ExecutionsList.vue', () => {
|
||||||
expect(getByTestId('selected-executions-info').textContent).toContain(19);
|
expect(getByTestId('selected-executions-info').textContent).toContain(19);
|
||||||
expect(getByTestId('select-visible-executions-checkbox')).toBeInTheDocument();
|
expect(getByTestId('select-visible-executions-checkbox')).toBeInTheDocument();
|
||||||
expect(queryByTestId('select-all-executions-checkbox')).not.toBeInTheDocument();
|
expect(queryByTestId('select-all-executions-checkbox')).not.toBeInTheDocument();
|
||||||
});
|
},
|
||||||
|
{ timeout: 10000 },
|
||||||
|
);
|
||||||
|
|
||||||
it('should show "retry" data when appropriate', async () => {
|
it('should show "retry" data when appropriate', async () => {
|
||||||
vi.spyOn(workflowsStore, 'getPastExecutions').mockResolvedValue(executionsData[0]);
|
vi.spyOn(workflowsStore, 'getPastExecutions').mockResolvedValue(executionsData[0]);
|
||||||
|
|
Loading…
Reference in a new issue