File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,23 +108,30 @@ The test can use environmental variables:
108108Examples :
109109- [Sample api test](../applications/samples/test/api/test_st.py)
110110
111- # ## Common smoke tests
112-
113- Once a test is created for your application, generic smoke tests are also
114- executed, checking for :
115-
116- - Main page is reachable
117- - No errors in the console
118- - No error responses from network resources and fetch requests (code < 400)
119111
120- The smoke tests is defined [in this file](../test/test-e2e/__tests__/common.spec.ts).
121112
122113
123114
124115# # End to end (E2E) tests
125116
126117End to end tests run in a headless browser ([Puppeteer](https://github.com/puppeteer/puppeteer)) against the full deployment on Kubernetes.
127118
119+ Custom configuration :
120+
121+ ` ` ` yaml
122+ harness:
123+ ...
124+ test:
125+ e2e:
126+ # -- enable/disable e2e tests
127+ enabled: true
128+ # -- ignore errors on console by default
129+ ignoreConsoleErrors: false
130+ # -- ignore fetched resources errors by default
131+ ignoreRequestErrors: false
132+ # -- enable common smoke tests
133+ smoketest: true
134+ ` ` `
128135
129136# ## Write tests with Jest and Puppeteer
130137
@@ -159,7 +166,7 @@ executed, checking for:
159166- No errors in the console
160167- No error responses from network resources and fetch requests (code < 400)
161168
162- The smoke tests is defined [in this file](../test/jest-puppeteer/__tests__/common.spec.ts).
169+ The smoke tests are defined [in this file](../test/jest-puppeteer/__tests__/common.spec.ts).
163170
164171
165172# # Run API and E2E tests in the CI/CD pipeline
You can’t perform that action at this time.
0 commit comments