@newskit-render/core 2.37.1 → 2.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/__tests__/pages/__snapshots__/home.test.tsx.snap +4 -4
- package/components/article/__tests__/__snapshots__/index.test.tsx.snap +1 -1
- package/components/section/layouts/__tests__/__snapshots__/Lead.test.tsx.snap +3 -3
- package/cypress/e2e/account/account-subscription.spec.js +11 -11
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.37.1](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.37.1-alpha.0...@newskit-render/core@2.37.1) (2023-01-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @newskit-render/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [2.37.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.37.0-alpha.2...@newskit-render/core@2.37.0) (2023-01-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @newskit-render/core
|
|
@@ -266,7 +266,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
266
266
|
33vw"
|
|
267
267
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
268
268
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
269
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
269
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
270
270
|
/>
|
|
271
271
|
</figure>
|
|
272
272
|
</div>
|
|
@@ -324,7 +324,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
324
324
|
33vw"
|
|
325
325
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
326
326
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
327
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
327
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
328
328
|
/>
|
|
329
329
|
</figure>
|
|
330
330
|
</div>
|
|
@@ -379,7 +379,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
379
379
|
33vw"
|
|
380
380
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
381
381
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
382
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
382
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
383
383
|
/>
|
|
384
384
|
</figure>
|
|
385
385
|
</div>
|
|
@@ -553,7 +553,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
553
553
|
33vw"
|
|
554
554
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
555
555
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
556
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
556
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
557
557
|
/>
|
|
558
558
|
</figure>
|
|
559
559
|
</div>
|
|
@@ -611,7 +611,7 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
611
611
|
33vw"
|
|
612
612
|
src="/_next/image?url=%2Fimg%2Furl&w=3840&q=75"
|
|
613
613
|
srcset="/_next/image?url=%2Fimg%2Furl&w=256&q=75 256w, /_next/image?url=%2Fimg%2Furl&w=384&q=75 384w, /_next/image?url=%2Fimg%2Furl&w=640&q=75 640w, /_next/image?url=%2Fimg%2Furl&w=750&q=75 750w, /_next/image?url=%2Fimg%2Furl&w=828&q=75 828w, /_next/image?url=%2Fimg%2Furl&w=1080&q=75 1080w, /_next/image?url=%2Fimg%2Furl&w=1200&q=75 1200w, /_next/image?url=%2Fimg%2Furl&w=1920&q=75 1920w, /_next/image?url=%2Fimg%2Furl&w=2048&q=75 2048w, /_next/image?url=%2Fimg%2Furl&w=3840&q=75 3840w"
|
|
614
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
614
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
615
615
|
/>
|
|
616
616
|
</figure>
|
|
617
617
|
</div>
|
|
@@ -29,7 +29,7 @@ exports[`Lead should render Lead 1`] = `
|
|
|
29
29
|
33vw"
|
|
30
30
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
31
31
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
32
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
32
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
33
33
|
/>
|
|
34
34
|
</figure>
|
|
35
35
|
</div>
|
|
@@ -87,7 +87,7 @@ exports[`Lead should render Lead 1`] = `
|
|
|
87
87
|
33vw"
|
|
88
88
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
89
89
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
90
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
90
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
91
91
|
/>
|
|
92
92
|
</figure>
|
|
93
93
|
</div>
|
|
@@ -142,7 +142,7 @@ exports[`Lead should render Lead 1`] = `
|
|
|
142
142
|
33vw"
|
|
143
143
|
src="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75"
|
|
144
144
|
srcset="/_next/image?url=%2Fassets%2Fplchldr150x100.png&w=256&q=75 256w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=384&q=75 384w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=640&q=75 640w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=750&q=75 750w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=828&q=75 828w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1080&q=75 1080w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1200&q=75 1200w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=1920&q=75 1920w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=2048&q=75 2048w, /_next/image?url=%2Fassets%2Fplchldr150x100.png&w=3840&q=75 3840w"
|
|
145
|
-
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;
|
|
145
|
+
style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; object-fit: contain; color: transparent;"
|
|
146
146
|
/>
|
|
147
147
|
</figure>
|
|
148
148
|
</div>
|
|
@@ -189,17 +189,17 @@ describe('Account Subscription & Cancellation', () => {
|
|
|
189
189
|
cy.contains('[data-testid="payment-type"]', 'Paypal account')
|
|
190
190
|
})
|
|
191
191
|
|
|
192
|
-
it('should show inline message for paypal subscription', () => {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
})
|
|
192
|
+
// it('should show inline message for paypal subscription', () => {
|
|
193
|
+
// cy.GetAcsSession('paypalSub')
|
|
194
|
+
// cy.mockConsentAndVisit('/account/subscription-and-billing')
|
|
195
|
+
// cy.get('a[href="/account/payment"]')
|
|
196
|
+
// .should('be.visible')
|
|
197
|
+
// .click({ force: true })
|
|
198
|
+
// cy.contains(
|
|
199
|
+
// '[data-testid="Zuora-inline"]',
|
|
200
|
+
// 'To update your Paypal credentials, please speak to one of our advisors on xxxx-xxx-xxxx or add a new payment method via credit/debit card using the form below.'
|
|
201
|
+
// )
|
|
202
|
+
// })
|
|
203
203
|
|
|
204
204
|
it('should show your deliveries section if the subscription has print', () => {
|
|
205
205
|
cy.GetTnlAcsSession('tnl')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "2.37.
|
|
3
|
+
"version": "2.37.2",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@emotion/styled": "11.10.4",
|
|
42
42
|
"@newskit-render/api": "^1.6.0",
|
|
43
43
|
"@newskit-render/auth": "^1.3.5",
|
|
44
|
-
"@newskit-render/checkout": "^2.0.
|
|
44
|
+
"@newskit-render/checkout": "^2.0.1",
|
|
45
45
|
"@newskit-render/feature-flags": "^1.4.6",
|
|
46
46
|
"@newskit-render/feed": "^1.4.9",
|
|
47
|
-
"@newskit-render/my-account": "^4.0.
|
|
48
|
-
"@newskit-render/shared-components": "^2.0.
|
|
49
|
-
"@newskit-render/standalone-components": "^2.0.
|
|
47
|
+
"@newskit-render/my-account": "^4.0.1",
|
|
48
|
+
"@newskit-render/shared-components": "^2.0.1",
|
|
49
|
+
"@newskit-render/standalone-components": "^2.0.1",
|
|
50
50
|
"@newskit-render/validation": "^1.5.7",
|
|
51
51
|
"cross-fetch": "3.1.5",
|
|
52
52
|
"graphql": "16.6.0",
|