    public function makeInstallation(Browser $browser)
    {
        $siteUrl = site_url();

        if (mw_is_installed()) {
            PHPUnit::assertTrue(true);
            return true;
        }

        /* $deleteDbFiles = [];
         $deleteDbFiles[] = dirname(dirname(__DIR__)) . DS . 'config/microweber.php';
         $deleteDbFiles[] = dirname(dirname(__DIR__)) . DS . 'storage/127_0_0_1.sqlite';
         foreach ($deleteDbFiles as $file) {
             if (is_file($file)) {
                 unlink($file);
             }
         }*/

        $browser->visit($siteUrl)->assertSee('install');

        $browser->within(new ChekForJavascriptErrors(), function ($browser) {
            $browser->validate();
        });


        // Fill the install fields
        $browser->type('admin_username', '1');
        $browser->type('admin_password', '1');
        $browser->type('admin_password2', '1');
        $browser->type('admin_email', 'bobi@microweber.com');

        $browser->pause(300);
        $browser->select('#default_template', 'new-world');

        $browser->pause(100);
        $browser->click('@install-button');

        $browser->pause(20000);

        clearcache();

    }
Weaknesses in this category identify some of the underlying problems that commonly allow attackers to manipulate the business logic of an application. Errors in business logic can be devastating to an entire application. They can be difficult to find automatically, since they typically involve legitimate use of the application's functionality. However, many business logic errors can exhibit patterns that are similar to well-understood implementation and design weaknesses.