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 issue #871 and #859 #873

Merged
merged 28 commits into from
Dec 24, 2019
Merged

fix issue #871 and #859 #873

merged 28 commits into from
Dec 24, 2019

Conversation

Mubra
Copy link
Member

@Mubra Mubra commented Oct 9, 2019

closes #871 , by using a variable referring to the selected object through the "on" event

This same closes #859 using the same method

I am waiting for comments to add this to the file "CHANGES.rst"

@idgserpro
Copy link
Member

@Mubra thanks for the PR! Please add closes #xxx on description.

@Mubra
Copy link
Member Author

Mubra commented Oct 15, 2019

hi @idgserpro I opened a topic:
https://community.plone.org/t/error-in-travis-when-correcting-errors-in-collective-cover/10389

To see if this helps solve problems with "travis"

Copy link
Member

@idgserpro idgserpro left a comment

Choose a reason for hiding this comment

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

Tests are failing. I can now see that there is no error in the console when resizing the column. Please try adding tests for column resizing.

@idgserpro
Copy link
Member

Please add entries in changes.

@idgserpro
Copy link
Member

@Mubra we already have column delete testing. See:

Delete a Column in the First Row
Delete the First Row
Count Number of Columns 3

This test is really failing but it doesn't make the build fail because this is tagged with Mandelbug:

This was done by @hvelarde on 3f3bbbd

I think this tag can be removed as it's hide an error.

@Mubra
Copy link
Member Author

Mubra commented Oct 21, 2019

Thank you @idgserpro very much for the comment, I will work on this test to make it happen, and to be able to add the corresponding change in this "PR", I only comment that the tests work in my local environment, I thank you for your support and comments. Working ...

@Mubra
Copy link
Member Author

Mubra commented Oct 21, 2019

This is the error I say, I just ran just "test_layout.robot" and it runs perfectly, this errorr, is the one that commented that is fixed with the comments in "Plone Community"

@Mubra
Copy link
Member Author

Mubra commented Oct 22, 2019

Ready 🔨 @idgserpro

CHANGES.rst Outdated Show resolved Hide resolved
@idgserpro
Copy link
Member

@Mubra please, make rebase with master to see how the tests behave.

Also remove the Mandelbug tag from test_layout.robot to see if this PR fix this test.

Try adding tests for column resizing.

@Mubra
Copy link
Member Author

Mubra commented Oct 24, 2019

Hi @idgserpro I do not know what you mean by "make rebase with master" and add a test that works correctly where apart from the resize, I try in general a "fast" functionality

@idgserpro
Copy link
Member

idgserpro commented Oct 24, 2019

@Mubra make rebase is basically bringing master commits to your branch. Take a look here.

You will basically have do:

cd collective.cover
git checkout fix_issue_871
git fetch origin
git rebase origin/master
git push -f

If there is conflict, you'll need to resolve.

@Mubra
Copy link
Member Author

Mubra commented Oct 25, 2019

good night @idgserpro , the errors marked in travis, are alien to my changes, download a clean installation of collective (master) run the tests and indeed, the tests work now without the need of the environment variables I used before, but the following errors
[error one ](https://travis-ci.org/collective/collective.cover/jobs/602961639#L1763
[error two ](https://travis-ci.org/collective/collective.cover/jobs/602961639#L1776
They show up without my changes,
adding my test "test_layour_resize.robot" in the same installation, it does not generate errors, here my log:
git

CHANGES.rst Outdated Show resolved Hide resolved
src/collective/cover/tests/test_layout_resize.robot Outdated Show resolved Hide resolved
src/collective/cover/tests/test_layout_resize.robot Outdated Show resolved Hide resolved
src/collective/cover/tests/test_layout_resize.robot Outdated Show resolved Hide resolved
src/collective/cover/tests/test_layout_resize.robot Outdated Show resolved Hide resolved
@idgserpro
Copy link
Member

They show up without my changes,
adding my test "test_layour_resize.robot" in the same installation, it does not generate errors, here my log:

The strange thing's that your test failed all Travis jobs. This doesn't seem to be a Mandelbug. If the tests didn't fail locally, it could be a firefox version difference. However, as I said in the comments above, you don't have to do this test here.

@idgserpro
Copy link
Member

Now we can see that this PR fix the row/column delete test. However, the Mandelbug continues. I'am on favor of removing the Mandelbug tag. The test caught the error but no one see it because of the Mandelbug tag. See #873 (comment) . When we are in a hurry, we only check if the job is green. We have the option to restart the job on error.

@hvelarde @rodfersou opinions?

@Mubra
Copy link
Member Author

Mubra commented Nov 20, 2019

Hello @idgserpro , I am very sorry for the time, but retaking this case, the errors shown in the travis log, I can not replicate them, I do not know if maybe they changed the settings or the resolution in which the tests are executed this errorr,

@idgserpro
Copy link
Member

@Mubra see my comments above. You don't have to repeat all the test_layout.robot code here. You can remove the lines after 28. Then you need to check if resize worked.

@Mubra
Copy link
Member Author

Mubra commented Dec 19, 2019

@idgserpro Good day.

@idgserpro
Copy link
Member

@Mubra can you please fix coveralls error? See:

collective/sc.social.like@c3e591f

@Mubra
Copy link
Member Author

Mubra commented Dec 20, 2019

@Mubra can you please fix coveralls error? See:

collective/sc.social.like@c3e591f

ok, i check it

@hvelarde
Copy link
Member

@idgserpro that's a different issue (#877) that must be addressed on another PR.

@hvelarde hvelarde merged commit a92bc36 into master Dec 24, 2019
@hvelarde hvelarde deleted the fix_issue_871 branch December 24, 2019 18:27
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.

Error deleting previously saved items slide control error
3 participants