@newskit-render/core 4.39.5 → 4.39.6
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
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
|
+
## [4.39.5](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.39.5-alpha.0...@newskit-render/core@4.39.5) (2024-11-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @newskit-render/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [4.39.4](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.39.4-alpha.0...@newskit-render/core@4.39.4) (2024-11-25)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @newskit-render/core
|
|
@@ -138,15 +138,14 @@ describe('Subscription and billing details for Digital user', () => {
|
|
|
138
138
|
cy.contains('expiry date 02/27')
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
//
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
cy.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
.contains('View')
|
|
141
|
+
// Section no longer displayed when Invoice history is empty due to graphql change
|
|
142
|
+
// Invoices are no longer fetched if older than 1 year
|
|
143
|
+
// This test would periodically fail as it depends on changing user data
|
|
144
|
+
it('Should not display empty Invoice history section', () => {
|
|
145
|
+
cy.get('[data-testid="ContentListIntroduction"]').should(
|
|
146
|
+
'not.contain',
|
|
147
|
+
'Invoice history'
|
|
148
|
+
)
|
|
150
149
|
})
|
|
151
150
|
|
|
152
151
|
it('Should NOT display Your deliveries section', () => {
|
|
@@ -227,17 +226,6 @@ describe('Subscription and billing details for Print user', () => {
|
|
|
227
226
|
)
|
|
228
227
|
})
|
|
229
228
|
|
|
230
|
-
// Skipped due to graphql changes. To be fixed with TMR-1959
|
|
231
|
-
it.skip('Should display Invoice history section', () => {
|
|
232
|
-
cy.contains('[data-testid="ContentListIntroduction"]', 'Invoice history')
|
|
233
|
-
cy.contains('Print pack')
|
|
234
|
-
cy.contains('24 Apr 2023')
|
|
235
|
-
cy.contains('Paid')
|
|
236
|
-
cy.get('a[data-testid="download-button"]')
|
|
237
|
-
.should('have.attr', 'href', '#')
|
|
238
|
-
.contains('View')
|
|
239
|
-
})
|
|
240
|
-
|
|
241
229
|
it('Should display Your deliveries section for users with vouchers', () => {
|
|
242
230
|
cy.GetTnlAcsSession('printVouchers')
|
|
243
231
|
cy.mockConsentAndVisit('/account/subscription-and-billing')
|
|
@@ -279,18 +267,6 @@ describe('Subscription and billing details for Digi-Print user', () => {
|
|
|
279
267
|
cy.contains('Digi-Print')
|
|
280
268
|
//...rest is same as Print user
|
|
281
269
|
})
|
|
282
|
-
|
|
283
|
-
// This test is going to fail on 13.11.2024 due to graphql changes.
|
|
284
|
-
// To be fixed with TMR-1959
|
|
285
|
-
it.skip('Should display Invoice history section', () => {
|
|
286
|
-
cy.contains('[data-testid="ContentListIntroduction"]', 'Invoice history')
|
|
287
|
-
cy.contains('Digi-Print pack')
|
|
288
|
-
cy.contains('12 Nov 2023')
|
|
289
|
-
cy.contains('Paid')
|
|
290
|
-
cy.get('a[data-testid="download-button"]')
|
|
291
|
-
.should('have.attr', 'href', '#')
|
|
292
|
-
.contains('View')
|
|
293
|
-
})
|
|
294
270
|
})
|
|
295
271
|
|
|
296
272
|
describe('Subscription and billing details for Paypal user', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "4.39.
|
|
3
|
+
"version": "4.39.6",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@newskit-render/checkout": "^3.10.26",
|
|
48
48
|
"@newskit-render/feature-flags": "^1.11.1",
|
|
49
49
|
"@newskit-render/feed": "^1.8.16",
|
|
50
|
-
"@newskit-render/my-account": "^7.87.
|
|
50
|
+
"@newskit-render/my-account": "^7.87.2",
|
|
51
51
|
"@newskit-render/shared-components": "^4.37.1",
|
|
52
52
|
"@newskit-render/standalone-components": "^3.23.9",
|
|
53
53
|
"@newskit-render/validation": "^1.18.1",
|