Chris@16: assertRaw('No front page content has been created yet.'); Chris@16: } Chris@16: Chris@16: /** Chris@16: * {@inheritdoc} Chris@16: */ Chris@16: protected function setUpSite() { Chris@16: // Test that the correct theme is being used. Chris@16: $this->assertNoRaw('bartik'); Chris@16: $this->assertRaw('themes/seven/css/theme/install-page.css'); Chris@16: parent::setUpSite(); Chris@16: } Chris@16: Chris@16: /** Chris@16: * {@inheritdoc} Chris@16: */ Chris@16: protected function curlExec($curl_options, $redirect = FALSE) { Chris@16: // Ensure that we see the classy progress CSS on the batch page. Chris@16: // Batch processing happens as part of HTTP redirects, so we can access the Chris@16: // HTML of the batch page. Chris@16: if (strpos($curl_options[CURLOPT_URL], '&id=1&op=do_nojs') !== FALSE) { Chris@16: $this->assertRaw('themes/classy/css/components/progress.css'); Chris@16: } Chris@16: return parent::curlExec($curl_options, $redirect); Chris@16: } Chris@16: Chris@16: /** Chris@16: * Ensures that the exported standard configuration is up to date. Chris@16: */ Chris@16: public function testStandardConfig() { Chris@16: $skipped_config = []; Chris@18: // FunctionalTestSetupTrait::installParameters() uses Drupal as site name Chris@18: // and simpletest@example.com as mail address. Chris@18: $skipped_config['system.site'][] = 'name: Drupal'; Chris@18: $skipped_config['system.site'][] = 'mail: simpletest@example.com'; Chris@16: $skipped_config['contact.form.feedback'][] = '- simpletest@example.com'; Chris@16: // \Drupal\filter\Entity\FilterFormat::toArray() drops the roles of filter Chris@16: // formats. Chris@16: $skipped_config['filter.format.basic_html'][] = 'roles:'; Chris@16: $skipped_config['filter.format.basic_html'][] = '- authenticated'; Chris@16: $skipped_config['filter.format.full_html'][] = 'roles:'; Chris@16: $skipped_config['filter.format.full_html'][] = '- administrator'; Chris@16: $skipped_config['filter.format.restricted_html'][] = 'roles:'; Chris@16: $skipped_config['filter.format.restricted_html'][] = '- anonymous'; Chris@18: // The site UUID is set dynamically for each installation. Chris@18: $skipped_config['system.site'][] = 'uuid: ' . $this->config('system.site')->get('uuid'); Chris@16: Chris@16: $this->assertInstalledConfig($skipped_config); Chris@16: } Chris@16: Chris@16: }