-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Archive Migration] x-pack-banners/multispace #135783
[Archive Migration] x-pack-banners/multispace #135783
Conversation
Pinging @elastic/kibana-qa (Team:QA) |
@wayneseymour I don't think that kbn_archive really does anything for this test. It only contains a config saved object and Kibana would have already created a config object when it starts (and will ignore the one you load). |
I'm trying it locally without the kbn_archive |
Interesting that this test won't pass for me locally. It fails here because the save button doesn't appear on the page after changing the banner text in advanced settings;
|
I'm also getting tons of this error in the server log while running the test. I don't see any reason for this test to change the default route for the space. It doesn't seem to have anything to do with the test.
|
I'm not sure how the test passes in CI, but locally it doesn't seem to work as the tests describe. The difference is mainly on the last test 'displays the global banner on the login page' where instead of displaying the global banner, it actually displays the default space banner. Steps to reproduce:
Either this is a bug, or the test is incorrect? |
It appears that these tests are not running in buildkite. If you go to the passing buildkite job and look at Pick Test Group Run Order. .buildkite/scripts/steps/test/pick_test_group_run_order.sh and then at and then look for the test path |
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.
buildkite doesn't seem to be running these tests. There's some ftr config somewhere that it's probably missing from.
It's in the section here labeled # Configs that exist but weren't running in CI when this file was introduced
https://github.com/elastic/kibana/blob/main/.buildkite/ftr_configs.yml#L52
Pinging @elastic/kibana-core (Team:Core) |
Yeah, now I see it is defined within the |
Looks like @pgayvallet added these tests in #94449 a little over a year ago. Things have change since then quite a bit from Jenkins to Buildkite and how we run tests. But I think there still would have been some config file change to add the |
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.
Just putting a safety block (given I previously approved) so we don't forget about that:
without quotes in the config
I could have sworn this test was a duplicate. Am I crazy? lol |
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.
Canyou change back from global_banner_text
to global banner text
as was originally in the test?
Nope. See #140688 (comment) |
Couldn't this PR just add the double-quotes here and include in this PR? https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/bin/scripts/kibana#L29 Or we want to do that in a separate PR? |
We can, yes (even if I'm not sure to see the issue using a string without whitespaces in our FTR tests) |
"global banner text"
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.
LGTM
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.
LGTM when the duplicate test suite has been removed from .buildkite/ftr_configs.yml
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Summary
I've the before() fn loading the new kbn archive
containing one config, for the default space.
Then, the fn creates a new space and changes the ui settings of this new space,
w/o using an archive.
Helps with: #102552
Bugs Filed:
#140307
#140309