objectManager = Bootstrap::getObjectManager(); $this->block = $this->objectManager->get(LayoutInterface::class)->createBlock(AuthenticationPopup::class); } /** * @magentoConfigFixture current_store customer/password/autocomplete_on_storefront 1 * * @return void */ public function testAutocompletePasswordEnabled(): void { $this->assertEquals('on', $this->block->getConfig()['autocomplete']); } /** * @magentoConfigFixture current_store customer/password/autocomplete_on_storefront 0 * * @return void */ public function testAutocompletePasswordDisabled(): void { $this->assertEquals('off', $this->block->getConfig()['autocomplete']); } }