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 failing test tests/core/creators/themedui #4096

Merged
merged 3 commits into from
Jun 5, 2020
Merged

Fix failing test tests/core/creators/themedui #4096

merged 3 commits into from
Jun 5, 2020

Conversation

Dumluregn
Copy link
Contributor

What is the purpose of this pull request?

Bug fix (failing tests)

Does your PR contain necessary tests?

All patches that change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.

This PR contains

  • Unit tests
  • Manual tests

Did you follow the CKEditor 4 code style guide?

Your code should follow the guidelines from the CKEditor 4 code style guide which helps keep the entire codebase consistent.

  • PR is consistent with the code style guide

What is the proposed changelog entry for this pull request?

none

What changes did you make?

Failing tests resize the editor to 50pt. It works fine on dev version, but not on built one. However in both cases the toolbar is manually set to contain just one button (table), so what is the problem? The other plugins changing UI - resize and elementspath. Because of them editor can't be resized to the desired 50pt. To solve it I just changed the test height from 50pt to 100pt.

Which issues does your PR resolve?

Closes #4084.

@Dumluregn Dumluregn changed the base branch from major to master June 5, 2020 10:50
@Dumluregn Dumluregn closed this Jun 5, 2020
@Dumluregn Dumluregn reopened this Jun 5, 2020
@Dumluregn
Copy link
Contributor Author

I closed and reopened this PR to trigger CI build.

@f1ames f1ames self-requested a review June 5, 2020 14:36
@f1ames f1ames self-assigned this Jun 5, 2020
@f1ames
Copy link
Contributor

f1ames commented Jun 5, 2020

☝️It worked and CI is green 🎉 But GH somehow didn't manage to update the status 🤷

Copy link
Contributor

@f1ames f1ames left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@f1ames f1ames merged commit a60c055 into master Jun 5, 2020
@f1ames f1ames deleted the t/4084 branch June 5, 2020 15:20
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.

Failing tests tests/core/creators/themedui
2 participants