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

Copy how cypress is run on the server #1622

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

artonge
Copy link
Collaborator

@artonge artonge commented Feb 1, 2023

This make e2e experience nicer and the code cleaner
This also takes advantages of sessions, so tests should run faster. Confirmed, tests ran in 3:48 min, where average for this repo was 6:04 min

@artonge artonge self-assigned this Feb 1, 2023
@artonge artonge added this to the Nextcloud 26 milestone Feb 1, 2023
@artonge artonge added the 3. to review Waiting for reviews label Feb 1, 2023
@artonge artonge force-pushed the artonge/e2e/match_cypress_config_with_server branch from 4964377 to 1386f76 Compare February 1, 2023 16:33
cypress/dockerNode.ts Outdated Show resolved Hide resolved
@artonge artonge force-pushed the artonge/e2e/match_cypress_config_with_server branch from 1386f76 to e66d96d Compare February 1, 2023 17:01
Comment on lines +108 to +110
selectMedia([1, 2])
downloadSelection()
unselectMedia([1, 2])
Copy link
Member

Choose a reason for hiding this comment

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

Any reason not to make those cypress commands?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Mostly typings. Is there a reason to make them cypress commands ? I thought commands were the way to go, but it does not add anything in my experience.

@artonge artonge requested review from skjnldsv, marcelklehr, a team, Pytal and szaimen and removed request for a team February 2, 2023 10:37
@szaimen
Copy link
Contributor

szaimen commented Feb 8, 2023

Sorry but I could onky give a 🐘 on this

Copy link
Member

@marcelklehr marcelklehr left a comment

Choose a reason for hiding this comment

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

Tests are passing 🎉 🐘

@artonge artonge merged commit 6dafb6b into master Feb 8, 2023
@artonge artonge deleted the artonge/e2e/match_cypress_config_with_server branch February 8, 2023 14:53
@artonge
Copy link
Collaborator Author

artonge commented Sep 26, 2023

/backport to stable25

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Sep 26, 2023
@backportbot-nextcloud
Copy link

The backport to stable25 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable25
git pull origin stable25

# Create the new backport branch
git checkout -b fix/foo-stable25

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable25

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews backport-request Pending backport by the backport-bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants