diff --git a/tests/System/integration/site/modules/mod_whosonline/Default.cy.js b/tests/System/integration/site/modules/mod_whosonline/Default.cy.js new file mode 100644 index 0000000000000..ea4ca371c7105 --- /dev/null +++ b/tests/System/integration/site/modules/mod_whosonline/Default.cy.js @@ -0,0 +1,9 @@ +describe('Test in frontend that the who is online module', () => { + it('can display who is online', () => { + cy.db_createModule({ title: 'Who is Online', module: 'mod_whosonline' }) + .then(() => { + cy.visit('/'); + cy.contains('Who is Online'); + }); + }); +});