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

Fix cypress tests #1242

Merged
merged 10 commits into from
Aug 5, 2024
Merged

Fix cypress tests #1242

merged 10 commits into from
Aug 5, 2024

Conversation

kirtangajjar
Copy link
Member

Description of the Change

Fixes E2E tests

Closes #1241

How to test the Change

Changelog Entry

Fixed - E2E tests

Credits

Props @kirtangajjar

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@kirtangajjar kirtangajjar requested review from jeffpaul and a team as code owners July 5, 2024 12:21
@kirtangajjar kirtangajjar changed the base branch from trunk to develop July 5, 2024 12:22
@github-actions github-actions bot added this to the 2.1.0 milestone Jul 5, 2024
@github-actions github-actions bot added the needs:code-review This requires code review. label Jul 5, 2024
tests/bin/initialize.sh Outdated Show resolved Hide resolved
@kirtangajjar
Copy link
Member Author

The pending work here is described in #1237 (comment). Basically as we have removed quotes around command here, we need to do the same in https://github.com/10up/cypress-wp-utils/blob/develop/src/commands/wp-cli.ts#L21 unless we find a different solution.

@jeffpaul jeffpaul requested review from a team and iamdharmesh and removed request for jeffpaul and a team July 5, 2024 12:55
@iamdharmesh
Copy link
Member

@kirtangajjar PR looks good to me just added one note to discuss it.

we need to do the same in https://github.com/10up/cypress-wp-utils/blob/develop/src/commands/wp-cli.ts#L21 unless we find a different solution.

I have already raised PR 10up/cypress-wp-utils#128 to handle this in https://github.com/10up/cypress-wp-utils/

Just curious on why E2E test GH action check is not triggered on this PR 🤔

Thank you.

@faisal-alvi faisal-alvi mentioned this pull request Jul 5, 2024
4 tasks
@jeffpaul
Copy link
Member

jeffpaul commented Jul 8, 2024

@iamdharmesh looks like e2e tests are running with latest commit 🤷🏼

@kirtangajjar
Copy link
Member Author

@jeffpaul I think the code is good to merge. I'm observing some tests are failing for Should push oEmbed content on some envs, which I think is because the tests might be flakey. I cannot think of other reasons why they're failing.

cc @iamdharmesh any thoughts on why the tests could be failing otherwise?

Copy link
Member

@iamdharmesh iamdharmesh left a comment

Choose a reason for hiding this comment

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

Yes @kirtangajjar, It seems like flaky tests. I tried re-run on my commit and now it is passing. Approving. Thanks for all your great work here.

@Sidsector9 Sidsector9 merged commit ff4f06b into develop Aug 5, 2024
18 checks passed
@Sidsector9 Sidsector9 deleted the fix/e2e-tests branch August 5, 2024 03:36
@dkotter dkotter modified the milestones: 2.1.0, 2.0.5 Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:code-review This requires code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix E2E tests
5 participants