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

MNT Behat-test fixtures for elemental area #105

Conversation

sabina-talipova
Copy link
Contributor

Description

Three new classes TestBlogPost, TestBlogPostAdmin and TestBlogPostExtension to support behat tests cases in silverstripe/silverstripe-elemental

Parent Issue

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Because this module is used to add test fixtures for a number of modules, it would be better to avoid using "blog post" (which could seem like it's intended to be used with the blog module). Can you please rename things in a way that makes it clear it's for the elemental module?
e.g. instead of BlogPostsAdmin use ElementalBehatAdmin or something along those lines.
Maybe even put the source files all into a shared elemental directory (similar to some of the others like tagfield etc)

_config/extensions.yml Outdated Show resolved Hide resolved
@sabina-talipova sabina-talipova force-pushed the pulls/4/behat-tests-elemental-area branch from 8e2697a to 94420d7 Compare May 9, 2022 04:34
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

The behat tests that use these work locally - merging so we can get travis to run them now.

@GuySartorelli GuySartorelli merged commit 5594c50 into silverstripe:4 May 10, 2022
@GuySartorelli GuySartorelli deleted the pulls/4/behat-tests-elemental-area branch May 10, 2022 21:38
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.

2 participants