Skip to content

tests: add cypress tests for Renku 2.0 - #3879

Merged
lorenzo-cavazzi merged 15 commits into
release-0.65.0from
lorenzo/cypress-renku-2.0
Mar 4, 2025
Merged

lorenzo-cavazzi merged 15 commits into
release-0.65.0from
lorenzo/cypress-renku-2.0

Conversation

@lorenzo-cavazzi

@lorenzo-cavazzi lorenzo-cavazzi commented Jan 28, 2025 •

Copy link
Copy Markdown
Member

This PR adds acceptance tests for Cypress 2.0.

ℹ️ Mind that all commits have been reviewed separately, except the initial part to update how we lint/format (b620dea) and the next commit formatting all the existing files.

/deploy

fix #3874

@RenkuBot

Copy link
Copy Markdown
Collaborator

@lorenzo-cavazzi
lorenzo-cavazzi force-pushed the lorenzo/cypress-renku-2.0 branch from 5de4b16 to aa689e2 Compare January 28, 2025 14:52
@lorenzo-cavazzi
lorenzo-cavazzi force-pushed the lorenzo/cypress-renku-2.0 branch from aa689e2 to cbe29dc Compare January 31, 2025 13:31
@lorenzo-cavazzi
lorenzo-cavazzi changed the base branch from master to release-0.65.0 January 31, 2025 14:33
@Panaetius
Panaetius force-pushed the release-0.65.0 branch 2 times, most recently from b20d7fc to 62c67b3 Compare February 7, 2025 05:14
@lorenzo-cavazzi
lorenzo-cavazzi marked this pull request as ready for review March 4, 2025 09:37
@lorenzo-cavazzi
lorenzo-cavazzi requested a review from a team as a code owner March 4, 2025 09:37
Comment thread .github/workflows/pull-request-test.yml Outdated
path: docs/_build/html/

check-deploy:
name: Anylize deploy string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Comment thread .github/workflows/pull-request-test.yml Resolved
@lorenzo-cavazzi
lorenzo-cavazzi merged commit da62930 into release-0.65.0 Mar 4, 2025
@lorenzo-cavazzi
lorenzo-cavazzi deleted the lorenzo/cypress-renku-2.0 branch March 4, 2025 11:00
@lorenzo-cavazzi
lorenzo-cavazzi restored the lorenzo/cypress-renku-2.0 branch March 4, 2025 12:01
@lorenzo-cavazzi
lorenzo-cavazzi deleted the lorenzo/cypress-renku-2.0 branch March 4, 2025 13:01
Panaetius pushed a commit that referenced this pull request Mar 4, 2025
* chore: create release 0.65.0

* chore(ci): update renku actions to v1.14.0 (#3886)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* fix: update csi rclone to 0.3.6 (#3889)

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /cypress-tests (#3888)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /cypress-tests (#3840)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>

* Merge branch 'master' into release-0.65.0 (#3895)

* feat(helm): Make Jena passwords optional in values file.

This commit continues on the topic of making the definition
of the secrets in the values files optional, to simplify CI
deployments.

As previous similar commits this change supports:

- Existing deployments where the secret is defined will
keep working as usual

- New deployments where the secret is defined will keep
working as they did before this change

- New deployments where the secret is NOT defined will
get 2 random passwords which will be persisted across
upgrades/redeployments

The three scenarios have been manually tested.

* feat: Make Redis and OIDC client secrets optional.

These are the last two secrets that were needed to be generated
out-of-bands before deploying Renkulab.

Thus the `generate-values` script is not really necessary anymore
and in its place there is a `minimal-deployment` values file that
in a future commit will also be used as a base for CI deployments.

The documentation has been updated to reflect the removal of the
script.

Further cleanup and simplification of the Helm chart will result
in a smaller and simpler minimum-deployment file, with the ultimate
goal of being able to issue `helm install renku/renku` resulting
in a functioning development deployment.

* feat: Define some more sensible defaults.

* feat: Configure data-services to connect to solr (#3918)

* chore(ci): update renku actions to v1.14.1 (#3927)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* chore: update renku-ui to 3.47.0 (#3930)

* revert: Configure data services to connect to solr

Refs: e831264

* tests: add cypress tests for Renku 2.0 (#3879)

* Add prettier and update linter configuration
* Fix setting up baseUrl when running on cli
* Test project basic operations: create, edit, delete (#3881, #3908)
* Test working on groups: create, edit, delete (#3883, #3908)
* Test project resources -- code, data, environments (#3894)
* Test search entities (#3904)
* Test anonymous users navigation (#3906)
* Test running sessions (#3912)
* Update the cypress tests readme file (#3884)
* Split v2 and legacy cypress tests, improve naming (#3926)

---------

Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Rok Roškar <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Alessandro Degano <[email protected]>
Co-authored-by: eikek <[email protected]>
Co-authored-by: Chandrasekhar Ramakrishnan <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
olevski added a commit that referenced this pull request May 13, 2025
* chore: create release 0.65.0

* chore(ci): update renku actions to v1.14.0 (#3886)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* fix: update csi rclone to 0.3.6 (#3889)

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /cypress-tests (#3888)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /cypress-tests (#3840)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>

* Merge branch 'master' into release-0.65.0 (#3895)

* feat(helm): Make Jena passwords optional in values file.

This commit continues on the topic of making the definition
of the secrets in the values files optional, to simplify CI
deployments.

As previous similar commits this change supports:

- Existing deployments where the secret is defined will
keep working as usual

- New deployments where the secret is defined will keep
working as they did before this change

- New deployments where the secret is NOT defined will
get 2 random passwords which will be persisted across
upgrades/redeployments

The three scenarios have been manually tested.

* feat: Make Redis and OIDC client secrets optional.

These are the last two secrets that were needed to be generated
out-of-bands before deploying Renkulab.

Thus the `generate-values` script is not really necessary anymore
and in its place there is a `minimal-deployment` values file that
in a future commit will also be used as a base for CI deployments.

The documentation has been updated to reflect the removal of the
script.

Further cleanup and simplification of the Helm chart will result
in a smaller and simpler minimum-deployment file, with the ultimate
goal of being able to issue `helm install renku/renku` resulting
in a functioning development deployment.

* feat: Define some more sensible defaults.

* feat: Configure data-services to connect to solr (#3918)

* chore(ci): update renku actions to v1.14.1 (#3927)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* chore: update renku-ui to 3.47.0 (#3930)

* revert: Configure data services to connect to solr

Refs: e831264

* tests: add cypress tests for Renku 2.0 (#3879)

* Add prettier and update linter configuration
* Fix setting up baseUrl when running on cli
* Test project basic operations: create, edit, delete (#3881, #3908)
* Test working on groups: create, edit, delete (#3883, #3908)
* Test project resources -- code, data, environments (#3894)
* Test search entities (#3904)
* Test anonymous users navigation (#3906)
* Test running sessions (#3912)
* Update the cypress tests readme file (#3884)
* Split v2 and legacy cypress tests, improve naming (#3926)

---------

Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Rok Roškar <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Alessandro Degano <[email protected]>
Co-authored-by: eikek <[email protected]>
Co-authored-by: Chandrasekhar Ramakrishnan <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>

This branch was successfully deployed

1 active deployment
ci-renku-3879 — e35ef9e2 Deployed Mar 4, 2025 by lorenzo-cavazzi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Cypress acceptance tests for Renku 2.0

4 participants