[go: up one dir, main page]

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

Improve failure message for case where a given label doesn't match #640

Merged
merged 3 commits into from
Oct 20, 2021

Conversation

marcandre
Copy link
Contributor
@marcandre marcandre commented Oct 7, 2021

It distinguishes three cases about the id specified by the "for" attribute:

  • does not exist
  • exists once (but must be failing because of a type mismatch)
  • exists multiple times

[Fixes #619]

marcandre and others added 3 commits October 16, 2021 18:09
It distinguishes three cases about the id specified by the "for" attribute:
* does not exist
* exists once (but must be failing because of a type mismatch)
* exists multiple times

[Fixes elixir-wallaby#634]
@codecov-commenter
Copy link
codecov-commenter commented Oct 20, 2021

Codecov Report

Merging #640 (1e9a087) into main (19da8c6) will decrease coverage by 51.11%.
The diff coverage is 0.00%.

❗ Current head 1e9a087 differs from pull request most recent head 2e746e2. Consider uploading reports for the commit 2e746e2 to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##             main     #640       +/-   ##
===========================================
- Coverage   92.62%   41.50%   -51.12%     
===========================================
  Files          24       24               
  Lines         922      930        +8     
===========================================
- Hits          854      386      -468     
- Misses         68      544      +476     
Flag Coverage Δ
IntegrationTest ?
UnitTest 41.50% <0.00%> (-0.37%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/wallaby/browser.ex 9.90% <0.00%> (-84.60%) ⬇️
lib/wallaby/query/error_message.ex 47.27% <0.00%> (-38.45%) ⬇️
lib/wallaby/driver/log_checker.ex 0.00% <0.00%> (-100.00%) ⬇️
lib/wallaby/query/xpath.ex 4.76% <0.00%> (-95.24%) ⬇️
lib/wallaby/chrome.ex 7.69% <0.00%> (-88.47%) ⬇️
lib/wallaby/element.ex 0.00% <0.00%> (-77.15%) ⬇️
lib/wallaby/exceptions.ex 25.00% <0.00%> (-75.00%) ⬇️
lib/wallaby/feature.ex 0.00% <0.00%> (-72.00%) ⬇️
lib/wallaby/selenium.ex 16.04% <0.00%> (-60.50%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19da8c6...2e746e2. Read the comment docs.

@mhanberg mhanberg merged commit 81211d3 into elixir-wallaby:main Oct 20, 2021
@marcandre marcandre deleted the duplicate_id_bug634 branch October 20, 2021 17:11
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.

Misleading failure message on duplicated IDs
3 participants