We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feccc15 commit 3960416Copy full SHA for 3960416
src/test/cypress/integration/regenerate_spec.cy.js
@@ -0,0 +1,18 @@
1
+context('Regenerating function documentation', () => {
2
+ it('succeeds', () => {
3
+ cy.timeout(10000); // generation needs some time
4
+ cy.request({
5
+ url: 'http://127.0.0.1:8080/exist/apps/fundocs/regenerate',
6
+ auth: {
7
+ user: 'admin',
8
+ password: ''
9
+ }
10
+ })
11
+ .then((response) => {
12
+ expect(response).to.have.property('status')
13
+ expect(response.status).to.equal(200)
14
+ expect(response.body).to.have.property('status')
15
+ expect(response.body.status).to.equal('ok')
16
17
18
+})
0 commit comments