Browse Source

e2e: increase `requestTimeout` to 16s (#4587)

The default value was 5s, causing a lot of flakiness.
Antoine du Hamel 1 năm trước cách đây
mục cha
commit
4129174d53
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      e2e/cypress.config.mjs

+ 2 - 1
e2e/cypress.config.mjs

@@ -3,7 +3,8 @@ import installLogsPrinter from 'cypress-terminal-report/src/installLogsPrinter.j
 import startMockServer from './mock-server.mjs'
 
 export default defineConfig({
-  defaultCommandTimeout: 16000,
+  defaultCommandTimeout: 16_000,
+  requestTimeout: 16_000,
 
   e2e: {
     baseUrl: 'http://localhost:1234',