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
Select yast development pattern only #15693
Select yast development pattern only #15693
Conversation
df80d41
to
b993499
Compare
@lemon-suse could we apply solution in #15675 here ? For patterns we will not need The result should be clean and simple. We can refactor those in the future and send the key to locate by test data, but for now two test modules fits well.wdyt? |
162846c
to
8acc6eb
Compare
Ok, updated. The new VR: http://openqa.nue.suse.com/tests/9775751#step/select_visible_patterns_from_bottom/12 |
e233505
to
e7b098c
Compare
91f7c31
to
89680e4
Compare
89680e4
to
11e0daa
Compare
11e0daa
to
e524dcd
Compare
$self->go_to_patterns(); | ||
my @patterns = grep($_, split(/,/, get_required_var('PATTERNS'))); | ||
# delete special 'default' key from the check | ||
@patterns = grep { $_ ne 'default' } @patterns; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need this line, we should remove 'default' from settings via MR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically yes, however someone checking the settings can interpret that "PATTERNS=yast_develpoment" may mean only yast development, and not default patterns, as all other tests using that variable specify it otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
our way is to check the name of the test module, if we pass as settings or test data is just by our own convenience, we have tests/installation/select_only_visible_patterns_from_top.pm
for disambiguation with only
in the name.
To reduce the execution time for select yast development only, go to the end of pattern list to select yast development pattern directly.
Related ticket: https://progress.opensuse.org/issues/108380
Needles: N/A
Verification run:
https://openqa.nue.suse.com/tests/9822934#step/select_visible_patterns_from_bottom/10
https://openqa.nue.suse.com/tests/9826557#
https://openqa.nue.suse.com/tests/9826030#details
https://openqa.nue.suse.com/tests/9826048#details
https://openqa.nue.suse.com/tests/9826554#