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

Feature/implement issue 389 #515

Merged
merged 1 commit into from
Feb 7, 2020
Merged

Feature/implement issue 389 #515

merged 1 commit into from
Feb 7, 2020

Conversation

briemla
Copy link
Contributor

@briemla briemla commented Jan 30, 2020

Before submission, please check that ...

  • the code follows the Clean Code guidelines.
  • the necessary tests are either created or updated.
  • all status checks (Travis CI, SonarCloud, etc.) pass.
  • your commit history is cleaned up.
  • you updated the changelog.
  • you updated necessary documentation within retest/docs.

Description

Support more complex CSS selectors when healing tests.

This is a partial implementation of issue #389. It supports all attribute selectors specified at w3schools and the following pseudo class selectors: :checked, :disabled and :read-only

State of this PR

This PR does not support pseudo class selectors except :checked, :disabled and :read-only.

Additional Context

@cla-bot cla-bot bot added the cla-signed label Jan 30, 2020
@briemla briemla requested review from diba1013, a team and beatngu13 and removed request for diba1013 and a team January 30, 2020 18:54
Copy link
Contributor

@beatngu13 beatngu13 left a comment

Choose a reason for hiding this comment

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

Great PR, just a few comments/suggestions from my side.

Since all three commits share the same commit message, I suggest to squash them.

@rebazer rebazer force-pushed the feature/implement-issue-389 branch 2 times, most recently from 367a5e1 to 14d5845 Compare February 6, 2020 16:06
Implement all attribute selectors.
Ensure attribute value is available.
Create predicates for css selectors in separate class.
Configure supported css selectors via regex expression and factory
method.
Support already available pseudo classes.
Ignore not selector.
Verify attribute selectors in integration test.
Update changelog
@sonarcloud
Copy link

sonarcloud bot commented Feb 7, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 1 Security Hotspot to review)
Code Smell A 7 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@rebazer rebazer merged commit d320748 into master Feb 7, 2020
@rebazer rebazer deleted the feature/implement-issue-389 branch February 7, 2020 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants