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

CV Publish #948

Merged
merged 14 commits into from
Oct 18, 2023
Merged

CV Publish #948

merged 14 commits into from
Oct 18, 2023

Conversation

sambible
Copy link
Contributor

Recut some stuff in my previous PR, this should constitute a minimally viable Publish workflow.

There is some additional stuff, like an expansive Edit view, but that's required for checking the Versions Tab.

Sister Robottelo PR ( much easier to review, hah ) :SatelliteQE/robottelo#12328

@sambible sambible added CherryPick PR needs CherryPick to previous branches 6.13.z 6.14.z labels Aug 30, 2023
@sambible sambible requested review from omkarkhatavkar, mstrlc and a team August 30, 2023 14:37

from airgun.entities.base import BaseEntity
from airgun.navigation import NavigateStep
from airgun.navigation import navigator
from airgun.utils import retry_navigation
from airgun.views.contentview_new import NewContentViewCreateView
from airgun.views.contentview_new import NewContentViewTableView
from airgun.views.contentview_new import NewContentViewEditView

Choose a reason for hiding this comment

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

If this is only Content View and the older one is absolute, I think we can rename this to ContentView instead of adding New prefix

airgun/widgets.py Outdated Show resolved Hide resolved
Comment on lines 2065 to 2069
def is_completed(self):
"""Boolean value whether progress bar is finished or not"""
if not self.is_active and self.progress == '100%':
return True
return False

Choose a reason for hiding this comment

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

There is no need to write this as this is same as the parent method, object will have the reference for this

Comment on lines 2050 to 2055
def __init__(self, parent, locator=None, logger=None):
"""Provide common progress bar locator if it wasn't specified."""
Widget.__init__(self, parent, logger=logger)
if not locator:
locator = self.PROGRESSBAR
self.locator = locator

Choose a reason for hiding this comment

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

This is also not needed as it is same as parent class

airgun/widgets.py Outdated Show resolved Hide resolved
@omkarkhatavkar
Copy link

@sambible I provided some suggestions mostly easy ones. Please let me know your thoughts

@omkarkhatavkar
Copy link

@sambible I see some conflicts here can you please resolve them

@sambible
Copy link
Contributor Author

@omkarkhatavkar merged everything proper and fixed issues

@mstrlc
Copy link
Contributor

mstrlc commented Sep 19, 2023

Are you able to run the new code formatter locally? Should save you from some nasty merge conflicts.

@sambible
Copy link
Contributor Author

@omkarkhatavkar @mstrlc ran ruff on it, hopefully CI quality should be happy now.

@omkarkhatavkar
Copy link

@sambible can you please fix the CI code quality error

@sambible
Copy link
Contributor Author

Alright, took some massaging, but it's ready to merge @omkarkhatavkar

@omkarkhatavkar omkarkhatavkar requested a review from a team September 29, 2023 09:27
@omkarkhatavkar
Copy link

@sambible I need one more ack to merge this.

@sambible
Copy link
Contributor Author

@lhellebr you had a lot of good comments over in my newer PR, can I get you to review the same changes over here? We can get this merged then, and it should shrink down my blank page PR :)

@sambible
Copy link
Contributor Author

(that PR was based off this, since I needed parts of this PR to make the test work, but it hadn't been merged yet)

Copy link

@omkarkhatavkar omkarkhatavkar left a comment

Choose a reason for hiding this comment

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

ACK

@omkarkhatavkar omkarkhatavkar requested a review from a team October 18, 2023 12:25
@omkarkhatavkar omkarkhatavkar merged commit 529749b into SatelliteQE:master Oct 18, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z 6.14.z CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants