Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CXSPA-4442 New components for email and personal info #17839

Closed
wants to merge 61 commits into from

Conversation

scarai-sap
Copy link
Contributor

@scarai-sap scarai-sap commented Sep 18, 2023

ATT. Below is how it works now

Update new video with new css on 18:12 21 Sept. Please check it again

2023-09-21_18-12-04.mp4

@scarai-sap scarai-sap requested review from a team as code owners September 18, 2023 08:26
@github-actions github-actions bot marked this pull request as draft September 18, 2023 08:26
@cla-assistant
Copy link

cla-assistant bot commented Sep 18, 2023

CLA assistant check
All committers have signed the CLA.

@scarai-sap scarai-sap marked this pull request as ready for review September 18, 2023 10:43
@cypress
Copy link

cypress bot commented Sep 18, 2023

2 failed and 6 flaky tests on run #42014 ↗︎

2 162 2 0 Flakiness 6

Details:

Merge 9a71df7 into 7c5e276...
Project: spartacus Commit: 3e6f2f4bbc ℹ️
Status: Failed Duration: 06:51 💡
Started: Nov 24, 2023 8:44 AM Ended: Nov 24, 2023 8:51 AM
Failed  cypress/e2e/regression/asm/asm.emulation.core-e2e.cy.ts • 2 failed tests • B2C

View Output Video

Test Artifacts
Assisted Service Module > Customer Support Agent - Emulation > should test customer emulation Test Replay Screenshots Video
Assisted Service Module > Customer Support Agent - Emulation > should verify data changed by the agent as a customer Test Replay Screenshots Video
Flakiness  regression/checkout/checkout-flow.core-e2e.cy.ts • 1 flaky test • B2C

View Output Video

Test Artifacts
Checkout flow > Mobile > should checkout with a registered user Test Replay Screenshots Video
Flakiness  regression/variants/apparel-checkout-flow.core-e2e.cy.ts • 1 flaky test • B2C

View Output Video

Test Artifacts
Apparel - checkout flow > Mobile > should perform checkout with a registered user Test Replay Screenshots Video
Flakiness  ssr/product-listing-page.core-e2e.cy.ts • 1 flaky test • SSR

View Output Video

Test Artifacts
SSR - Product Listing Page > search request should only be made once and NOT on page reload > Digital Cameras (with query and sort) Test Replay Screenshots Video
Flakiness  ssr/pages.core-e2e.cy.ts • 3 flaky tests • SSR

View Output Video

Test Artifacts
SSR > should render homepage Test Replay Screenshots Video
SSR > should render PLP Test Replay Screenshots Video
SSR > should render PDP Test Replay Screenshots Video

Review all test suite changes for PR #17839 ↗︎

@github-actions github-actions bot marked this pull request as draft September 18, 2023 11:06
@scarai-sap scarai-sap marked this pull request as ready for review September 19, 2023 07:42
@github-actions github-actions bot marked this pull request as draft September 19, 2023 07:42
@evy-yang01
Copy link
Contributor

Button is supposed to be align to the right consistent with the input right place according to the mockup.
image

@evy-yang01
Copy link
Contributor

One question not very sure, don't we need to add our index to public_api.ts in components folder?
image

@scarai-sap
Copy link
Contributor Author

Button is supposed to be align to the right consistent with the input right place according to the mockup. image

I guess you want to align to left?

@scarai-sap
Copy link
Contributor Author

Button is supposed to be align to the right consistent with the input right place according to the mockup. image

In fact, it aligned and the padding is introduced by button.scss :(
image

@scarai-sap
Copy link
Contributor Author

public_api.ts

Be frankly, I don't know why we need it. I guess you are right. We need add it as other component does

@scarai-sap scarai-sap marked this pull request as ready for review November 22, 2023 08:47
@github-actions github-actions bot marked this pull request as draft November 22, 2023 08:47
@scarai-sap scarai-sap marked this pull request as ready for review November 22, 2023 08:48
@github-actions github-actions bot marked this pull request as draft November 22, 2023 08:49
@scarai-sap scarai-sap marked this pull request as ready for review November 22, 2023 10:02
@github-actions github-actions bot marked this pull request as draft November 22, 2023 10:17
@scarai-sap scarai-sap marked this pull request as ready for review November 23, 2023 09:11
@github-actions github-actions bot marked this pull request as draft November 23, 2023 09:27
@i53577
Copy link
Contributor

i53577 commented Nov 24, 2023

please add accessibility test

@scarai-sap scarai-sap marked this pull request as ready for review November 24, 2023 08:34
@scarai-sap
Copy link
Contributor Author

please add accessibility test

let me check whether it's in the scope

@scarai-sap
Copy link
Contributor Author

please add accessibility test

it's in https://jira.tools.sap/browse/CXSPA-4449

@github-actions github-actions bot marked this pull request as draft November 24, 2023 08:50
@scarai-sap scarai-sap marked this pull request as ready for review November 24, 2023 08:51
@i53577
Copy link
Contributor

i53577 commented Nov 24, 2023

Your e2e tests are already here. So I am curious why accessibility test is not. But it's ok for me to use another ticket that you mentioned to track it.

@@ -20,7 +20,7 @@ export function registerAndLogin() {
export function testUpdateEmailAndLogin() {
it('should update his email address and login', () => {
const newUid = generateMail(randomString(), true);
cy.get('cx-update-email').within(() => {
cy.get('cx-update-email, cx-my-new-account-v2-email').within(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if v1 and v2 will exist at the same time, then does this change mean v1's tests will not pass in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this grammar means A or B in here.

@@ -23,12 +23,19 @@ export function updateProfile(user?: SampleUser) {
);
cy.get('[formcontrolname="lastName"]').should('have.value', user.lastName);
}
cy.get('.myaccount-enhancedUI-editButton')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it's better to add new functions instead of modifying existing ones that for v1.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two sides of the coin, modify/reuse code make it easily if we wanna change sth in the future

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get the point. Does V1 also have this element myaccount-enhancedUI-editButton? Won't it cause any failure in V1‘s tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if no this element, not click edit. ===> in V1, it loaded with edit model
if with this element. click edit ==> n V2, transfer to edit model.

Then we can reuse edit feature as it's totally same.

@github-actions github-actions bot marked this pull request as draft November 27, 2023 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants