Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

RRaj
RRaj
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
2

Discussions

Discussions
1

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by RRaj
Customize the badges you want to showcase on your profile
Re: CSP Nonce headers in AEM for Launch
Avatar
Give Back
Level 1
RRaj
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
RRaj
- Adobe Experience Manager
Hi @stephanef891866 did you get some solution around it? How you injecting JS to your pages now with nonce?

Views

339

Likes

0

Replies

0
AemMock in JUnit4 is not able to return page.getTemplate
Avatar
Give Back
Level 1
RRaj
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
RRaj
- Adobe Experience Manager
I am trying to run the test for one of my Model class for Custom Render Condition. Its testing if current is a template allowed to show the tab/field in dialog. When I am running test for this code using AemMock and JUnit4 its failing when debug I found its not able to get template from the page object: final Template pageTemplate = page.getTemplate(); //The above, getTemplate returns null for my Unit test below templatePathOfCurrentPage = pageTemplate.getName(); But at the same time if I change...

Views

342

Likes

0

Replies

0
Likes given to