mirror of https://github.com/joomla/joomla-cms.git
12 lines
372 B
JavaScript
12 lines
372 B
JavaScript
describe('Test that the latest articles module', () => {
|
|
it('can load in frontend without ordering parameter', () => {
|
|
cy.db_createArticle({ title: 'automated test article' })
|
|
.then(() => cy.db_createModule({ module: 'mod_articles_latest' }))
|
|
.then(() => {
|
|
cy.visit('/');
|
|
|
|
cy.contains('li', 'automated test article');
|
|
});
|
|
});
|
|
});
|