Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Tests / Continuous Integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 May 2014 at 16:50 UTC
Updated:
10 Jul 2014 at 20:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dsnopekI think this sounds reasonable! However, I think the name of the region should be more specific than just "Default Content" since the default is different depending on the type. For example, a "Content page" defaults to "Bryant" and a "Landing page" defaults to "Boxton". Maybe "Content page default" (or similar) so that it's clear this is for Content pages?
Comment #2
dsnopekAttached is a patch that creates a special region for "Panopoly Page Content" so that child distributions can swap it out. I've also tried running the tests with admin_menu enabled and save_draft disabled (since those are both support configurations) and it should work in those situations now too.
Please let me know if this is sufficient for your needs!
Comment #3
dsnopekOk, there were loads of issues with my commit for #2154225: Switch Behat widget tests to use "Landing page", so here is a re-roll that is based on the latest Git.
Comment #4
dsnopekComment #5
dsnopekOk, here's an updated version that takes advantage of panopoly_test: #2291961: Create a panopoly_test module to hold Views and Content Types for testing
Changes:
Comment #6
dsnopekTravis tests show that I went a little too far on my refactoring of contentpage.feature. :-) I switched back from using "Body" to the form field name. Anyway, this patch is actually passing on Travis-CI!
Comment #7
cboyden commentedHere is an updated patch that removes a dependency in the Linkit test on the panopoly_page content type (creates the target node as a panopoly_test_page instead) and adds a named "Linkit modal" region so the tests pass when you use admin menu instead of navbar.
Comment #8
dsnopek@cboyden: Looks good, thanks! I totally missed the creation of the node it's linking to. :-/ Testing the whole thing on Travis-CI again:
https://travis-ci.org/dsnopek/panopoly/builds/28491491
Hopefully, we're getting close to finishing this! :-)
Comment #9
cboyden commentedHere's another patch that adds a tag to the WYSIWYG scenarios that involve embedding non-static media into WYSIWYG fields. This is an area where some sites have stricter permissions about content that can be included in a page. The tag @panopoly_wysiwyg_multimedia will allow testers to exclude these scenarios instead of having them fail.
Comment #10
cboyden commentedYet another patch: Updated to include moving the Live Preview table cell content to the 2nd row, to avoid styling issues where table header rows might be transformed by CSS.
Comment #11
dsnopekOk, here is one final version of this patch. I've added a new region-based version of the "Then I should see text matching" step, so that we can do case insensitive matches.
@cboyden: I've included an interdiff, so it'll be easy for you to see the changes I made from your patch.
I'm going to commit this in a moment!
Comment #12
dsnopekRenaming issue for commit.
Comment #14
dsnopekHuzzah! I've committed it. :-) I'm super happy with these changes - the tests are much better organized and it's great that they can be used (mostly) unmodified in a child distribution. Thanks for your help, @cboyden!
I've been testing periodically in Travis, so it should succeed, but here's the build anyway:
https://travis-ci.org/panopoly/panopoly/builds/28532883