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

Forms-3342 editElementQuery changes as span #883

Merged
merged 5 commits into from
Sep 27, 2023
Merged

Forms-3342 editElementQuery changes as span #883

merged 5 commits into from
Sep 27, 2023

Conversation

AnurudraS
Copy link
Contributor

Description

the editElementQuery was label initially but in button it should be span as we have used span for the title in place of label
added the necessary test cases for the particular change.

Related Issue

FORMS-3342 Title issue is while inline editing the title for Button, Reset and Submit button.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes and the overall coverage did not decrease.
  • All unit tests pass on CircleCi.
  • I ran all tests locally and they pass.

@adobe-bot
Copy link

Lighthouse scores (mobile)

Performance Accessibility Best-Practices SEO
Scores 91 100 100 73

@adobe-bot
Copy link

Lighthouse scores (desktop)

Performance Accessibility Best-Practices SEO
Scores 100 100 100 73

@adobe-bot
Copy link

Accessibility Violations Found

Id Impact
label-title-only serious
landmark-one-main moderate
region moderate

@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

Merging #883 (4cf3aab) into dev (00583ee) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev     #883   +/-   ##
=========================================
  Coverage     80.07%   80.07%           
  Complexity      714      714           
=========================================
  Files            87       87           
  Lines          2023     2023           
  Branches        269      269           
=========================================
  Hits           1620     1620           
  Misses          254      254           
  Partials        149      149           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

$span[0].textContent = '';
});
cy.get('body').click( 0,0);
cy.get('span.sidepanel-tree-item-label label.name').as('labelElement');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we have a better CSS selector for this ? Are these CSS classes public ?

Copy link
Collaborator

@rismehta rismehta left a comment

Choose a reason for hiding this comment

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

check comments

@adobe-bot
Copy link

Lighthouse scores (mobile)

Performance Accessibility Best-Practices SEO
Scores 88 100 100 73

@adobe-bot
Copy link

Lighthouse scores (desktop)

Performance Accessibility Best-Practices SEO
Scores 100 100 100 73

@adobe-bot
Copy link

Accessibility Violations Found

Id Impact
label-title-only serious
landmark-one-main moderate
region moderate

@adobe-bot
Copy link

Lighthouse scores (desktop)

Performance Accessibility Best-Practices SEO
Scores 100 100 100 73

@adobe-bot
Copy link

Lighthouse scores (mobile)

Performance Accessibility Best-Practices SEO
Scores 89 100 100 73

@adobe-bot
Copy link

Accessibility Violations Found

Id Impact
label-title-only serious
landmark-one-main moderate
region moderate

@rismehta rismehta merged commit 8fa9dbe into dev Sep 27, 2023
5 checks passed
im-shiv pushed a commit that referenced this pull request Oct 3, 2023
* FORMS-3342 : editElementQuery changes as span

* FORMS-3342 : added the test cases

* FORMS-3342 : test case editted

* FORMS-3342 : changes due to review commits

* FORMS-3342 : changes due to
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.

3 participants