Issue #3247901 by danflanagan8, longwave: ContentTranslationUITestBase should not rely on Classy
(cherry picked from commit 84ef68cf99
)
merge-requests/634/merge
parent
3ab6129942
commit
c0dca8d030
|
@ -28,7 +28,7 @@ class BlockContentTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
@ -39,7 +39,7 @@ class ContentTestTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
@ -359,7 +359,7 @@ abstract class ContentTranslationUITestBase extends ContentTranslationTestBase {
|
|||
];
|
||||
$this->drupalGet($entity->toUrl('edit-form'));
|
||||
$this->submitForm($edit, $this->getFormSubmitAction($entity, $langcode));
|
||||
$this->assertSession()->elementExists('xpath', '//div[contains(@class, "error")]//ul');
|
||||
$this->assertSession()->elementExists('xpath', '//div[@aria-label="Error message"]//ul');
|
||||
$metadata = $this->manager->getTranslationMetadata($entity->getTranslation($langcode));
|
||||
$this->assertEquals($values[$langcode]['uid'], $metadata->getAuthor()->id(), 'Translation author correctly kept.');
|
||||
$this->assertEquals($values[$langcode]['created'], $metadata->getCreatedTime(), 'Translation date correctly kept.');
|
||||
|
|
|
@ -17,7 +17,7 @@ class MediaTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
@ -32,7 +32,7 @@ class MenuLinkContentTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
@ -35,7 +35,7 @@ class ShortcutTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
@ -41,7 +41,7 @@ class TermTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
protected function setUp(): void {
|
||||
$this->entityTypeId = 'taxonomy_term';
|
||||
|
|
|
@ -44,7 +44,7 @@ class UserTranslationUITest extends ContentTranslationUITestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'classy';
|
||||
protected $defaultTheme = 'stark';
|
||||
|
||||
protected function setUp(): void {
|
||||
$this->entityTypeId = 'user';
|
||||
|
|
Loading…
Reference in New Issue