Skip to content

Tracker | Testing environment setup and issues #24

@AnnaSasDev

Description

@AnnaSasDev

Currently we have testing in place for basic Photino functionality, but there are some caveats with the current test setup.


Operating systems

Windows

  • The functionality of SetContextMenuEnabled is pefectly working in a normal sample, but when trying to apply testing it the transport connection between C# and Photino.Native just breaks
  • The functionality of SetDevToolsEnabled is pefectly working in a normal sample, but when trying to apply testing it the transport connection between C# and Photino.Native just breaks
  • Playwright : does not want to work on the cicd pipeline

Linux

  • Linux environment does not support all features for proper window management, like minimize and maximize.
  • Anything that has to do with manipulation of the window location, movement and other related stuff does not work in the current test environment.
  • lack of transparency support after initialization.

MacOs

  • MacOs evironment does not support any testing that requires actual window spawning due to main thread conflicts. This is seemingly a problem indirectly caused by the TUnit framework.

Testing libraries

Playwright testing

  • Currently this is only to be able to be ran locally on a windows device. This should be able to also ran on the windows action environment but there seems to be an issue with setting up the photino window. see failed run for lack of explanation in the logs.

Preferably these, and any upcomming issues should be resolved and be able to be tested in some way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions