Skip to content

Commit d554f28

Browse files
authored
[6.0][system-tests] do not check for specific language pack (joomla#46265)
1 parent afa8ceb commit d554f28

File tree

1 file changed

+4
-3
lines changed
  • tests/System/integration/administrator/components/com_installer

1 file changed

+4
-3
lines changed

tests/System/integration/administrator/components/com_installer/Languages.cy.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ describe('Test in backend that the Installer', () => {
88
cy.get('h1.page-title').should('contain.text', 'Extensions: Languages');
99
});
1010

11-
it('has Afrikaans Language installable', () => {
11+
it('has any Language installable', () => {
1212
cy.get('body').then((body) => {
1313
if (body.find('#installer-languages table').length === 0) {
1414
cy.get('#installer-languages .alert.alert-info').should('contain.text', 'No Matching Results');
1515
cy.checkForSystemMessage(`Can't connect to https://update.joomla.org/language/translationlist`);
1616
} else {
17-
cy.get('tr.row0').should('contain.text', 'Afrikaans').then(() => {
18-
cy.get('input.btn.btn-primary.btn-sm').should('exist');
17+
cy.get('#installer-languages table').within(() => {
18+
cy.get('input[type="button"]').should('have.value', 'Install');
19+
cy.get('a[target="_blank"]').invoke('attr', 'href').should('match', /^https:\/\/update\.joomla\.org\/language\/details/);
1920
});
2021
}
2122
});

0 commit comments

Comments
 (0)