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

Fix a whole bunch of existing failing test cases #308

Merged
merged 1 commit into from
May 4, 2023

Conversation

GioSensation
Copy link
Member

@GioSensation GioSensation commented May 4, 2023

Reviewer: @alistairjcbrown
Asana: https://app.asana.com/0/0/1204529098552468/f

Description

Just a bunch of fixes for known issues.

Steps to test

This literally fixes known test failures 🙂.

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
@GioSensation GioSensation self-assigned this May 4, 2023
@GioSensation GioSensation marked this pull request as ready for review May 4, 2023 09:38
Copy link
Member

@alistairjcbrown alistairjcbrown left a comment

Choose a reason for hiding this comment

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

Added a couple of questions for my own knowledge, but awesome to see all those expectedFailures values disappear! LGTM :shipit:

@@ -109,7 +109,7 @@ <h1 class="bold xs-mb1 xs-text-2">Sign Up To BuzzFeed</h1>
form signature in host form: 10289224486994181929
field frame token: 0685299093D39AE644081FF8F922F684
form renderer id: 1
field renderer id: 7" data-ddg-testresultelementid="547893" data-manual-scoring="password">
field renderer id: 7" data-ddg-testresultelementid="547893" data-manual-scoring="username">
Copy link
Member

Choose a reason for hiding this comment

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

❓ Just confirming it's expected that our manual scoring value can be at odds with the details in autofill-information (which say, incorrectly, password)?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's expected (though rare). That was added by Chrome during the comparison project. We left it for reference, but we shouldn't rely on it.

section: fakeemailremembered_0_15
field signature: 475301429
form signature: 9486430941283870347
form signature in host form: 9486430941283870347
field frame token: EE88768FD088DBFD37B69597958CA8DC
form renderer id: 3
field renderer id: 20" data-ddg-testresultelementid="582940" data-manual-scoring="password">
field renderer id: 20" data-ddg-testresultelementid="582940">
Copy link
Member

Choose a reason for hiding this comment

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

❓ Is the manual scoring removed as this input is not longer matched?

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct. We don't want to match this as it's a hidden dummy field they use internally, it's not shown to users and we explicitly try to skip it.

@GioSensation GioSensation merged commit 4648da3 into main May 4, 2023
@GioSensation GioSensation deleted the ema/update-form-tests branch May 4, 2023 10:43
CDRussell pushed a commit to duckduckgo/Android that referenced this pull request May 8, 2023
Task/Issue URL:
https://app.asana.com/0/1204538113123459/1204538113123459
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.5.1


## Description
Updates Autofill to version
[6.5.1](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.5.1).

### Autofill 6.5.1 release notes
## What's Changed
* Disable pixel for all platforms but extension by @GioSensation in
duckduckgo/duckduckgo-autofill#309
* Fix release script for BSK by @GioSensation in
duckduckgo/duckduckgo-autofill#310

Included in 6.5.0:
- Improve debugging by @GioSensation in
duckduckgo/duckduckgo-autofill#293
- Reduce the calls on check position when there are many mutations by
@alistairjcbrown in
duckduckgo/duckduckgo-autofill#288
- Window release fetch tags before checkout by @alistairjcbrown in
duckduckgo/duckduckgo-autofill#296
- Autofill compare generated test suites by @greyivy in
duckduckgo/duckduckgo-autofill#283
- Update release scripts with latest Apple tooling by @GioSensation in
duckduckgo/duckduckgo-autofill#299
- Add temporary incontext_eligible pixel by @GioSensation in
duckduckgo/duckduckgo-autofill#304
- Fix double-click issue by @GioSensation in
duckduckgo/duckduckgo-autofill#306
- Fix a whole bunch of existing failing test cases by @GioSensation in
duckduckgo/duckduckgo-autofill#308


**Full Changelog**:
duckduckgo/duckduckgo-autofill@6.5.0...6.5.1

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: GioSensation <GioSensation@users.noreply.github.com>
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.

2 participants