Skip to content

Update Tests for EDK2 File Explorer Fix #912

Open
@BeataZdunczyk

Description

@BeataZdunczyk

The problem you're addressing (if any)

We are currently using a workaround in the Execute File In File Explorer keyword due to a bug in EDK2.
Right now test have to press an extra arrow in the File Explorer.

Execute File In File Explorer
    [Documentation]    Execute the given file (with ENTER key)
    [Arguments]    ${target_file}
    # 1. Select desired file
    ${files}=    Get Submenu Construction
    Log    ${files}
    ${index}=    Get Index Of Matching Option In Menu    ${files}    ${target_file}
    # FIXME: We must add 1 due to empty selecatble space in File Manager
    Press Key N Times And Enter    ${index}+1    ${ARROW_DOWN}

The EDK2 issue is being fixed in: Dasharo/edk2#260.
Once this fix is merged, it will break the tests.

Describe the solution you'd like

  • Identify all affected test cases
  • Update affected test cases to apply the workaround conditionally.
  • It is definitely affected in the Secure Boot tests, but it is necessary to check if any other tests are affected as well.
  • Verify behavior with and without the EDK2 fix

Where is the value to a user, and who might that user be?

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions