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

Testing #76

Open
sabbaka opened this issue Jan 11, 2018 · 4 comments
Open

Testing #76

sabbaka opened this issue Jan 11, 2018 · 4 comments

Comments

@sabbaka
Copy link

sabbaka commented Jan 11, 2018

Create test coverage of our code. This issue will be more like just overview and starting to dig into testing in terms of Cockpit.

@sabbaka sabbaka added this to the First release milestone Jan 11, 2018
@sabbaka
Copy link
Author

sabbaka commented Jan 11, 2018

Required me to finish #45 to properly run ./bots/image-prepare it was not working on our version.

@sabbaka
Copy link
Author

sabbaka commented Jan 15, 2018

We'll need to edit tools/cockpit.spec to make ./bots/image-prepare work

@sabbaka
Copy link
Author

sabbaka commented Jan 15, 2018

Probably, previous "successfully" test runs with running images for re-based session recording was not working actually.

@sabbaka
Copy link
Author

sabbaka commented Jan 19, 2018

I'm still working on testing now. As for status update - I've install tlog manually to fedora-27 VM. So, the first test is checking that tlog is not installed on VM, this test is valid only for everything else, except Fedora 27 ( because we do have tlog there ) and it's also possible to install tlog on Fedora 27 of course.
So, second test I'm working on now is to check datetimepicker, idea is to click on calendar button to see the pop up appears and with this one I'm a bit stuck - it just does not click the button as I see from screeshot created on test fail.
Though, I've asked on cockpit's IRC channel how to exclude all platforms except Fedora from test run by using decorator. That is needed to test against Fedora 27 only which has manually installed tlog for now.
To make tlog present in VM's image, we'll need to modify bots/images/scripts/fedora-27.setup, I've also tried to this once, it did not work, so I will figure out this later.

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

No branches or pull requests

1 participant