Skip to content

Fix cypress tests#1242

Merged
Sidsector9 merged 10 commits into
developfrom
fix/e2e-tests
Aug 5, 2024
Merged

Fix cypress tests#1242
Sidsector9 merged 10 commits into
developfrom
fix/e2e-tests

Conversation

@kirtangajjar

Copy link
Copy Markdown
Contributor

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 a team and jeffpaul 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
Comment thread .github/workflows/cypress.yml
Comment thread tests/bin/initialize.sh Outdated
@kirtangajjar

Copy link
Copy Markdown
Contributor 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 a team and jeffpaul July 5, 2024 12:55
@iamdharmesh

Copy link
Copy Markdown
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

jeffpaul commented Jul 8, 2024

Copy link
Copy Markdown
Member

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

@kirtangajjar

Copy link
Copy Markdown
Contributor 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?

@iamdharmesh iamdharmesh left a comment

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.

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
@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