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 e2e tests #122

Merged
merged 3 commits into from
Jul 29, 2020
Merged

Fix e2e tests #122

merged 3 commits into from
Jul 29, 2020

Conversation

jacekbogdanski
Copy link
Member

Typing tests are partially caused by protractor/selenium upstreams, i.e.

angular/protractor#2019
angular/protractor#3196

and the fact that CKEditor 4 updates its content asynchronously. I've provided as a simple fix for the issue, but it requires resigning from sending special keystrokes like bold which also are handled incorrectly. Those keystrokes don't seem to be important for test validation.

Form issue is caused by an invalid editable query where it's embedded inside an iframe. Instead of doing some query gymnastic, I've just changed the sample to use divarea editor.

Closes #118

@Dumluregn Dumluregn self-requested a review July 27, 2020 11:24
@Dumluregn Dumluregn self-assigned this Jul 27, 2020
Copy link
Collaborator

@Dumluregn Dumluregn left a comment

Choose a reason for hiding this comment

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

Looks good 👍 Inability to test special keystrokes is a small bummer, but we can live with that if that is a price for working tests 😄 We just need to remove some leftovers from the previous solution used here and we are good to go.

e2e/src/app.po.ts Outdated Show resolved Hide resolved
e2e/src/app.po.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@Dumluregn Dumluregn left a comment

Choose a reason for hiding this comment

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

LGTM!

@Dumluregn Dumluregn merged commit 4fff407 into master Jul 29, 2020
@Dumluregn Dumluregn deleted the t/118 branch July 29, 2020 08:05
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.

E2E typing/demo-forms tests fails
2 participants