[MAGNOLIA-4047] Refactor integration test framework to support new rendering engine Created: 17/Aug/11  Updated: 02/Apr/12  Resolved: 29/Mar/12

Status: Closed
Project: Magnolia
Component/s: testing
Affects Version/s: 4.5.1
Fix Version/s: 4.5.2

Type: Bug Priority: Critical
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
is duplicated by MAGNOLIA-4036 Integration tests fail due to ftl err... Closed
relation
supersession
supersedes MAGNOLIA-4048 Integration Test Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Many integration tests are failing due to changes we introduced with the new rendering. Some testing infrastructure needs to be adapted.



 Comments   
Comment by Federico Grilli [ 18/Aug/11 ]

Stopped working on this, as agreed during scrum today, since it makes more sense to come back to it later, when things on the new rendering/templating will be settled down.
Integration tests are now mostly failing due to rendering exceptions such as

[INFO] [talledLocalContainer] 2011-08-17 17:12:06,730 ERROR freemarker.runtime                                : Expression mgnl is undefined on line 5, column 11 in templates/test/templating_test.ftl.
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] Expression mgnl is undefined on line 5, column 11 in templates/test/templating_test.ftl.
[INFO] [talledLocalContainer] The problematic instruction:
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] ==> ${mgnl.authorInstance?string('indeed', 'not')} [on line 5, column 9 in templates/test/templating_test.ftl]
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] Java backtrace for programmers:
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] freemarker.core.InvalidReferenceException: Expression mgnl is undefined on line 5, column 11 in templates/test/templating_test.ftl.
Comment by Philipp Bärfuss [ 22/Dec/11 ]

Once we have the samples we could use them for the integration tests.

Comment by Federico Grilli [ 26/Mar/12 ]

Reopened in order to remove no longer used manual tests (replaced by groovy scripts crawling samples pages for errors and by new selenium-based tests for the page editor)

Comment by Federico Grilli [ 26/Mar/12 ]

removed manual tests

Comment by Jan Haderka [ 29/Mar/12 ]

It is still valid to support execution of manual tests. Sometimes issues are specific to integration test setup and it should be easy to leave instance running just by using specific profile.

Generated at Mon Feb 12 03:52:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.