Skip to content

HorizontalGallery UI tests using MockCallingAdapter#1347

Merged
mgamis-msft merged 58 commits intomainfrom
mgamis/horizontal-gallery-ui-tests
Feb 2, 2022
Merged

HorizontalGallery UI tests using MockCallingAdapter#1347
mgamis-msft merged 58 commits intomainfrom
mgamis/horizontal-gallery-ui-tests

Conversation

@mgamis-msft
Copy link
Copy Markdown
Contributor

What

  • Changed Calling playwright app such that if state is provided as a qArgs in the test then we will use the the MockCallingAdapter. Otherwise an actual CallingAdapter is created using createAzureCommunicationCallAdapter
    will be used for the CallComposite.
  • HorizontalGallery UI snapshot test for 1 page and multiple pages of participants added
  • Identifiers added HorizontalGallery navigation buttons to perform click in playwright test

Why

https://skype.visualstudio.com/SPOOL/_workitems/edit/2686575

How Tested

Running HorizontalGallery.test.ts playwright tests along to check if they consistently pass

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft
Copy link
Copy Markdown
Contributor Author

mgamis-msft commented Jan 31, 2022

Icon seems to have moved upwards in packages/react-composites/tests/browser/call/Localization.test.ts-snapshots/localized-call-configuration-page-Mobile-Android-Portrait-win32.png image

It seems like the CI did not the snapshots for localization tests. Because I can see from our dogfood app that the bottom of the icon aligns with the bottom of the text in our buttons.
image
Sorry for putting in these unrelated snapshot updates but I thought they ought to be updated. I will remove these updates and put them in a separate PR.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 1, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 1, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2022

@mgamis-msft mgamis-msft merged commit a6c7201 into main Feb 2, 2022
@mgamis-msft mgamis-msft deleted the mgamis/horizontal-gallery-ui-tests branch February 2, 2022 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants