@newskit-render/core 4.58.3 → 4.58.4
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.58.4](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.58.3...@newskit-render/core@4.58.4) (2026-02-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @newskit-render/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [4.58.3](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.58.2...@newskit-render/core@4.58.3) (2026-02-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @newskit-render/core
|
|
@@ -371,48 +371,6 @@ describe('Personal detail edit pages', () => {
|
|
|
371
371
|
"Sorry, we're unable to save your email right now. Please try again or come back later."
|
|
372
372
|
)
|
|
373
373
|
})
|
|
374
|
-
|
|
375
|
-
it('Should change user email', () => {
|
|
376
|
-
const currentEmail = 'cmp-digi-card-20-09-22@yopmail.com'
|
|
377
|
-
const notRegistredEmail = 'not-registered-email@yopmail.com'
|
|
378
|
-
|
|
379
|
-
cy.get('a[href="/account/edit/email"]').should('be.visible').click()
|
|
380
|
-
|
|
381
|
-
cy.get('[name="email"]').clear()
|
|
382
|
-
cy.get('[name="email"]').type(notRegistredEmail)
|
|
383
|
-
cy.get('[data-testid="primary-button"]').click()
|
|
384
|
-
|
|
385
|
-
cy.contains('[data-testid="toast-container"]', 'Updating your email...')
|
|
386
|
-
|
|
387
|
-
// Redirects to Personal details page
|
|
388
|
-
cy.location().should((loc) => {
|
|
389
|
-
expect(loc.pathname).to.eq('/account')
|
|
390
|
-
})
|
|
391
|
-
cy.contains(notRegistredEmail).should('have.length', 1)
|
|
392
|
-
cy.contains(
|
|
393
|
-
'[data-testid="toast-container"]',
|
|
394
|
-
'Your email address was successfully updated'
|
|
395
|
-
)
|
|
396
|
-
|
|
397
|
-
// Back to edit email page
|
|
398
|
-
|
|
399
|
-
cy.get('a[href="/account/edit/email"]')
|
|
400
|
-
.should('be.visible')
|
|
401
|
-
.click({ force: true })
|
|
402
|
-
|
|
403
|
-
// Check the message for verification link
|
|
404
|
-
cy.contains(
|
|
405
|
-
`Email sent to ${notRegistredEmail} with a verification link. If you haven't received it yet, check again later or contact customer services on xxxx-xxx-xxxx`
|
|
406
|
-
)
|
|
407
|
-
|
|
408
|
-
// Change email back to the previous email
|
|
409
|
-
cy.intercept('POST', '/api/account/mutate').as('updateEmail')
|
|
410
|
-
|
|
411
|
-
cy.get('[name="email"]').clear()
|
|
412
|
-
cy.get('[name="email"]').type(currentEmail)
|
|
413
|
-
cy.get('[data-testid="primary-button"]').click()
|
|
414
|
-
cy.wait('@updateEmail')
|
|
415
|
-
})
|
|
416
374
|
})
|
|
417
375
|
|
|
418
376
|
describe('Edit password', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "4.58.
|
|
3
|
+
"version": "4.58.4",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"@types/pino-std-serializers": "2.4.1",
|
|
124
124
|
"@types/pino-pretty": "4.7.5"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "6515886c578a719d09abba291878ef2ff458b5a7"
|
|
127
127
|
}
|