Skip to content

[Issue] Fixing the flaky test that fails because of the wrong formatted date value #31518

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #31509: Fixing the flaky test that fails because of the wrong formatted date value


Description (*)

This PR is supposed to fix the failing MFTF test, that fails because of the wrong formatted date value.

Failed testing for '01/4/21' in default_value_date's value: '1/4/21'
Failed asserting that an array contains '01/4/21'.

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes magento/magento2#<issue_number>

Manual testing scenarios (*)

  1. ...
  2. ...

Questions or comments

Actually, the root issue is somewhere deeper, because the date input removes the 0 for days like 04/4/2021.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions