From 88fbc2cd3bef6b64e9f89a8937852f91d50f44ad Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Thu, 12 Sep 2024 13:58:45 +0100 Subject: [PATCH] [4.4] Cypress typos/grammar (#43853) * Update Actionlogs.cy.js * Update Default.cy.js * Update Default.cy.js * Update Login.cy.js * Update Consent.cy.js * Update Actionlogs.cy.js missed one --- .../administrator/components/com_actionlogs/Actionlogs.cy.js | 4 ++-- .../administrator/components/com_cache/Default.cy.js | 2 +- .../administrator/components/com_checkin/Default.cy.js | 2 +- .../administrator/components/com_login/Login.cy.js | 2 +- .../administrator/components/com_privacy/Consent.cy.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/System/integration/administrator/components/com_actionlogs/Actionlogs.cy.js b/tests/System/integration/administrator/components/com_actionlogs/Actionlogs.cy.js index 16a04755099ff..9c3ed901b477f 100644 --- a/tests/System/integration/administrator/components/com_actionlogs/Actionlogs.cy.js +++ b/tests/System/integration/administrator/components/com_actionlogs/Actionlogs.cy.js @@ -5,7 +5,7 @@ describe('Test in backend that the action logs', () => { cy.visit('/administrator/index.php?option=com_actionlogs&view=actionlogs'); }); - it('have a title', () => { + it('has a title', () => { cy.get('h1.page-title').should('contain.text', 'User Actions Log'); }); @@ -23,7 +23,7 @@ describe('Test in backend that the action logs', () => { cy.task('queryDB', 'TRUNCATE #__action_logs'); }); - it('have an export button', () => { + it('has an export button', () => { cy.get('#toolbar-download1').click(); cy.get('#system-message-container').contains('There are no User Action logs to export').should('exist'); }); diff --git a/tests/System/integration/administrator/components/com_cache/Default.cy.js b/tests/System/integration/administrator/components/com_cache/Default.cy.js index 75dbdbe8c3f6e..20014a897ae14 100644 --- a/tests/System/integration/administrator/components/com_cache/Default.cy.js +++ b/tests/System/integration/administrator/components/com_cache/Default.cy.js @@ -4,7 +4,7 @@ describe('Test in backend that the cache', () => { cy.visit('/administrator/index.php?option=com_cache&view=cache'); }); - it('have a title', () => { + it('has a title', () => { cy.get('h1.page-title').should('contain.text', 'Maintenance: Clear Cache'); }); diff --git a/tests/System/integration/administrator/components/com_checkin/Default.cy.js b/tests/System/integration/administrator/components/com_checkin/Default.cy.js index c426e9b3f73fb..406426772a328 100644 --- a/tests/System/integration/administrator/components/com_checkin/Default.cy.js +++ b/tests/System/integration/administrator/components/com_checkin/Default.cy.js @@ -12,7 +12,7 @@ describe('Test in backend that the checkin', () => { cy.get('p.lead').should('contain.text', 'There are no tables with checked out items'); }); - it('can display a list of checked out', () => { + it('can display a list of checked out items', () => { cy.db_createArticle({ title: 'Test article', checked_out: '1', checked_out_time: '2024-01-01 20:00:00' }).then(() => { cy.visit('/administrator/index.php?option=com_checkin'); cy.get('tr.row0').should('contain.text', 'content'); diff --git a/tests/System/integration/administrator/components/com_login/Login.cy.js b/tests/System/integration/administrator/components/com_login/Login.cy.js index 78f40b249ee3d..f7f999f54b09e 100644 --- a/tests/System/integration/administrator/components/com_login/Login.cy.js +++ b/tests/System/integration/administrator/components/com_login/Login.cy.js @@ -36,7 +36,7 @@ describe('Test in backend that the login component', () => { cy.get('#system-message-container').contains('Username and password do not match or you do not have an account yet.').should('exist'); }); - it('can not log in with not existing user', () => { + it('can not log in with non-existing user', () => { cy.visit('administrator/index.php'); cy.get('#mod-login-username').type('invalid'); cy.get('#mod-login-password').type('invalid'); diff --git a/tests/System/integration/administrator/components/com_privacy/Consent.cy.js b/tests/System/integration/administrator/components/com_privacy/Consent.cy.js index cc94947f21918..b0dc139ce1f6b 100644 --- a/tests/System/integration/administrator/components/com_privacy/Consent.cy.js +++ b/tests/System/integration/administrator/components/com_privacy/Consent.cy.js @@ -1,4 +1,4 @@ -describe('Test in backend that privacy consent component', () => { +describe('Test in backend that the privacy consent component', () => { beforeEach(() => cy.doAdministratorLogin()); afterEach(() => { cy.task('queryDB', 'DELETE FROM #__privacy_consents');