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

[QA] Run automated GUI tests in Windows #9833

Closed
4 tasks done
Tracked by #10973
Talank opened this issue Jun 30, 2022 · 2 comments
Closed
4 tasks done
Tracked by #10973

[QA] Run automated GUI tests in Windows #9833

Talank opened this issue Jun 30, 2022 · 2 comments
Assignees
Labels
p2-high Escalation, on top of current planning, release blocker QA:team

Comments

@Talank
Copy link
Contributor

Talank commented Jun 30, 2022

Describe the QA issue

Currently we are running all the automated tests in ubuntu, but with some changes, we should be able to run the tests in Windows as well (at least run it locally).

Steps to reproduce the issue

  1. Download ownCloud client (already built) and install it in windows.
  2. Set up ownCloud core (if you are using virtual machine, then you can use the core that you have set up in your host, you might need to configure the host file of the virtual machine and trusted_domains domains on core config)
  3. Download squish for windows (for example squish-6.7.2-qt512x-win64-msvc141.exe) and install it
  4. Install python 3.8 on windows
  5. Download PythonChanger.py script and save it inside your squish installation directory
  6. run python PythonChanger.py from squish installation directory
  7. Run owncloud-test-middleware (just like core, you can run it in host machine, if you are using virtual machine for windows. Alternatively, you can run middleware in drone). You might need node installed if you want to run middleware locally.
  8. Install required python libraries
    • pip install requests
    • pip install pycairo
    • pip install PyGObject

NOTE the PyGObject library is not available in windows. You can install this library using mingw as shown here. However, the problem so far is that this tool can not be used to install python 3.8 so far. And we need python 3.8 for squish.

Open tasks

Tests skipped for Windows:

  • Sharing link with expiration date (difference in date format)
  • Syncing a folder having space at the end (white space is trimmed)
  • Filenames that are rejected by the server are reported (invalid file name for windows)
  • Sync long nested folder (windows doesn't allow long path name)
  • Invalid system names are synced in linux (linux only)

Feature disabled for Windows:

  • Screenshots
  • Stacktracing
@Talank Talank added the QA:team label Jun 30, 2022
@Talank
Copy link
Contributor Author

Talank commented Jun 30, 2022

It is blocked, until we can figure out a method to install python 3.8 and pgGObject library in python 3.8 in windows

@saw-jan
Copy link
Member

saw-jan commented Jan 1, 2024

Now we can run Squish tests in Windows.
Docs: https://doc.owncloud.com/desktop/next/appendices/guitest.html

@saw-jan saw-jan closed this as completed Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-high Escalation, on top of current planning, release blocker QA:team
Projects
None yet
Development

No branches or pull requests

4 participants