Skip to content

Commit

Permalink
Improving installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Aug 21, 2022
1 parent d0992d9 commit a16f52e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/joomla.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const joomlaCommands = () => {
cy.get('#jform_db_name').clear().type(config.db_name)
cy.get('#jform_db_prefix').clear().type(config.db_prefix)
cy.intercept('index.php?task=installation.*').as('ajax_requests')
cy.intercept('index.php?view=remove&layout=default').as('finished')
cy.get('#setupButton').click()
cy.wait('@ajax_requests', {timeout: 20000})
cy.wait('@ajax_requests', {timeout: 20000})
Expand All @@ -44,7 +45,7 @@ const joomlaCommands = () => {
cy.wait('@ajax_requests', {timeout: 20000})
cy.wait('@ajax_requests', {timeout: 20000})
cy.wait('@ajax_requests', {timeout: 20000})
cy.wait(5000)
cy.wait('@finished', {timeout: 20000})
cy.get('#installCongrat').should('be.visible')

cy.log('--Install Joomla--')
Expand Down

0 comments on commit a16f52e

Please sign in to comment.