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

Test Automation for All available solutions on the new dashboard #1841

Closed
ramezsaeed opened this issue Jan 1, 2024 · 19 comments
Closed

Test Automation for All available solutions on the new dashboard #1841

ramezsaeed opened this issue Jan 1, 2024 · 19 comments
Assignees
Milestone

Comments

@ramezsaeed
Copy link
Contributor

Add automated tests for all solutions in dashboard.

  • Tests must include ssh to the created solution.
  • successful login if the solution has UI interface
@ramezsaeed ramezsaeed added this to the 2.4.0 milestone Jan 1, 2024
@ramezsaeed ramezsaeed added this to 3.14.x Jan 1, 2024
@ramezsaeed ramezsaeed moved this to Accepted in 3.14.x Jan 1, 2024
@khaledyoussef24
Copy link
Contributor

Wip

  • added a new solutions page to the selenium
  • Added a separate page for solutions (full vm and micro vm)
  • On going automated test for deploying still working on verifying the deployment and asserting then will go to deleting.

@xmonader
Copy link
Contributor

xmonader commented Jan 8, 2024

it should be scripted first (and added to integration tests)

@khaledyoussef24
Copy link
Contributor

WIP
started in two automated tests but stuck in making them passing
(peertube , funk whale)

@ramezsaeed ramezsaeed moved this from Accepted to In Progress in 3.14.x Jan 24, 2024
@khaledyoussef24
Copy link
Contributor

khaledyoussef24 commented Feb 13, 2024

work done:

  • added scripts to all of the 12 soltuions
  • domain generating still needs some fixing (tested on public ips)
  • finished 5 solutions but could not test them freely due to lack of public ips and the planetary ip current issue and development to use mycellium.
  • deployments are made without planetary ip #2107

telegram-cloud-document-4-5933652732815610166

WIP:
finishing the rest of the tests.
adding to ping the solutions through ip with time out to assert that the websites made.
tests left to be done

  • owncloud
  • presearch
  • subsquid
  • casperlabs
  • node pilot
  • umbrel
  • wordpress

@khaledyoussef24
Copy link
Contributor

work done : finished test and testing them to see if it works properly

@khaledyoussef24
Copy link
Contributor

the new branch is ready for review
solved all the conflicts

@ramezsaeed ramezsaeed moved this from In Progress to Pending Review in 3.14.x Feb 20, 2024
@khaledyoussef24
Copy link
Contributor

work done :

  • added a http request to the test to check if the gateway deployed right.
  • added mycelium flag to the tests and scripts.
  • the pr is ready for review.

@khaledyoussef24
Copy link
Contributor

tried scripts and working fine.
tests don't work with consistency, but still work.
PR is ready for review.

@khaledyoussef24
Copy link
Contributor

some changes are made so scripts needs to be updated.
comments are resolved but still searching why scripts are not working.

@khaledyoussef24 khaledyoussef24 moved this from Pending Review to Accepted in 3.14.x Apr 21, 2024
@khaledyoussef24 khaledyoussef24 moved this from Accepted to In Progress in 3.14.x Apr 21, 2024
@khaledyoussef24 khaledyoussef24 modified the milestones: 2.4.0, 2.5.0 Apr 28, 2024
@Mahmoud-Emad Mahmoud-Emad moved this from In Progress to Pending Review in 3.14.x May 2, 2024
@khaledyoussef24
Copy link
Contributor

Work done
scripts for solutions are added.
the vms are working fine with flists waiting to be tested with public ips then will move the pr from drafts.
(created a new branch because the old branch had so many conflicts.)
will continue the tests after the pr gets merged.

@khaledyoussef24
Copy link
Contributor

estimated time for the tests 3 days after the test run of testnet andthe script branch gets merged.

@A-Harby
Copy link
Contributor

A-Harby commented May 21, 2024

#2743

@A-Harby
Copy link
Contributor

A-Harby commented May 23, 2024

#2743

This PR got accepted and merged, and I created another PR with remaining solutions scripts here #2766.
And now pending reviews.

@A-Harby
Copy link
Contributor

A-Harby commented May 27, 2024

I created the a third PR for the automated tests for the casperlabs and waiting for the reviews. #2784

@A-Harby
Copy link
Contributor

A-Harby commented May 28, 2024

The 2 PRs for the grid client scripts, #2743 and #2766, got approved and merged.

waiting for CasperLabs automated tests PR to get approved to create other PRs with the rest of the solutions tests.

@A-Harby
Copy link
Contributor

A-Harby commented Jun 2, 2024

Updated PR with Peertube, Funkwhale, and CasperLabs, and still waiting for review.

And got blocked on threefoldtech/tf-images#250 and #2833.

@ramezsaeed ramezsaeed removed this from 3.14.x Jun 11, 2024
@ramezsaeed ramezsaeed modified the milestones: 2.5.0, 2.6.0 Jun 11, 2024
@A-Harby
Copy link
Contributor

A-Harby commented Jun 25, 2024

As 3 automated tests scripts are megered #2784, I created another PR with the remaining 8 applications #2890

@A-Harby
Copy link
Contributor

A-Harby commented Jun 25, 2024

Created a separate PR for Algorand and presearch: #3030.

@A-Harby A-Harby moved this to Pending Review in 3.15.x Jun 25, 2024
@A-Harby
Copy link
Contributor

A-Harby commented Aug 20, 2024

By having last PR merged this issue should be done.

All of the 13 scripts for the applications are created in example folder, And their tests are created with Jest on tests folder.

@A-Harby A-Harby moved this from Pending Review to Done in 3.15.x Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants