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

NEW Add new page for testing elemental blocks on a page. #106

Merged

Conversation

GuySartorelli
Copy link
Member

Required for behat testing in silverstripe/silverstripe-elemental#911
I tried using a pre-existing subclass of Page and applying the extension to it in the behat test, but there seems to be some weird bug with the way we do behat tests where the extension from the previous test was being sort-of-but-not-really applied to Page if I did that. I don't really understand exactly what was happening, but this resolves that problem and lets us do the test.

Specifically, it's required if doing a behat test with one page that doesn't have the ElementalPageExtension and another page that does.

Parent issue

@sabina-talipova sabina-talipova merged commit aed5bfa into silverstripe:0.4 May 31, 2022
@sabina-talipova sabina-talipova deleted the pulls/0.4/add-blocks-page branch May 31, 2022 00:54
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