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

Latest UI breaks front end tests #3706

Closed
JohnMcLear opened this issue Mar 11, 2020 · 6 comments · May be fixed by enterstudio/etherpad-lite#19
Closed

Latest UI breaks front end tests #3706

JohnMcLear opened this issue Mar 11, 2020 · 6 comments · May be fixed by enterstudio/etherpad-lite#19
Assignees

Comments

@JohnMcLear
Copy link
Member

Not sure why this wasn't tested prior to merge but mmehhheh

http://instanceURI/tests/frontend

Run it and see what got broken :)

@muxator
Copy link
Contributor

muxator commented Mar 12, 2020

Run a test just now.

  • Etherpad bb868be, Colibris, DirtyDb, clean install
  • Node v12.13.1 on Linux
  • Firefox 73.0.1 (linux)

http://localhost:9001/tests/frontend/ completes with 100% success.

Analogously, the tests completed with the most recent (at the time) combination of Software & Browser versions when the integration was performed.

I am sure there may be some failures in other setups. I'll try to update Firefox to 74.0 asap and test again, for example.

I am willing to accept any proposal to consistently guarantee a meaningful test matrix, this cannot be left to the goodwill of the developers.

@muxator muxator added the tests label Mar 12, 2020
@JohnMcLear
Copy link
Member Author

JohnMcLear commented Mar 15, 2020

Failure is due to "colibris" skin. Switching to no-skin passes test

@seballot
@pkrasicki

Tested in Chrome.
@seballot can you self assign please as you are resolving issues in #3697

@seballot
Copy link
Contributor

Hi ! cannot self assign, do not have the proper rights, but yes I can have a look !

@muxator
Copy link
Contributor

muxator commented Mar 16, 2020

I have updated to Firefox 74 (Etherpad 1.8.0).
I can confirm the scroll test started failing for me, too. It worked with Firefox 73.

Obviously the changelog for Firefox 74 does not readily mention anything regarding the reason for this failure.

@seballot
Copy link
Contributor

Mmmm, I had a look. The behaviour of colibris is good (same as for no-skin) re this scrolling requirement when a line is higher than viewport, the problem come from the test...

Don't know why, when setting up the test scroll.js line 294 the scrollEditorToLeaveTopAndBottomOfBigLineOutOfViewport($bigLine); does not work with colibris, the page is still scroll to Top, and the selector is in first position of the document.

I tried to fix quickly, but without success sorry, and I prefer dedicate my time to fix real issue :)

Will try the mobile toolbar now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants