Skip to content

Commit 9de8ad6

Browse files
committed
wait
1 parent bfe98c8 commit 9de8ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/System/support/commands/config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ Cypress.Commands.add('config_setParameter', (parameter, value) => {
1313
const content = fileContent.replace(regex, `public $${parameter} = ${newValue};`);
1414

1515
// Write the modified content back to the configuration file relative to the CMS root folder
16-
return cy.task('writeRelativeFile', { path: 'configuration.php', content });
16+
return cy.task('writeRelativeFile', { path: 'configuration.php', content }).then(() => cy.wait(2000));
1717
});
1818
});

0 commit comments

Comments
 (0)