Skip to content

Commit 1312b91

Browse files
committed
Update admin.system-demo.spec.js
1 parent e762f45 commit 1312b91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/xReset/admin.system-demo.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
describe('API Private Admin Demo', () => {
44
it('Load demo data (force=true) as admin', () => {
5-
const body = { includeFinancial: false, includeEvents: false, force: true };
5+
const body = { includeFinancial: false, includeEvents: false, includeSundaySchool: true, force: true };
66

7-
cy.makePrivateAdminAPICall('POST', '/admin/api/demo/load', body, 200).then((resp) => {
7+
cy.makePrivateAdminAPICall('POST', '/admin/api/demo/load', body, 200, 120000).then((resp) => {
88
// Expect success flag and import metadata in body
99
expect(resp.body).to.have.property('success');
1010
// success may be true or false depending on internal errors; at minimum assert shape
1111
expect(resp.body).to.have.property('imported');
1212
expect(resp.body).to.have.property('warnings');
13-
}, 120000);
13+
});
1414
});
1515
});

0 commit comments

Comments
 (0)