Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Fritsch committed Jan 8, 2025
1 parent 366c379 commit 420bfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/FunctionalJavascript/MediaImageModifyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function testRemoveAdd(): void {
$this->assertSession()->assertWaitOnAjaxRequest();
$this->assertNotEmpty($this->assertSession()->waitForElementVisible('css', '#drupal-modal'));
$this->assertSession()->fieldNotExists('also_delete_file');
$this->assertSession()->pageTextContains('This action cannot be undone.The file attached to this media is owned by admin so will be retained.');
$this->assertSession()->pageTextContains('The file attached to this media is owned by admin so will be retained.');
Role::load(static::$defaultUserRole)->grantPermission('delete any file')->save();
$this->getSession()->reload();
$this->getSession()->getPage()->find('css', '[data-drupal-selector="edit-gin-sticky-actions"] .gin-more-actions__trigger')->click();
Expand Down

0 comments on commit 420bfae

Please sign in to comment.