File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
tests/System/integration/administrator/components/com_installer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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' , / ^ h t t p s : \/ \/ u p d a t e \. j o o m l a \. o r g \/ l a n g u a g e \/ d e t a i l s / ) ;
1920 } ) ;
2021 }
2122 } ) ;
You can’t perform that action at this time.
0 commit comments