Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EWPP-1540: Render the Media field of Event CT using the Media gallery formatter. #948

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

22Alexandra
Copy link
Contributor

No description provided.

@22Alexandra 22Alexandra changed the base branch from 3.x to EPIC-EWPP-1539-Event-v2 September 20, 2021 08:21
$this->assertContains('placeholder_first_image.png', $first_item->getAttribute('src'));
$caption = $items[0]->find('css', '.ecl-gallery__description');
$this->assertContains('Test image first_image', $caption->getOuterHtml());
$this->assertEmpty($caption->find('css', '.ecl-gallery__meta')->getText());
}
Copy link
Member

@sergepavle sergepavle Sep 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can test also the second image I suppose.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The info it's exactly the same and it would just make the test slower. Once we have the pattern assertions for gallery this should be replaced.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me.

sergepavle
sergepavle previously approved these changes Sep 21, 2021
@22Alexandra 22Alexandra merged commit 455bb91 into EPIC-EWPP-1539-Event-v2 Sep 29, 2021
@22Alexandra 22Alexandra deleted the EWPP-1540 branch September 29, 2021 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants